-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upstream depends osx sdk 12.1 (#893)
* Updated depends to use newer OSX SDK (Upstream changes) * Updated libsodium in depends to build with OSX SDK 12.1 * Updated OSX sdk file in gitian descriptor * Re-added darwin custom ranlib and ar configs * Testing the different params for libsodium osx build * Temporarily removed env calls in darwin builds
- Loading branch information
Showing
10 changed files
with
189 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
ifeq ($(HOST),armv7a-linux-android) | ||
android_AR=$(ANDROID_TOOLCHAIN_BIN)/arm-linux-androideabi-ar | ||
android_CXX=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)eabi$(ANDROID_API_LEVEL)-clang++ | ||
android_CC=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)eabi$(ANDROID_API_LEVEL)-clang | ||
android_RANLIB=$(ANDROID_TOOLCHAIN_BIN)/arm-linux-androideabi-ranlib | ||
else | ||
android_AR=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)-ar | ||
android_CXX=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)$(ANDROID_API_LEVEL)-clang++ | ||
android_CC=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)$(ANDROID_API_LEVEL)-clang | ||
android_RANLIB=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)-ranlib | ||
endif | ||
android_AR=$(ANDROID_TOOLCHAIN_BIN)/llvm-ar | ||
android_RANLIB=$(ANDROID_TOOLCHAIN_BIN)/llvm-ranlib | ||
|
||
android_cmake_system=Android |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package=native_clang | ||
$(package)_version=10.0.1 | ||
$(package)_download_path=https://github.com/llvm/llvm-project/releases/download/llvmorg-$($(package)_version) | ||
ifneq (,$(findstring aarch64,$(BUILD))) | ||
$(package)_download_file=clang+llvm-$($(package)_version)-aarch64-linux-gnu.tar.xz | ||
$(package)_file_name=clang+llvm-$($(package)_version)-aarch64-linux-gnu.tar.xz | ||
$(package)_sha256_hash=90dc69a4758ca15cd0ffa45d07fbf5bf4309d47d2c7745a9f0735ecffde9c31f | ||
else | ||
$(package)_download_file=clang+llvm-$($(package)_version)-x86_64-linux-gnu-ubuntu-16.04.tar.xz | ||
$(package)_file_name=clang+llvm-$($(package)_version)-x86_64-linux-gnu-ubuntu-16.04.tar.xz | ||
$(package)_sha256_hash=48b83ef827ac2c213d5b64f5ad7ed082c8bcb712b46644e0dc5045c6f462c231 | ||
endif | ||
|
||
define $(package)_preprocess_cmds | ||
rm -f $($(package)_extract_dir)/lib/libc++abi.so* | ||
endef | ||
|
||
define $(package)_stage_cmds | ||
mkdir -p $($(package)_staging_prefix_dir)/lib/clang/$($(package)_version)/include && \ | ||
mkdir -p $($(package)_staging_prefix_dir)/bin && \ | ||
mkdir -p $($(package)_staging_prefix_dir)/include && \ | ||
cp bin/clang $($(package)_staging_prefix_dir)/bin/ && \ | ||
cp -P bin/clang++ $($(package)_staging_prefix_dir)/bin/ && \ | ||
cp bin/dsymutil $($(package)_staging_prefix_dir)/bin/$(host)-dsymutil && \ | ||
cp bin/llvm-config $($(package)_staging_prefix_dir)/bin/ && \ | ||
cp lib/libLTO.so $($(package)_staging_prefix_dir)/lib/ && \ | ||
cp -rf lib/clang/$($(package)_version)/include/* $($(package)_staging_prefix_dir)/lib/clang/$($(package)_version)/include/ | ||
endef | ||
|
||
define $(package)_postprocess_cmds | ||
rmdir include | ||
endef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package=native_libtapi | ||
$(package)_version=664b8414f89612f2dfd35a9b679c345aa5389026 | ||
$(package)_download_path=https://github.com/tpoechtrager/apple-libtapi/archive | ||
$(package)_download_file=$($(package)_version).tar.gz | ||
$(package)_file_name=$($(package)_version).tar.gz | ||
$(package)_sha256_hash=62e419c12d1c9fad67cc1cd523132bc00db050998337c734c15bc8d73cc02b61 | ||
|
||
ifeq ($(strip $(FORCE_USE_SYSTEM_CLANG)),) | ||
$(package)_dependencies=native_clang | ||
endif | ||
|
||
define $(package)_build_cmds | ||
CC=$(clang_prog) CXX=$(clangxx_prog) INSTALLPREFIX=$($(package)_staging_prefix_dir) ./build.sh | ||
endef | ||
|
||
define $(package)_stage_cmds | ||
./install.sh && \ | ||
mkdir -p $($(package)_staging_prefix_dir)/include/llvm-c && \ | ||
cp src/llvm/include/llvm-c/lto.h $($(package)_staging_prefix_dir)/include/llvm-c | ||
endef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters