libllvm: add libpolly subpackage
Fixes https://github.com/termux/termux-packages/issues/5829.
This commit is contained in:
parent
675f40c259
commit
a6b8a957d7
@ -8,13 +8,15 @@ TERMUX_PKG_SHA256=(c5d8e30b57cbded7128d78e5e8dad811bff97a8d471896812f57fa99ee82c
|
||||
591449e0aa623a6318d5ce2371860401653c48bb540982ccdd933992cb88df7a
|
||||
d19f728c8e04fb1e94566c8d76aef50ec926cd2f95ef3bf1e0a5de4909b28b44
|
||||
d093782bcfcd0c3f496b67a5c2c997ab4b85816b62a7dd5b27026634ccf5c11a
|
||||
d90dc8e121ca0271f0fd3d639d135bfaa4b6ed41e67bd6eb77808f72629658fa)
|
||||
d90dc8e121ca0271f0fd3d639d135bfaa4b6ed41e67bd6eb77808f72629658fa
|
||||
d2fb0bb86b21db1f52402ba231da7c119c35c21dfb843c9496fe901f2d6aa25a)
|
||||
TERMUX_PKG_SRCURL=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$TERMUX_PKG_VERSION/llvm-$TERMUX_PKG_VERSION.src.tar.xz
|
||||
https://github.com/llvm/llvm-project/releases/download/llvmorg-$TERMUX_PKG_VERSION/clang-$TERMUX_PKG_VERSION.src.tar.xz
|
||||
https://github.com/llvm/llvm-project/releases/download/llvmorg-$TERMUX_PKG_VERSION/lld-$TERMUX_PKG_VERSION.src.tar.xz
|
||||
https://github.com/llvm/llvm-project/releases/download/llvmorg-$TERMUX_PKG_VERSION/openmp-$TERMUX_PKG_VERSION.src.tar.xz
|
||||
https://github.com/llvm/llvm-project/releases/download/llvmorg-$TERMUX_PKG_VERSION/clang-tools-extra-$TERMUX_PKG_VERSION.src.tar.xz
|
||||
https://github.com/llvm/llvm-project/releases/download/llvmorg-$TERMUX_PKG_VERSION/compiler-rt-$TERMUX_PKG_VERSION.src.tar.xz)
|
||||
https://github.com/llvm/llvm-project/releases/download/llvmorg-$TERMUX_PKG_VERSION/compiler-rt-$TERMUX_PKG_VERSION.src.tar.xz
|
||||
https://github.com/llvm/llvm-project/releases/download/llvmorg-$TERMUX_PKG_VERSION/polly-$TERMUX_PKG_VERSION.src.tar.xz)
|
||||
TERMUX_PKG_HOSTBUILD=true
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="
|
||||
lib/libgomp.a
|
||||
@ -62,6 +64,7 @@ termux_step_post_get_source() {
|
||||
mv lld-${TERMUX_PKG_VERSION}.src tools/lld
|
||||
mv openmp-${TERMUX_PKG_VERSION}.src projects/openmp
|
||||
mv compiler-rt-${TERMUX_PKG_VERSION}.src projects/compiler-rt
|
||||
mv polly-${TERMUX_PKG_VERSION}.src tools/polly
|
||||
fi
|
||||
}
|
||||
|
||||
|
6
packages/libllvm/libpolly.subpackage.sh
Normal file
6
packages/libllvm/libpolly.subpackage.sh
Normal file
@ -0,0 +1,6 @@
|
||||
TERMUX_SUBPKG_DESCRIPTION="High-level loop and data-locality optimizer for clang"
|
||||
TERMUX_SUBPKG_INCLUDE="
|
||||
include/polly/
|
||||
lib/cmake/polly/
|
||||
lib/LLVMPolly.so
|
||||
"
|
Loading…
Reference in New Issue
Block a user