Administrators: Are PRs taking > 1 hr to run through Travis? If you look at the Travis logs is it building rocket-tools or verilator?
This is because someone committed a PR to master which bumped riscv-tools and/or verilator
and the master cache needs to be updated.
Note that the master cache expires after 28 days.
This is the procedure to follow to get things fast again.
Note we don't generally build on branch updates (e.g. to master), just PRs, which means that building the master cache
is a manual process when needed.
- Wait for the PR that is changing
rocket-toolsto go green. - Make sure you are logged into Travis. If you don't have the options below, try logging out and in again.
- On Travis, click
More Options -> Caches. - Click
Deletefor themastercache. This is necessary because otherwise the cache just accumulates versions of the tools. - On Travis, click
More Options -> Trigger Buildon the upper right. - Trigger a
masterbuild with a commit message like "manually triggering master build to rebuild cache".
If your PR already has a cache and you want to keep doing development with the old version of rocket-tools/verilator, no action is needed.
If you want to merge or rebase your PR on top of master with the new version of rocket-tools, you should delete your PR branch's local cache. Otherwise it will rebuild the branch cache instead of using master's cache. To do this:
- Wait for the previous steps to go through so that the
mastercache is done. - On Travis, click
More Options -> Cacheson the upper right. - Click
Deletefor your PR branch's cache. - Push updates to the PR as usual, it should download the new
mastercache.