diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -40,11 +40,12 @@ Testing - To build test binaries as well, run `cmake -DBUILD_TESTS=OFF .` and after run `make tests` to run them, or you can run separate binaries. - To use code sanitizers use: - - cmake . -DSANITIZE_ADDRESS=ON - - cmake . -DSANITIZE_MEMORY=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ - - cmake . -DSANITIZE_THREAD=ON - - cmake . -DSANITIZE_UNDEFINED=ON - + - `cmake . -DSANITIZE_ADDRESS=ON` + - `cmake . -DSANITIZE_MEMORY=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++` + - `cmake . -DSANITIZE_THREAD=ON` + - `cmake . -DSANITIZE_UNDEFINED=ON` + - Running valgrind example `valgrind --leak-check=yes --tool=memcheck ./nextpnr-ice40 --json ice40/blinky.json` + Running -------- |