mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-01 03:00:13 -04:00
Update index.rst
This commit is contained in:
@@ -14,12 +14,16 @@ Address Sanitizer
|
||||
1. Clang >3.6, build from source on linux following instructions
|
||||
2. Check out CoolProp using git:
|
||||
|
||||
git clone https://github.com/CoolProp/CoolProp --recursive
|
||||
git clone https://github.com/CoolProp/CoolProp --recursive
|
||||
|
||||
3. cd CoolProp
|
||||
4. mkdir build/asan && cd build/asan
|
||||
5. sudo ln -s /path/to/your/clang/bin/clang /usr/bin/clang36
|
||||
5. CC=clang36 CXX=clang36 cmake ../.. -DCOOLPROP_CLANG_ADDRESS_SANITIZER
|
||||
6. ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-3.5 ASAN_OPTIONS=verbosity=1 ./CatchTestRunner
|
||||
3. ``cd CoolProp``
|
||||
|
||||
The verbosity=1 is to make sure that ASAN is actually running
|
||||
4. ``mkdir build/asan && cd build/asan``
|
||||
|
||||
5. ``sudo ln -s /path/to/your/clang/bin/clang /usr/bin/clang36``
|
||||
|
||||
6. ``CC=clang36 CXX=clang36 cmake ../.. -DCOOLPROP_CLANG_ADDRESS_SANITIZER``
|
||||
|
||||
7. ``ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-3.5 ASAN_OPTIONS=verbosity=1 ./CatchTestRunner``
|
||||
|
||||
The ``verbosity=1`` is to make sure that ASAN is actually running
|
||||
|
||||
Reference in New Issue
Block a user