diff options
author | Sven Gothel <[email protected]> | 2022-11-27 10:43:22 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-11-27 10:43:22 +0100 |
commit | 6075d14736bdc87fc1b2e4a5a9ac31bd07b11c78 (patch) | |
tree | 95c0f13c4e4c30472b6707b6d22f14eaa09e3276 /scripts | |
parent | 0cab133c4ced3155e9e8eef8ddf12ccc57e156bd (diff) |
clang-tidy and vscode: Provision w/ initial config (tested by jaulib)
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 4c390909..856273d8 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -39,8 +39,10 @@ buildit() { mkdir -p $build_dir cd $build_dir # CLANG_ARGS="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++" + # CLANG_ARGS="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_CXX_CLANG_TIDY=/usr/bin/clang-tidy;-p;$rootdir/$build_dir" cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/$dist_dir -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TRIAL=ON .. + # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/$dist_dir -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TRIAL=ON -DDEBUG=ON .. # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/$dist_dir -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TRIAL=ON -DUSE_LIBUNWIND=ON .. @@ -53,7 +55,7 @@ buildit() { # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/$dist_dir -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TRIAL=ON -DDEBUG=ON -DINSTRUMENTATION=ON .. # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/$dist_dir -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TRIAL=ON -DDEBUG=ON -DINSTRUMENTATION_UNDEFINED=ON .. # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/$dist_dir -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TRIAL=ON -DDEBUG=ON -DINSTRUMENTATION_THREAD=ON .. - make -j $CPU_COUNT install + time make -j $CPU_COUNT install if [ $? -eq 0 ] ; then echo "BUILD SUCCESS $bname $os_name $archabi" cd $rootdir |