diff options
-rw-r--r-- | data/libtapi/apple-libtapi-1000.10.8.tar.lz | bin | 0 -> 38609185 bytes | |||
-rw-r--r-- | data/libtapi/apple-libtapi.tar.gz | bin | 119552723 -> 0 bytes | |||
-rw-r--r-- | data/libtapi/make.sh | 5 |
3 files changed, 5 insertions, 0 deletions
diff --git a/data/libtapi/apple-libtapi-1000.10.8.tar.lz b/data/libtapi/apple-libtapi-1000.10.8.tar.lz Binary files differnew file mode 100644 index 000000000..429b4f859 --- /dev/null +++ b/data/libtapi/apple-libtapi-1000.10.8.tar.lz diff --git a/data/libtapi/apple-libtapi.tar.gz b/data/libtapi/apple-libtapi.tar.gz Binary files differdeleted file mode 100644 index ab2c0202b..000000000 --- a/data/libtapi/apple-libtapi.tar.gz +++ /dev/null diff --git a/data/libtapi/make.sh b/data/libtapi/make.sh index 644d8f6bf..05025dd93 100644 --- a/data/libtapi/make.sh +++ b/data/libtapi/make.sh @@ -4,9 +4,13 @@ cd native MACOSX_DEPLOYMENT_TARGET="$(sw_vers -productVersion | sed -e 's/\.[0-9]*$//')" CC="$(xcrun -f clang)" CXX="$(xcrun -f clang++)" cmake -j16 -DLLVM_BUILD_LLVM_DYLIB=ON -DCMAKE_BUILD_TYPE=RELEASE -DLLVM_INCLUDE_TESTS=OFF ../src/llvm make -j16 llvm-tblgen clang-tblgen cd .. +ln -s ../../clang/include/clang src/libtapi/include/clang mkdir build cd build +mkdir -p projects/libtapi/include +ln -s ../../clang/include/clang projects/libtapi/include/clang + cat >iphoneos_toolchain.cmake <<EOF set(CMAKE_SYSTEM_NAME Darwin) # Tell CMake we're cross-compiling set(CMAKE_CROSSCOMPILING true) @@ -28,6 +32,7 @@ EOF unset MACOSX_DEPLOYMENT_TARGET cmake -j8 -DCMAKE_TOOLCHAIN_FILE=iphoneos_toolchain.cmake -DCMAKE_INSTALL_NAME_DIR="/usr/lib" -DCMAKE_INSTALL_RPATH="/usr/" -DCMAKE_OSX_SYSROOT="${PKG_ROOT}" -DCMAKE_INSTALL_PREFIX="/usr/" -DCMAKE_SHARED_LINKER_FLAGS="-lresolv" -DLLVM_INCLUDE_TESTS=OFF -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_SYSTEM_NAME=Darwin -DLLVM_TABLEGEN="$(pwd)/../native/bin/llvm-tblgen" -DCLANG_TABLEGEN="$(pwd)/../native/bin/clang-tblgen" -DLLVM_DEFAULT_TARGET_TRIPLE="${PKG_TARG}" -DLLVM_TARGETS_TO_BUILD=AArch64 ../src/llvm + make -j16 libtapi make install-libtapi DESTDIR="${PKG_DEST}" pkg: mkdir -p /usr/include/tapi |