|
|
@ -1,9 +1,9 @@ |
|
|
|
TERMUX_PKG_HOMEPAGE=http://clang.llvm.org/ |
|
|
|
TERMUX_PKG_DESCRIPTION="Modular compiler and toolchain technologies library" |
|
|
|
_PKG_MAJOR_VERSION=4.0 |
|
|
|
TERMUX_PKG_VERSION=${_PKG_MAJOR_VERSION}.0 |
|
|
|
TERMUX_PKG_VERSION=${_PKG_MAJOR_VERSION}.1 |
|
|
|
TERMUX_PKG_SRCURL=http://llvm.org/releases/${TERMUX_PKG_VERSION}/llvm-${TERMUX_PKG_VERSION}.src.tar.xz |
|
|
|
TERMUX_PKG_SHA256=8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be |
|
|
|
TERMUX_PKG_SHA256=da783db1f82d516791179fe103c71706046561f7972b18f0049242dee6712b51 |
|
|
|
TERMUX_PKG_HOSTBUILD=true |
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL=" |
|
|
|
bin/bugpoint |
|
|
@ -32,6 +32,7 @@ TERMUX_PKG_REPLACES=gcc |
|
|
|
# See http://llvm.org/docs/CMake.html: |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" |
|
|
|
-DLLVM_ENABLE_PIC=ON |
|
|
|
-DLLVM_ENABLE_LIBEDIT=OFF |
|
|
|
-DLLVM_BUILD_TESTS=OFF |
|
|
|
-DLLVM_INCLUDE_TESTS=OFF |
|
|
|
-DCLANG_INCLUDE_TESTS=OFF |
|
|
@ -47,7 +48,7 @@ termux_step_post_extract_package () { |
|
|
|
termux_download \ |
|
|
|
http://llvm.org/releases/${TERMUX_PKG_VERSION}/$CLANG_SRC_TAR \ |
|
|
|
$TERMUX_PKG_CACHEDIR/$CLANG_SRC_TAR \ |
|
|
|
cea5f88ebddb30e296ca89130c83b9d46c2d833685e2912303c828054c4dc98a |
|
|
|
61738a735852c23c3bdbe52d035488cdb2083013f384d67c1ba36fabebd8769b |
|
|
|
|
|
|
|
tar -xf $TERMUX_PKG_CACHEDIR/$CLANG_SRC_TAR -C tools |
|
|
|
mv tools/cfe-${TERMUX_PKG_VERSION}.src tools/clang |
|
|
|