summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-25 06:27:08 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-25 06:27:08 +0000
commit8624df0add74c161f045d19b225fb49afd32fa99 (patch)
tree41eea179789ecef6212bdb081f18d0bc4daebf78
parentd40d77c4b8e84ab22bb631c5cced89b10ce3a84c (diff)
downloadpackages-8624df0add74c161f045d19b225fb49afd32fa99.tar.gz
packages-8624df0add74c161f045d19b225fb49afd32fa99.tar.bz2
packages-8624df0add74c161f045d19b225fb49afd32fa99.tar.xz
packages-8624df0add74c161f045d19b225fb49afd32fa99.zip
user/llvm8: install CMake link, add SPARC/WASM targets
-rw-r--r--user/llvm8/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/llvm8/APKBUILD b/user/llvm8/APKBUILD
index b2a2ff991..38f56cd4b 100644
--- a/user/llvm8/APKBUILD
+++ b/user/llvm8/APKBUILD
@@ -101,7 +101,7 @@ build() {
-DLLVM_HOST_TRIPLE="$CHOST" \
-DLLVM_INCLUDE_EXAMPLES=OFF \
-DLLVM_LINK_LLVM_DYLIB=ON \
- -DLLVM_TARGETS_TO_BUILD='X86;ARM;AArch64;PowerPC;SystemZ;AMDGPU;NVPTX;Mips;BPF' \
+ -DLLVM_TARGETS_TO_BUILD='X86;ARM;AArch64;PowerPC;SystemZ;AMDGPU;NVPTX;Mips;BPF;Sparc;WebAssembly' \
"$builddir"
make llvm-tblgen
@@ -168,6 +168,7 @@ package() {
_mv lib/cmake/llvm/* "$pkgdir"/usr/lib/cmake/$pkgname/
rmdir lib/cmake/llvm
ln -s ../../../cmake/$pkgname lib/cmake/llvm
+ ln -s ../$pkgname "$pkgdir"/usr/lib/cmake/llvm
}
static() {