Use debug cmake build type to avoid building error

This commit is contained in:
AurelienUoU 2019-06-03 15:34:26 -06:00
parent 6974a4618f
commit eb72cb201c
3 changed files with 7 additions and 7 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

@ -36,8 +36,8 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
# Install header files in Mojave, if not gcc-4.9 cannot spot stdio.h
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
else
# For linux, we use g++-6 and gcc-6 as default compilers
export CC=gcc-6
export CXX=g++-6
# For linux, we use g++-8 and gcc-8 as default compilers
export CC=gcc-8
export CXX=g++-8
fi

View File

@ -18,7 +18,7 @@ else
mkdir build
cd build
cmake --version
cmake .. #-DCMAKE_BUILD_TYPE=debug
cmake .. -DCMAKE_BUILD_TYPE=debug
make -j16
fi
end_section "OpenFPGA.build"