Update build scripts, add valgrind support.
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
|
||||
set -eux
|
||||
|
||||
BUILD_TYPE="${BUILD_TYPE:-Debug}"
|
||||
|
||||
if [ "${USE_CLANG:-}" == "yes" ]
|
||||
then
|
||||
export CC=$(command -v clang)
|
||||
@@ -17,4 +19,4 @@ then
|
||||
fi
|
||||
|
||||
mkdir -p build && cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. && make all test && ctest
|
||||
cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} .. && make all test
|
||||
|
||||
Reference in New Issue
Block a user