summaryrefslogtreecommitdiff
path: root/repo/devel/llvm.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-06 22:34:39 +0000
committerdavidovski <david@davidovski.xyz>2022-03-06 22:34:39 +0000
commit3602ce227f784f1c6233ef6ad3cd8f5ccad28e66 (patch)
tree61c86a7d065c0e15519ce810636b42197ce3f2c1 /repo/devel/llvm.xibuild
parent75e7bb9c72d562d397f9fb62072ab114cfbc6244 (diff)
added patches for rustc
Diffstat (limited to 'repo/devel/llvm.xibuild')
-rw-r--r--repo/devel/llvm.xibuild8
1 files changed, 1 insertions, 7 deletions
diff --git a/repo/devel/llvm.xibuild b/repo/devel/llvm.xibuild
index 82496a4..f1eaf13 100644
--- a/repo/devel/llvm.xibuild
+++ b/repo/devel/llvm.xibuild
@@ -35,6 +35,7 @@ build () {
-DLLVM_ENABLE_ZLIB=ON \
-DLLVM_HOST_TRIPLE="x86_64-linux-musl" \
-DLLVM_INCLUDE_EXAMPLES=OFF \
+ -DLLVM_INSTALL_UTILS=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_APPEND_VC_REV=OFF \
-Wno-dev -G Ninja .. &&
@@ -50,11 +51,4 @@ package () {
cd build
python3 ../utils/lit/setup.py install --prefix=/usr --root=$PKG_DEST
-
- mkdir $PKG_DEST/usr/bin
- for path in bin/*; do
- name=${path##*/}
- ln -s ../lib/llvm/bin/$name $PKG_DEST/usr/bin/$name
- done
-
}