aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-03-02 04:43:06 +0100
committerSven Gothel <[email protected]>2021-03-02 04:43:06 +0100
commit104f4d9c3f6ee703c4b5633249d23c8391d12a41 (patch)
tree13e1042296cd352a4d32547b6bf269d7c8ce630a /scripts/build.sh
parent8185e020ddc8d62670e4093b4656d3791df28370 (diff)
Fix initial setup
Diffstat (limited to 'scripts/build.sh')
-rw-r--r--scripts/build.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index b37ba3d..21d4d47 100644
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -34,7 +34,8 @@ 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 -DBUILD_TESTING=ON ..
+ # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILD_TESTING=ON ..
+ cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -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" ..
@@ -47,7 +48,7 @@ buildit() {
make -j $CPU_COUNT install test
if [ $? -eq 0 ] ; then
echo "BUILD SUCCESS $bname $archabi"
- cp -a examples/* $rootdir/dist-$archabi/bin
+ # cp -a examples/* $rootdir/dist-$archabi/bin
cd $rootdir
return 0
else