Commit 4c90bf16 authored by Stefan Behnel's avatar Stefan Behnel

Explicitly enable ccache in travis build.

parent 0066fa01
......@@ -115,11 +115,11 @@ before_install:
sudo apt-get install gcc-8 $(if [ "$BACKEND" = cpp ]; then echo -n "g++-8"; fi )
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60
sudo update-alternatives --set gcc /usr/bin/gcc-8
export CC=gcc-8
export CC="ccache gcc-8"
if [ "$BACKEND" = cpp ]; then
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 60
sudo update-alternatives --set g++ /usr/bin/g++-8
export CXX=g++-8
export CXX="ccache g++-8"
fi
if [ -n "$CC" ]; then "$CC" --version; else gcc --version; fi
if [ -n "$CXX" ]; then "$CXX" --version; else g++ --version; fi
......
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