summaryrefslogtreecommitdiff
path: root/strata/llvm-common/llvm.morph
blob: 08c32fa5f8eb7859215e846712f6a0bb5e538da7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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