aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-06-07 05:38:38 +0200
committerSven Gothel <[email protected]>2021-06-07 05:38:38 +0200
commitcd19b0e0661fc1ff6014317cc5ba97f8878ac73a (patch)
tree2e22dc83d467293864b9ef2fd446c4d44fcce538 /scripts/build.sh
parent7e0bfc56c1bd4cc70b16d3aaef786c5e6517c75c (diff)
Use local catch2 build (w/ rtti as required by botan); No need to subdir into jaulibv0.1.0
Diffstat (limited to 'scripts/build.sh')
-rw-r--r--scripts/build.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 1861cf6..6009fdc 100644
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -34,8 +34,10 @@ buildit() {
mkdir -p build-$archabi
cd build-$archabi
# CLANG_ARGS="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++"
- # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON ..
- cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DDEBUG=ON ..
+
+ cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON ..
+ #cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DDEBUG=ON ..
+
# 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 -DUSE_STRIP=OFF ..
# cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DUSE_STRIP=ON -DJAVAC_DEBUG_ARGS="none" ..
@@ -45,7 +47,7 @@ buildit() {
# cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DDEBUG=ON -DINSTRUMENTATION=ON ..
# cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DDEBUG=ON -DINSTRUMENTATION_UNDEFINED=ON ..
# cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DDEBUG=ON -DINSTRUMENTATION_THREAD=ON ..
- make -j $CPU_COUNT install all
+ make -j $CPU_COUNT install test
if [ $? -eq 0 ] ; then
echo "BUILD SUCCESS $bname $archabi"
# cp -a examples/* $rootdir/dist-$archabi/bin