diff options
author | bartus | 2019-07-17 23:33:35 +0200 |
---|---|---|
committer | bartus | 2019-11-16 22:38:26 +0100 |
commit | c22e8d7e8759069373c17e675eb012bc5b72a9b8 (patch) | |
tree | 58658416a061b1766c7a892e506faefb50ddefd5 | |
parent | c2c92f8494dfb507d2c99fec2426e299d0b6b950 (diff) | |
download | aur-c22e8d7e8759069373c17e675eb012bc5b72a9b8.tar.gz |
Travis: fix illegal variabl name "g++" -> "gpp"
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 76f0bf6c4e98..6fc95a486a48 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,12 +44,12 @@ arch: # Incorporate ccache in nvcc - | _gcc="$(readlink /opt/cuda/bin/gcc)" - _g++="$(readlink /opt/cuda/bin/g++)" + _gpp="$(readlink /opt/cuda/bin/g++)" sudo mv /opt/cuda/bin/nvcc /opt/cuda/bin/nvcc.bin sudo rm /opt/cuda/bin/g{cc,++} echo -e "#!/bin/sh -\n/usr/bin/ccache /opt/cuda/bin/nvcc.bin \"\$@\"" | sudo dd of=/opt/cuda/bin/nvcc echo -e "#!/bin/sh -\n/usr/bin/ccache $_gcc \"\$@\"" | sudo dd of=/opt/cuda/bin/gcc - echo -e "#!/bin/sh -\n/usr/bin/ccache $_g++ \"\$@\"" | sudo dd of=/opt/cuda/bin/g++ + echo -e "#!/bin/sh -\n/usr/bin/ccache $_gpp \"\$@\"" | sudo dd of=/opt/cuda/bin/g++ sudo chmod +x /opt/cuda/bin/{nvcc,g{cc,++}} # Build - ccache -s |