Administrators: Are PRs taking > 1 hr to run through Travis? If you look at the Travis logs is it building riscv-tools?
This is because someone committed a PR to master which bumped riscv-tools and the master cache needs to be updated.
This is the procedure to follow to get things fast again. We don't generally branch updates (e.g. to master), just PRs.
- Wait for the PR that is changing
riscv-toolsto go green. - On Travis, click
More Options -> Cacheson the upper right. - Click
Deletefor themasterCache. - Click
More Options->Settings - On the
General Settingssection, switch theBuild Branch Updatestoggle toON. - Perform the PR's merge to
master. This will cause themastercache to buildriscv-tools. - Once the merge commit goes green on Travis, switch the
Build Branch Updatestoggle toOFF.
If your PR already has a cache and you want to keep doing development with the old version of riscv-tools, no action is needed.
If you want to merge or rebase your PR on top of master with the new version of riscv-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.