diff options
Diffstat (limited to 'old/strata/llvm-common')
-rw-r--r-- | old/strata/llvm-common/llvm.morph | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/old/strata/llvm-common/llvm.morph b/old/strata/llvm-common/llvm.morph new file mode 100644 index 00000000..08c32fa5 --- /dev/null +++ b/old/strata/llvm-common/llvm.morph @@ -0,0 +1,24 @@ +name: llvm +kind: chunk +description: Low Level Virtual Machine +build-system: cmake +configure-commands: +- | + mkdir build/ + cd build/ + + CC=gcc CXX=g++ \ + cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" \ + -DLLVM_ENABLE_FFI=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -DLLVM_BUILD_LLVM_DYLIB=ON \ + -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \ + -Wno-dev .. +build-commands: +- | + cd build/ + make +install-commands: +- | + cd build/ + make DESTDIR="$DESTDIR" install |