2019-04-10 02:24:37 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
source .travis/common.sh
|
|
|
|
set -e
|
|
|
|
|
|
|
|
$SPACER
|
|
|
|
|
|
|
|
start_section "OpenFPGA.build" "${GREEN}Building..${NC}"
|
|
|
|
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
2019-05-04 00:18:31 -05:00
|
|
|
#make
|
|
|
|
mkdir build
|
2019-05-04 00:24:08 -05:00
|
|
|
cd build
|
2019-06-07 23:38:21 -05:00
|
|
|
cmake .. -DCMAKE_BUILD_TYPE=debug -DENABLE_VPR_GRAPHICS=off
|
2019-05-04 00:18:31 -05:00
|
|
|
make -j2
|
2019-04-10 02:24:37 -05:00
|
|
|
else
|
|
|
|
# For linux, we enable full package compilation
|
2019-05-04 00:18:31 -05:00
|
|
|
#make
|
|
|
|
mkdir build
|
2019-05-04 00:24:08 -05:00
|
|
|
cd build
|
2019-06-03 12:16:39 -05:00
|
|
|
cmake --version
|
2019-06-03 16:34:26 -05:00
|
|
|
cmake .. -DCMAKE_BUILD_TYPE=debug
|
2019-06-07 23:32:47 -05:00
|
|
|
make -j16
|
2019-04-10 02:24:37 -05:00
|
|
|
fi
|
2019-05-15 17:55:18 -05:00
|
|
|
end_section "OpenFPGA.build"
|
2019-05-15 16:57:05 -05:00
|
|
|
|
2019-05-15 17:55:18 -05:00
|
|
|
$SPACER
|
2019-05-16 15:30:16 -05:00
|
|
|
|
2019-05-16 16:05:34 -05:00
|
|
|
cd -
|
2019-06-06 12:47:51 -05:00
|
|
|
./.travis/regression.sh
|
2019-05-17 16:22:04 -05:00
|
|
|
|
2019-05-31 12:00:30 -05:00
|
|
|
#cd fpga_flow
|
|
|
|
#./regression_fpga_flow.sh
|
|
|
|
#cd -
|