Skip to content

Commit 1ed1183

Browse files
committed
depends: libtapi 1300.0.6.5
1 parent 9d3b216 commit 1ed1183

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

depends/packages/native_libtapi.mk

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
package=native_libtapi
2-
$(package)_version=664b8414f89612f2dfd35a9b679c345aa5389026
2+
$(package)_version=eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9
33
$(package)_download_path=https://github.com/tpoechtrager/apple-libtapi/archive
44
$(package)_file_name=$($(package)_version).tar.gz
5-
$(package)_sha256_hash=62e419c12d1c9fad67cc1cd523132bc00db050998337c734c15bc8d73cc02b61
5+
$(package)_sha256_hash=d4d46c64622f13d6938cecf989046d9561011bb59e8ee835f8f39825d67f578f
6+
$(package)_patches=disable_zlib.patch
67

78
ifeq ($(strip $(FORCE_USE_SYSTEM_CLANG)),)
89
$(package)_dependencies=native_clang
910
endif
1011

12+
define $(package)_preprocess_cmds
13+
patch -p1 < $($(package)_patch_dir)/disable_zlib.patch
14+
endef
15+
1116
define $(package)_build_cmds
1217
CC=$(clang_prog) CXX=$(clangxx_prog) INSTALLPREFIX=$($(package)_staging_prefix_dir) ./build.sh
1318
endef
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
build: disable zlib
2+
3+
This isn't needed, and causes issues when clang-tblgen
4+
is built, but trys to reach for a system libz.so.
5+
6+
diff --git a/build.sh b/build.sh
7+
index e25d2f732..ec8422621 100755
8+
--- a/build.sh
9+
+++ b/build.sh
10+
@@ -66,6 +66,7 @@ cmake ../src/llvm \
11+
-DCMAKE_INSTALL_PREFIX=$INSTALLPREFIX \
12+
-DTAPI_REPOSITORY_STRING=$TAPI_VERSION \
13+
-DTAPI_FULL_VERSION=$TAPI_VERSION \
14+
+ -DLLVM_ENABLE_ZLIB=OFF \
15+
$CMAKE_EXTRA_ARGS
16+
17+
echo ""

0 commit comments

Comments
 (0)