Skip to content

Commit f04298f

Browse files
committed
Use ccache for gcc on travis
1 parent d409006 commit f04298f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

ci/travis/linux/qt4/install.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ cd build
1818

1919
ln -s ${HOME}/osgeo4travis/bin/ccache ${HOME}/osgeo4travis/bin/clang++-${LLVM_VERSION}
2020
ln -s ${HOME}/osgeo4travis/bin/ccache ${HOME}/osgeo4travis/bin/clang-${LLVM_VERSION}
21+
ln -s ${HOME}/osgeo4travis/bin/ccache ${HOME}/osgeo4travis/bin/g++-6
22+
ln -s ${HOME}/osgeo4travis/bin/ccache ${HOME}/osgeo4travis/bin/gcc-6
2123

2224
ccache -s
2325

@@ -35,7 +37,10 @@ ${CXX} --version
3537
# CLANG_WARNINGS="-Wimplicit-fallthrough"
3638
CLANG_WARNINGS=""
3739

38-
cmake -DWITH_SERVER=ON \
40+
# Include this line for debug reasons
41+
# -DCMAKE_BUILD_TYPE=RelWithDebInfo \
42+
#
43+
cmake \
3944
-DCMAKE_PREFIX_PATH=/home/travis/osgeo4travis \
4045
-DWITH_STAGED_PLUGINS=ON \
4146
-DWITH_GRASS=ON \
@@ -46,6 +51,7 @@ cmake -DWITH_SERVER=ON \
4651
-DWITH_QWTPOLAR=OFF \
4752
-DWITH_APIDOC=ON \
4853
-DWITH_ASTYLE=ON \
54+
-DWITH_SERVER=ON \
4955
-DWITH_PYSPATIALITE=ON \
5056
-DGRASS_PREFIX7=/usr/lib/grass70 \
5157
-DGRASS_INCLUDE_DIR7=/usr/lib/grass70/include \

ci/travis/linux/qt5/install.sh

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ cd build
1818

1919
ln -s ${HOME}/osgeo4travis/bin/ccache ${HOME}/osgeo4travis/bin/clang++-${LLVM_VERSION}
2020
ln -s ${HOME}/osgeo4travis/bin/ccache ${HOME}/osgeo4travis/bin/clang-${LLVM_VERSION}
21+
ln -s ${HOME}/osgeo4travis/bin/ccache ${HOME}/osgeo4travis/bin/g++-6
22+
ln -s ${HOME}/osgeo4travis/bin/ccache ${HOME}/osgeo4travis/bin/gcc-6
2123

2224
ccache -s
2325

0 commit comments

Comments
 (0)