diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-12-14 17:08:36 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-12-14 18:59:38 +0100 |
commit | 659e36b113158ba9870e201dab7098888bf9d275 (patch) | |
tree | 1c8bf23cc0554c63a6bb7f4214348325330f781f /.ci/script.sh | |
parent | Clear appveyor cache (diff) | |
download | nheko-659e36b113158ba9870e201dab7098888bf9d275.tar.xz |
Update to c++17
Diffstat (limited to '.ci/script.sh')
-rwxr-xr-x | .ci/script.sh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/.ci/script.sh b/.ci/script.sh index 06536278..7e9a8d81 100755 --- a/.ci/script.sh +++ b/.ci/script.sh @@ -3,17 +3,9 @@ set -ex if [ "$TRAVIS_OS_NAME" = "linux" ]; then - export CC=${C_COMPILER} - export CXX=${CXX_COMPILER} # make build use all available cores export CMAKE_BUILD_PARALLEL_LEVEL=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l) - sudo update-alternatives --install /usr/bin/gcc gcc "/usr/bin/${C_COMPILER}" 10 - sudo update-alternatives --install /usr/bin/g++ g++ "/usr/bin/${CXX_COMPILER}" 10 - - sudo update-alternatives --set gcc "/usr/bin/${C_COMPILER}" - sudo update-alternatives --set g++ "/usr/bin/${CXX_COMPILER}" - export PATH="/usr/local/bin/:${PATH}" cmake --version fi |