OpenFPGA/.travis/build.sh

22 lines
337 B
Bash
Raw Normal View History

#!/bin/bash
source .travis/common.sh
set -e
start_section "OpenFPGA.build" "${GREEN}Building..${NC}"
cd ${TRAVIS_BUILD_DIR}
mkdir build
cd build
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
2020-07-04 18:32:31 -05:00
cmake .. -DENABLE_VPR_GRAPHICS=off
else
2020-07-04 18:32:31 -05:00
cmake ..
fi
2020-06-11 19:33:47 -05:00
make -j16
# Return to upper directory
cd ${TRAVIS_BUILD_DIR}
end_section "OpenFPGA.build"