|
@ -19,6 +19,8 @@ bin/sanstats |
|
|
bin/scan-build |
|
|
bin/scan-build |
|
|
bin/scan-view |
|
|
bin/scan-view |
|
|
lib/BugpointPasses.so |
|
|
lib/BugpointPasses.so |
|
|
|
|
|
lib/libclang*.a |
|
|
|
|
|
lib/libLLVM*.a |
|
|
lib/libLTO.so |
|
|
lib/libLTO.so |
|
|
lib/LLVMHello.so |
|
|
lib/LLVMHello.so |
|
|
share/man/man1/scan-build.1 |
|
|
share/man/man1/scan-build.1 |
|
@ -45,6 +47,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" |
|
|
-DLLVM_TABLEGEN=$TERMUX_PKG_HOSTBUILD_DIR/bin/llvm-tblgen |
|
|
-DLLVM_TABLEGEN=$TERMUX_PKG_HOSTBUILD_DIR/bin/llvm-tblgen |
|
|
-DCLANG_TABLEGEN=$TERMUX_PKG_HOSTBUILD_DIR/bin/clang-tblgen" |
|
|
-DCLANG_TABLEGEN=$TERMUX_PKG_HOSTBUILD_DIR/bin/clang-tblgen" |
|
|
TERMUX_PKG_FORCE_CMAKE=yes |
|
|
TERMUX_PKG_FORCE_CMAKE=yes |
|
|
|
|
|
TERMUX_PKG_KEEP_STATIC_LIBRARIES=true |
|
|
|
|
|
|
|
|
termux_step_post_extract_package () { |
|
|
termux_step_post_extract_package () { |
|
|
local CLANG_SRC_TAR=cfe-${TERMUX_PKG_VERSION}.src.tar.xz |
|
|
local CLANG_SRC_TAR=cfe-${TERMUX_PKG_VERSION}.src.tar.xz |
|
@ -93,6 +96,16 @@ termux_step_post_make_install () { |
|
|
for tool in clang clang++ cc c++ cpp gcc g++ ${TERMUX_HOST_PLATFORM}-{clang,clang++,gcc,g++,cpp}; do |
|
|
for tool in clang clang++ cc c++ cpp gcc g++ ${TERMUX_HOST_PLATFORM}-{clang,clang++,gcc,g++,cpp}; do |
|
|
ln -f -s clang-${_PKG_MAJOR_VERSION} $tool |
|
|
ln -f -s clang-${_PKG_MAJOR_VERSION} $tool |
|
|
done |
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
local OPENMP_ARCH |
|
|
|
|
|
if [ $TERMUX_ARCH = "i686" ]; then |
|
|
|
|
|
OPENMP_ARCH="i386" |
|
|
|
|
|
else |
|
|
|
|
|
OPENMP_ARCH=$TERMUX_ARCH |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
local OPENMP_PATH=lib64/clang/5.0/lib/linux/$OPENMP_ARCH/libomp.a |
|
|
|
|
|
cp $TERMUX_STANDALONE_TOOLCHAIN/$OPENMP_PATH $TERMUX_PREFIX/lib |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
termux_step_post_massage () { |
|
|
termux_step_post_massage () { |
|
|