Supress gcc warnings on OS X

This commit is contained in:
Soonho Kong 2013-09-04 03:41:57 -07:00
parent 5e603dbf9f
commit 6edf7f5b94
3 changed files with 8 additions and 5 deletions

View file

@ -13,17 +13,18 @@ before_script:
- cd build
- CPLUS_INCLUDE_PATH=/usr/local/include/c++/4.9.0/:/usr/local/include/c++/4.9.0/x86_64-apple-darwin12.4.0:/usr/local/include/c++/4.9.0/bits/
- export CPLUS_INCLUDE_PATH
- LIBRARY_PATH=/usr/local/lib
- LIBRARY_PATH=/usr/local/lib:/local/lib/gcc/x86_64-apple-darwin12.4.0/4.9.0/
- export LIBRARY_PATH
- cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_CXX_COMPILER=/usr/local/bin/${CMAKE_CXX_COMPILER} ../src -G Ninja
- cd ..
script:
- cd build
- ctest -D ExperimentalBuild
- ctest -D ExperimentalConfigure
- ctest -D ExperimentalBuild -VV
- yes "C" | ctest -D ExperimentalTest -VV
- if [[ $MEMCHECK == TRUE ]]; then
ctest -D ExperimentalMemCheck;
ctest -D ExperimentalMemCheck;
fi
- if [[ $PUSH_TO_CDASH == TRUE ]]; then
ctest -D ExperimentalSubmit;

View file

@ -27,7 +27,8 @@ script:
- LEAN_ROOT=`pwd`
- cd build
- cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} ../src -DCMAKE_TOOLCHAIN_FILE=/tmp/mxe/usr/x86_64-w64-mingw32/share/cmake/mxe-conf.cmake
- ctest -D ExperimentalBuild
- ctest -D ExperimentalConfigure
- ctest -D ExperimentalBuild -VV
- if [[ $PUSH_TO_CDASH == TRUE ]]; then
ctest -D ExperimentalSubmit;
fi

View file

@ -86,7 +86,8 @@ script:
- cd build
- cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} ../src
- if [[ $CMAKE_BUILD_TYPE == DEBUG || $CMAKE_BUILD_TYPE == RELEASE || $CMAKE_BUILD_TYPE == TESTCOV ]]; then
ctest -D ExperimentalBuild;
ctest -D ExperimentalConfigure;
ctest -D ExperimentalBuild -VV;
yes "C" | ctest -D ExperimentalTest -VV;
fi
- if [[ $CMAKE_BUILD_TYPE == TESTCOV ]]; then