summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-06-14 13:47:15 -1000
committerSam Bingner <sam@bingner.com>2019-06-14 13:47:15 -1000
commit208a0713026db94975ed578a4ba59368453b2ad0 (patch)
tree8eddd7a5682c54feb6b3f3fcfc9f559e320561db
parentfabbb233d3290049e1bcdd5fb4626e3e91440c67 (diff)
Update libtapi with 1000.10.8
-rw-r--r--data/libtapi/apple-libtapi-1000.10.8.tar.lzbin0 -> 38609185 bytes
-rw-r--r--data/libtapi/apple-libtapi.tar.gzbin119552723 -> 0 bytes
-rw-r--r--data/libtapi/make.sh5
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
new file mode 100644
index 000000000..429b4f859
--- /dev/null
+++ b/data/libtapi/apple-libtapi-1000.10.8.tar.lz
Binary files differ
diff --git a/data/libtapi/apple-libtapi.tar.gz b/data/libtapi/apple-libtapi.tar.gz
deleted file mode 100644
index ab2c0202b..000000000
--- a/data/libtapi/apple-libtapi.tar.gz
+++ /dev/null
Binary files differ
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