File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed
Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 11package =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
78ifeq ($(strip $(FORCE_USE_SYSTEM_CLANG ) ) ,)
89$(package)_dependencies =native_clang
910endif
1011
12+ define $(package)_preprocess_cmds
13+ patch -p1 < $($(package ) _patch_dir) /disable_zlib.patch
14+ endef
15+
1116define $(package)_build_cmds
1217 CC=$(clang_prog ) CXX=$(clangxx_prog ) INSTALLPREFIX=$($(package ) _staging_prefix_dir) ./build.sh
1318endef
Original file line number Diff line number Diff line change 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 ""
You can’t perform that action at this time.
0 commit comments