diff options
Diffstat (limited to 'extra/llvm')
-rwxr-xr-x | extra/llvm/build | 19 | ||||
-rw-r--r-- | extra/llvm/checksums | 1 | ||||
-rw-r--r-- | extra/llvm/depends | 3 | ||||
-rw-r--r-- | extra/llvm/sources | 1 | ||||
-rw-r--r-- | extra/llvm/version | 1 |
5 files changed, 25 insertions, 0 deletions
diff --git a/extra/llvm/build b/extra/llvm/build new file mode 100755 index 00000000..337ebeb3 --- /dev/null +++ b/extra/llvm/build @@ -0,0 +1,19 @@ +#!/bin/sh -e + +export DESTDIR="$1" + +cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DLLVM_BUILD_LLVM_DYLIB=ON \ + -DLLVM_LINK_LLVM_DYLIB=ON \ + -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \ + -DLLVM_ENABLE_RTTI=ON \ + -DLLVM_HOST_TRIPLE="$(cc -dumpmachine)" \ + -DLLVM_BUILD_EXAMPLES=OFF \ + -DLLVM_BUILD_DOCS=OFF \ + -DLLVM_BUILD_TESTS=OFF \ + -Wno-dev + +cmake --build build +cmake --install build diff --git a/extra/llvm/checksums b/extra/llvm/checksums new file mode 100644 index 00000000..74fbcfb0 --- /dev/null +++ b/extra/llvm/checksums @@ -0,0 +1 @@ +d6a0565cf21f22e9b4353b2eb92622e8365000a9e90a16b09b56f8157eabfe84 llvm-9.0.0.src.tar.xz diff --git a/extra/llvm/depends b/extra/llvm/depends new file mode 100644 index 00000000..126422ec --- /dev/null +++ b/extra/llvm/depends @@ -0,0 +1,3 @@ +cmake make +python make +zlib diff --git a/extra/llvm/sources b/extra/llvm/sources new file mode 100644 index 00000000..2aa9c3ce --- /dev/null +++ b/extra/llvm/sources @@ -0,0 +1 @@ +https://releases.llvm.org/9.0.0/llvm-9.0.0.src.tar.xz diff --git a/extra/llvm/version b/extra/llvm/version new file mode 100644 index 00000000..f8041b0a --- /dev/null +++ b/extra/llvm/version @@ -0,0 +1 @@ +9.0.0 1 |