mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
depends: libtapi 1300.0.6.5
This commit is contained in:
@@ -1,13 +1,18 @@
|
|||||||
package=native_libtapi
|
package=native_libtapi
|
||||||
$(package)_version=664b8414f89612f2dfd35a9b679c345aa5389026
|
$(package)_version=eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9
|
||||||
$(package)_download_path=https://github.com/tpoechtrager/apple-libtapi/archive
|
$(package)_download_path=https://github.com/tpoechtrager/apple-libtapi/archive
|
||||||
$(package)_file_name=$($(package)_version).tar.gz
|
$(package)_file_name=$($(package)_version).tar.gz
|
||||||
$(package)_sha256_hash=62e419c12d1c9fad67cc1cd523132bc00db050998337c734c15bc8d73cc02b61
|
$(package)_sha256_hash=d4d46c64622f13d6938cecf989046d9561011bb59e8ee835f8f39825d67f578f
|
||||||
|
$(package)_patches=disable_zlib.patch
|
||||||
|
|
||||||
ifeq ($(strip $(FORCE_USE_SYSTEM_CLANG)),)
|
ifeq ($(strip $(FORCE_USE_SYSTEM_CLANG)),)
|
||||||
$(package)_dependencies=native_clang
|
$(package)_dependencies=native_clang
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
define $(package)_preprocess_cmds
|
||||||
|
patch -p1 < $($(package)_patch_dir)/disable_zlib.patch
|
||||||
|
endef
|
||||||
|
|
||||||
define $(package)_build_cmds
|
define $(package)_build_cmds
|
||||||
CC=$(clang_prog) CXX=$(clangxx_prog) INSTALLPREFIX=$($(package)_staging_prefix_dir) ./build.sh
|
CC=$(clang_prog) CXX=$(clangxx_prog) INSTALLPREFIX=$($(package)_staging_prefix_dir) ./build.sh
|
||||||
endef
|
endef
|
||||||
|
|||||||
17
depends/patches/native_libtapi/disable_zlib.patch
Normal file
17
depends/patches/native_libtapi/disable_zlib.patch
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
build: disable zlib
|
||||||
|
|
||||||
|
This isn't needed, and causes issues when clang-tblgen
|
||||||
|
is built, but trys to reach for a system libz.so.
|
||||||
|
|
||||||
|
diff --git a/build.sh b/build.sh
|
||||||
|
index e25d2f732..ec8422621 100755
|
||||||
|
--- a/build.sh
|
||||||
|
+++ b/build.sh
|
||||||
|
@@ -66,6 +66,7 @@ cmake ../src/llvm \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=$INSTALLPREFIX \
|
||||||
|
-DTAPI_REPOSITORY_STRING=$TAPI_VERSION \
|
||||||
|
-DTAPI_FULL_VERSION=$TAPI_VERSION \
|
||||||
|
+ -DLLVM_ENABLE_ZLIB=OFF \
|
||||||
|
$CMAKE_EXTRA_ARGS
|
||||||
|
|
||||||
|
echo ""
|
||||||
Reference in New Issue
Block a user