summaryrefslogtreecommitdiff
path: root/.jenkins
diff options
context:
space:
mode:
authorEdward Yang <ezyang@fb.com>2018-12-12 07:57:54 -0800
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2018-12-12 08:01:03 -0800
commit3ae684266a0a36b0842375fcf8e8476722fd2abe (patch)
tree32e1e1e3d80a1d5d30987f071c6fde58caa96f06 /.jenkins
parent00a4c8d41cf8a7504a4300b3fc741d8a4ccc5795 (diff)
downloadpytorch-3ae684266a0a36b0842375fcf8e8476722fd2abe.tar.gz
pytorch-3ae684266a0a36b0842375fcf8e8476722fd2abe.tar.bz2
pytorch-3ae684266a0a36b0842375fcf8e8476722fd2abe.zip
Don't setup x86_64-linux-gnu-gcc as an sccache wrapper. (#15078)
Summary: When I do this setup in a local Docker development environment, I get the following error: x86_64-linux-gnu-gcc: error trying to exec 'cc1plus': execvp: No such file or directory Somehow, gcc seems to get confused when it gets run from the wrong directory. Best not to do it. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/15078 Differential Revision: D13432143 Pulled By: ezyang fbshipit-source-id: b18e15f493503a4c8205c85f92a214e49762a7bc
Diffstat (limited to '.jenkins')
-rwxr-xr-x.jenkins/pytorch/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.jenkins/pytorch/build.sh b/.jenkins/pytorch/build.sh
index 5dd3e532b0..4aae2d587c 100755
--- a/.jenkins/pytorch/build.sh
+++ b/.jenkins/pytorch/build.sh
@@ -65,7 +65,7 @@ if [[ "$BUILD_ENVIRONMENT" == *rocm* ]]; then
fi
# Setup wrapper scripts
- for compiler in cc c++ gcc g++ x86_64-linux-gnu-gcc; do
+ for compiler in cc c++ gcc g++; do
(
echo "#!/bin/sh"
echo "exec $SCCACHE $(which $compiler) \"\$@\""