Keep bug fixing for travis
This commit is contained in:
parent
d10c329c8a
commit
7c42119481
|
@ -81,7 +81,7 @@ script:
|
|||
- .travis/script.sh
|
||||
|
||||
after_failure:
|
||||
- echo "success"
|
||||
- .travis/after_failure.sh
|
||||
|
||||
after_success:
|
||||
- echo "failure"
|
||||
- .travis/after_success.sh
|
||||
|
|
|
@ -29,8 +29,8 @@ function end_section() {
|
|||
|
||||
# For Mac OS, we use g++ and gcc as default compilers
|
||||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
||||
export CC=gcc
|
||||
export CXX=g++
|
||||
export CC=gcc-4.9
|
||||
export CXX=g++-4.9
|
||||
# export PATH="/usr/local/opt/bison/bin:/usr/local/bin:$PATH"
|
||||
# export PATH="/usr/local/opt/qt/bin:$PATH"
|
||||
# Install header files in Mojave, if not gcc-4.9 cannot spot stdio.h
|
||||
|
|
|
@ -7,7 +7,7 @@ $SPACER
|
|||
|
||||
start_section "OpenFPGA.build" "${GREEN}Building..${NC}"
|
||||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
||||
make -j2
|
||||
make -j1
|
||||
else
|
||||
# For linux, we enable full package compilation
|
||||
make -j8
|
||||
|
@ -15,5 +15,3 @@ fi
|
|||
end_section "OpenFPGA.build"
|
||||
|
||||
$SPACER
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue