OpenRace is an in development C/C++ data race detection tool.
This project aims to have a clean and extensible design to facilitate community contributions.
OpenRace is an open source implementation of the Coderrect Scanner which is a C/C++/Fortran data race detection tool. The open source tool is currently behind the original scanner in terms of feature support, but we are actively developing and expect OpenRace to eventually replace the closed source implementation of Coderrect Scanner.
Using conan to manage dependencies. Instructions to install conan can be found here.
To build, run the following:
mkdir build && cd build
conan install ..
cmake -DLLVM_DIR=$LLVM_DIR ..
make -j
Feel free to adjust cmake options as you see fit.
The only required option is LLVM_DIR
which should point to the directory containing LLVMConfig.cmake
for LLVM version 10.0.0 .
-
Project layout based on Pitchfork Layout
-
CMake guidelines based off of Effective Modern CMake
-
Conan usage based on Conan's CMake Docs