Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.15 KB

README.org

File metadata and controls

38 lines (32 loc) · 1.15 KB

1 Description

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.

2 Prerequisites

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.

3 Installation

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