diff options
author | Sven Gothel <[email protected]> | 2021-03-02 04:43:06 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-03-02 04:43:06 +0100 |
commit | 104f4d9c3f6ee703c4b5633249d23c8391d12a41 (patch) | |
tree | 13e1042296cd352a4d32547b6bf269d7c8ce630a /scripts | |
parent | 8185e020ddc8d62670e4093b4656d3791df28370 (diff) |
Fix initial setup
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build.sh | 5 | ||||
-rw-r--r-- | scripts/rebuild.sh | 2 |
2 files changed, 4 insertions, 3 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 diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh index 7155f58..e470a4c 100644 --- a/scripts/rebuild.sh +++ b/scripts/rebuild.sh @@ -29,7 +29,7 @@ buildit() { make -j $CPU_COUNT install test if [ $? -eq 0 ] ; then echo "REBUILD SUCCESS $bname $archabi" - cp -a examples/* $rootdir/dist-$archabi/bin + # cp -a examples/* $rootdir/dist-$archabi/bin cd $rootdir return 0 else |