Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.14 KB

File metadata and controls

46 lines (33 loc) · 1.14 KB

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.

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.

Installation

git clone --recursive git@github.com: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