forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Laurent Thévenoux edited this page Dec 6, 2019
·
1 revision
This port is a work in progress aiming to bring Kalray Coolidge MPPA support to LLVM.
To build this fork of llvm-project
, you'll first need a GCC-based ClusterOS toolchain. It also depends on clang >= 5.0.1
, cmake3
, and ninja
.
Usual configuration is:
cd builddir
cmake -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ \
-DLLVM_DEFAULT_TARGET_TRIPLE=k1c-unknown-cos \
-DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_EXAMPLES=False \
-DLLVM_PARALLEL_LINK_JOBS=2 -DLLVM_USE_LINKER=gold \
-DLLVM_ENABLE_PROJECTS=clang \
path/to/llvm-project/llvm
Run cmake --build .
in builddir
.