function to add tbb with debug
parent
88005a99a1
commit
80fc06cad7
14
.travis.sh
14
.travis.sh
|
@ -1,5 +1,17 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# install TBB with _debug.so files
|
||||||
|
function install_tbb()
|
||||||
|
{
|
||||||
|
wget https://github.com/oneapi-src/oneTBB/releases/download/4.4.5/tbb44_20160526oss_lin.tgz
|
||||||
|
if [ $(uname -s) == "Linux"]; then
|
||||||
|
tar -xvf tbb44_20160526oss_lin.tgz
|
||||||
|
elif [ $(uname -s) == "Linux" ]; then
|
||||||
|
tar -xvf tbb44_20160526oss_mac.tgz
|
||||||
|
fi
|
||||||
|
source tbb44_20160526oss/bin/tbbvars.sh intel64 linux auto_tbbroot
|
||||||
|
}
|
||||||
|
|
||||||
# common tasks before either build or test
|
# common tasks before either build or test
|
||||||
function configure()
|
function configure()
|
||||||
{
|
{
|
||||||
|
@ -19,6 +31,8 @@ function configure()
|
||||||
export CXX=g++-$GCC_VERSION
|
export CXX=g++-$GCC_VERSION
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
install_tbb
|
||||||
|
|
||||||
# GTSAM_BUILD_WITH_MARCH_NATIVE=OFF: to avoid crashes in builder VMs
|
# GTSAM_BUILD_WITH_MARCH_NATIVE=OFF: to avoid crashes in builder VMs
|
||||||
cmake $SOURCE_DIR \
|
cmake $SOURCE_DIR \
|
||||||
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Debug} \
|
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Debug} \
|
||||||
|
|
Loading…
Reference in New Issue