Use debug cmake build type to avoid building error
This commit is contained in:
parent
6974a4618f
commit
eb72cb201c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue