This repository allow to separately build "FileCheck" and "llvm-lit" from LLVM as stand-alone tools. It has "llvm-mirror/llvm" as sub-module and a custom "CMakeLists.txt" to separately build and install the two programs.
To compile the TestingTools you need an host Clang/LLVM version >= 3.9, a CMake version >= 3.4.3.
Ninja build system is preferred. For more information how to obtain Ninja visit https://martine.github.io/ninja.
git clone --recursive [email protected]:PRUNERS/TestingTools.git
cd TestingTools
mkdir build && cd build
cmake -G Ninja \
-D CMAKE_CXX_COMPILER=clang++ \
-D CMAKE_INSTALL_PREFIX:PATH=/install/path \
-DCMAKE_CXX_FLAGS="-fno-rtti" \
..
ninja && ninja install