Permalink
Browse files

Merge pull request #1211 from R1dO/fix-travis-ccache-clang-warnings

Fix travis ccache clang warnings
  • Loading branch information...
SupSuper committed Nov 15, 2018
2 parents 07cc049 + be22322 commit cee208646bbe0dba023613651e9dc4ab2ece6bda
Showing with 2 additions and 1 deletion.
  1. +1 −0 .travis.yml
  2. +1 −1 scripts/compile_YAML-CPP.travis
@@ -29,6 +29,7 @@ before_install:
- if [ $TRAVIS_OS_NAME == linux ]; then mkdir $TRAVIS_BUILD_DIR/dependency-prefix; fi
- if [ $TRAVIS_OS_NAME == linux ]; then export PKG_CONFIG_PATH=$TRAVIS_BUILD_DIR/dependency-prefix/lib/pkgconfig; fi
- if [ $TRAVIS_OS_NAME == osx ]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
- if [ $TRAVIS_OS_NAME == linux ] && [ $TRAVIS_COMPILER == clang ]; then export CCACHE_CPP2=yes; fi
install:
- if [ $TRAVIS_OS_NAME == linux ]; then bash scripts/compile_YAML-CPP.travis; fi
@@ -5,7 +5,7 @@ CMAKE_OPTIONS=(
-DCMAKE_BUILD_TYPE="${BUILD_TYPE}"
-DYAML_CPP_BUILD_CONTRIB=FALSE
-DYAML_CPP_BUILD_TOOLS=FALSE
-DYAML_CPP_BUILD_TESTS=NO
-DYAML_CPP_BUILD_TESTS=FALSE
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
)

0 comments on commit cee2086

Please sign in to comment.