diff options
author | Sven Gothel <[email protected]> | 2021-01-04 08:48:52 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-01-04 08:48:52 +0100 |
commit | 1491b5529d0d3481bb55f3822a6dfd161526d763 (patch) | |
tree | 64a60f05af382297fa66cbcaca7b460cb6e5fb60 /scripts | |
parent | d2080133e97c8af35b70353c38b832de198b3fd1 (diff) |
Use clang++ as default for now
test 'sh scripts/test_cow_darray_perf01.sh --perf_analysis'
exposed that with
: g++ 10.2.1, jau::cow_darray<> is 2+ times faster than jau::std_array<>
: clang++ 11.0.0, jau::cow_darray<> is 3+ times faster than jau::std_array<>
Also: clang++ was detecting more spec violations, as fixed earlier.
Summary: Test with both more often
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index f9a7cd5..1e77dce 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -27,7 +27,7 @@ buildit() { rm -rf build-$archabi mkdir -p build-$archabi cd build-$archabi - # 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++" cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILD_TESTING=ON .. # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILD_TESTING=ON -DGPROF=ON .. # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILD_TESTING=ON -DPERF_ANALYSIS=ON .. |