diff options
author | Sam Bingner <sam@bingner.com> | 2018-10-12 16:21:47 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-10-12 16:21:47 -1000 |
commit | 295030d5719c3af352cfc5394b8ce13e3a1e0fb9 (patch) | |
tree | 608f1f9cf9a8ea9ae8e26f1f07b50d14426a675a /data/libtapi/make.sh | |
parent | 4a80cac9cb4be1d154f5346423667310219bd27a (diff) |
Add and update a number of packages
Diffstat (limited to 'data/libtapi/make.sh')
-rw-r--r-- | data/libtapi/make.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/libtapi/make.sh b/data/libtapi/make.sh index ec4aa3547..644d8f6bf 100644 --- a/data/libtapi/make.sh +++ b/data/libtapi/make.sh @@ -1,8 +1,8 @@ pkg:setup mkdir native cd native -MACOSX_DEPLOYMENT_TARGET=10.9 CC="$(xcrun -f clang) -stdlib=libc++" CXX="$(xcrun -f clang++) -stdlib=libc++" cmake -j16 -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_SYSTEM_NAME=Darwin -DUSE_NLS=0 -DWITH_DOC=0 -DLLVM_INCLUDE_TESTS=OFF ../src/apple-llvm/src -make -j16 llvm-tblgen +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 .. mkdir build cd build @@ -26,11 +26,11 @@ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) EOF unset MACOSX_DEPLOYMENT_TARGET -cmake -j8 -DCMAKE_TOOLCHAIN_FILE=iphoneos_toolchain.cmake -DCMAKE_LOCALSTATEDIR="/private/var" -DCMAKE_INSTALL_NAME_DIR="/usr/lib" -DCMAKE_INSTALL_RPATH="/usr/" -DCMAKE_OSX_SYSROOT="${PKG_ROOT}" -DCMAKE_INSTALL_PREFIX="/usr/" -DCMAKE_SHARED_LINKER_FLAGS="-lresolv" -DCURRENT_VENDOR=debian -DUSE_NLS=0 -DWITH_DOC=0 -DLLVM_INCLUDE_TESTS=OFF -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_SYSTEM_NAME=Darwin -DLLVM_TABLEGEN="$(pwd)/../native/bin/llvm-tblgen" -DLLVM_DEFAULT_TARGET_TRIPLE="${PKG_TARG}" -DLLVM_TARGETS_TO_BUILD=AArch64 ../src/apple-llvm/src +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 -pkg: cp -va ../src/apple-llvm/src/projects/libtapi/include/tapi /usr/include +pkg: cp -va ../src/libtapi/include/tapi /usr/include pkg: cp -va projects/libtapi/include/tapi/Version.inc /usr/include/tapi cd .. |