Skip to content

Commit

Permalink
[CI] Upgrade sccache version to 0.7.* (#16366)
Browse files Browse the repository at this point in the history
* [CI] Upgrade sccache version to 0.7.*

Sccache was previously pinned at version 0.3.3, however, there has
recently been an issue when installing some of its dependencies:

```
error[E0277]: expected a `Fn(reqwest::Request, &'a mut task_local_extensions::extensions::Extensions, reqwest_middleware::Next<'a>)` closure, found `RetryAfterMiddleware`
```

Upgrading the version of sccache to the latest seems to resolve this
error.

* Use an alternative mirror for boost artifacts

The JFrog artifactory link is down, so changing to an alternative
mirror mentioned in boostorg/boost#842.
  • Loading branch information
lhutton1 authored Jan 10, 2024
1 parent 9d483d4 commit 3166366
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/install/ubuntu_install_boost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ trap cleanup 0
# NOTE: by default, tvm-venv python is used. Install boost on the system.
PATH=${PATH/${TVM_VENV}\/bin:/}

curl -LO https://boostorg.jfrog.io/artifactory/main/release/1.67.0/source/boost_1_67_0.tar.gz
curl -LO https://archives.boost.io/release/1.67.0/source/boost_1_67_0.tar.gz
BOOST_HASH=8c247e040303a97895cee9c9407ef205e2c3ab09f0b8320997835ad6221dff23a87231629498ccfd0acca473f74e9ec27b8bd774707b062228df1e5f72d44c92
echo "$BOOST_HASH" boost_1_67_0.tar.gz | sha512sum -c
tar -xf boost_1_67_0.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion docker/install/ubuntu_install_sccache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set -e
set -u
set -o pipefail

cargo install --version 0.3.3 sccache
cargo install --version 0.7.* sccache

# The docs specifically recommend hard links: https://github.com/mozilla/sccache#known-caveats
mkdir /opt/sccache
Expand Down

0 comments on commit 3166366

Please sign in to comment.