File indexing completed on 2024-12-15 03:48:54

0001 #!/bin/bash
0002 
0003 if ! [ -d build_clang ]; then
0004         mkdir build_clang
0005 fi
0006 
0007 cd build_clang
0008 
0009 export CC=/usr/bin/clang
0010 export CXX=/usr/bin/clang++
0011 
0012 cmake .. -DCMAKE_BUILD_TYPE=DebugFull -DCMAKE_CXX_FLAGS="-D_GNU_SOURCE -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align -Wunreachable-code -fno-omit-frame-pointer -fstack-protector -fno-exceptions -fsanitize=address -fPIE" -DCMAKE_INSTALL_PREFIX=/usr && make -j 2