summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-25 23:43:57 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-25 23:43:57 +0000
commit608a846258f789efadca1f8390a27e5ff1afcee2 (patch)
tree87a8a241c652a2bfb03803dad5624537cb119556
parent8624df0add74c161f045d19b225fb49afd32fa99 (diff)
downloadpackages-608a846258f789efadca1f8390a27e5ff1afcee2.tar.gz
packages-608a846258f789efadca1f8390a27e5ff1afcee2.tar.bz2
packages-608a846258f789efadca1f8390a27e5ff1afcee2.tar.xz
packages-608a846258f789efadca1f8390a27e5ff1afcee2.zip
user/llvm8: fix build stuff
-rw-r--r--user/llvm8/APKBUILD9
1 files changed, 2 insertions, 7 deletions
diff --git a/user/llvm8/APKBUILD b/user/llvm8/APKBUILD
index 38f56cd4b..de4969ac7 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;Sparc;WebAssembly' \
+ -DLLVM_TARGETS_TO_BUILD='AArch64;AMDGPU;ARM;BPF;Mips;PowerPC;Sparc;SystemZ;WebAssembly;X86' \
"$builddir"
make llvm-tblgen
@@ -163,12 +163,7 @@ package() {
rmdir include
ln -s ../../include/$pkgname include
- # Move /usr/lib/$pkgname/lib/cmake/llvm/ into /usr/lib/cmake/$pkgname/
- # and symlink it back.
- _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
+ ln -s "$pkgdir"/usr/lib/cmake/llvm ../$pkgname/lib/cmake/llvm
}
static() {