Skip to content
Laurent Thévenoux edited this page Dec 6, 2019 · 1 revision

Kalray Coolidge fork of the llvm-project wiki!

This port is a work in progress aiming to bring Kalray Coolidge MPPA support to LLVM.

Build

Requirements

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.

Configuration

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

Build

Run cmake --build . in builddir.

Clone this wiki locally