An attempt to build LLVM FileCheck without pulling in the whole LLVM Project together with its utils.
FileCheck uses many components from the LLVM monorepo. Getting a build of FileCheck usually involves pulling and building parts of LLVM, which is not a trivial task to do.
This repository contains just the necessary parts to build FileCheck and its dependencies.
A C++14 compiler and CMake is required.
cmake -S . -B builddir -DCMAKE_BUILD_TYPE=Release
cmake --build builddirThe script sync_from_upstream.sh copies the sources from the LLVM Project's root directory:
./sync_from_upstream.sh path/to/the/llvm/repoThe script just copies the sources and headers.
Expect that an update will probably require manual fixes to the provided CMakeLists.txt files.