Skip to content

Commit bcc5828

Browse files
committed
+ remove comment / binary download
1 parent 6e1f4c1 commit bcc5828

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.ci/docker/common/install_cache.sh

-8
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ install_ubuntu() {
3434
rm -rf sccache
3535
apt-get remove -y cargo rustc
3636
apt-get autoclean && apt-get clean
37-
38-
echo "Downloading old sccache binary from S3 repo for PCH builds"
39-
curl --retry 3 https://s3.amazonaws.com/ossci-linux/sccache -o /opt/cache/bin/sccache-0.2.14a
40-
chmod 755 /opt/cache/bin/sccache-0.2.14a
4137
}
4238

4339
install_binary() {
@@ -50,10 +46,6 @@ mkdir -p /opt/cache/bin
5046
sed -e 's|PATH="\(.*\)"|PATH="/opt/cache/bin:\1"|g' -i /etc/environment
5147
export PATH="/opt/cache/bin:$PATH"
5248

53-
# NB: Install the pre-built binary from S3 as building from source
54-
# https://github.com/pytorch/sccache has started failing mysteriously
55-
# in which sccache server couldn't start with the following error:
56-
# sccache: error: Invalid argument (os error 22)
5749
install_ubuntu
5850

5951
function write_sccache_stub() {

0 commit comments

Comments
 (0)