aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-10-18 03:49:59 +0200
committerSven Gothel <[email protected]>2020-10-18 03:49:59 +0200
commit3fd240cb7d71fca43a51a0ea3421b5a154fce72f (patch)
tree012fe3018606ce17dea4b022fa7d800091e62043 /scripts/build.sh
parentdc552744614c998ceacebf4ed8a74277a75d2c6e (diff)
Build: Separate GCC sanitize flags from DEBUG=ON, enable via INSTRUMENTATION=ON
Diffstat (limited to 'scripts/build.sh')
-rw-r--r--scripts/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index ada53905..cd381fc1 100644
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -30,6 +30,7 @@ buildit() {
# CLANG_ARGS="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++"
cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON ..
# cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DDEBUG=ON ..
+ # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DDEBUG=ON -DINSTRUMENTATION=ON ..
make -j $CPU_COUNT install test
if [ $? -eq 0 ] ; then
echo "BUILD SUCCESS $bname $archabi"