Commit a7fec3e3 authored by Stefan Behnel's avatar Stefan Behnel

See that ccache is actually being used by travis.

parent d279612b
...@@ -118,8 +118,8 @@ before_install: ...@@ -118,8 +118,8 @@ before_install:
for i in {1..10}; do sudo apt-get update && sudo apt-get install --yes gcc-8 $(if [ "$BACKEND" = cpp ]; then echo -n "g++-8"; fi ) && break; sleep 2; done for i in {1..10}; do sudo apt-get update && sudo apt-get install --yes gcc-8 $(if [ "$BACKEND" = cpp ]; then echo -n "g++-8"; fi ) && break; sleep 2; done
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60 $(if [ "$BACKEND" = cpp ]; then echo " --slave /usr/bin/g++ g++ /usr/bin/g++-8"; fi) sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60 $(if [ "$BACKEND" = cpp ]; then echo " --slave /usr/bin/g++ g++ /usr/bin/g++-8"; fi)
sudo update-alternatives --set gcc /usr/bin/gcc-8 sudo update-alternatives --set gcc /usr/bin/gcc-8
export CC=gcc-8 export CC=gcc
if [ "$BACKEND" = cpp ]; then sudo update-alternatives --set g++ /usr/bin/g++-8; export CXX=g++-8; fi if [ "$BACKEND" = cpp ]; then sudo update-alternatives --set g++ /usr/bin/g++-8; export CXX=g++; fi
fi fi
- | - |
...@@ -134,8 +134,8 @@ before_install: ...@@ -134,8 +134,8 @@ before_install:
fi fi
fi fi
- if [ -n "$CC" ]; then $CC --version; fi - if [ -n "$CC" ]; then which $CC; $CC --version; fi
- if [ -n "$CXX" ]; then $CXX --version; fi - if [ -n "$CXX" ]; then which $CXX; $CXX --version; fi
- if [[ "$STACKLESS" == "true" ]]; then - if [[ "$STACKLESS" == "true" ]]; then
conda config --add channels stackless; conda config --add channels stackless;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment