update travis to use gcc8 and disable graphics for vpr when compile in osx

This commit is contained in:
tangxifan 2019-06-07 22:38:21 -06:00
parent e8d52121c6
commit 3ad4a33751
3 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ matrix:
- os: linux
# Compiler is specified in ./travis/common.sh
sudo: false
compiler: g++-6
compiler: g++-8
addons:
apt:
sources:
@ -33,8 +33,8 @@ matrix:
- doxygen
- flex
- fontconfig
- g++-6
- gcc-6
- g++-8
- gcc-8
- g++-4.9
- gcc-4.9
- gdb

View File

@ -37,7 +37,7 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
else
# For linux, we use g++-8 and gcc-8 as default compilers
export CC=gcc-6
export CXX=g++-6
export CC=gcc-8
export CXX=g++-8
fi

View File

@ -10,7 +10,7 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
#make
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=debug -ENABLE_VPR_GRAPHICS=off
cmake .. -DCMAKE_BUILD_TYPE=debug -DENABLE_VPR_GRAPHICS=off
make -j2
else
# For linux, we enable full package compilation