forked from monero-project/monero
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request monero-project#8312
5c27fd8 depends: Package cleanup (Howard Chu) c1d47eb Update randomx: fix Mac linking error (Howard Chu) 02e6af2 Update CI for aarch64 mac build (selsta) 7ea1e21 Make Mac SDK into a regular depends package (Howard Chu) e81ab9b Silence some protobuf link warnings (Howard Chu) fe5c2ae Fix arm64 darwin package defs (Howard Chu) fb68465 Boost 1.64 doesn't recognize arm64 darwin (Howard Chu) 617f908 more... update to clang 9.0.0 (Howard Chu) 83ae3ad Split native_clang out of native_cctools (Howard Chu) 1008318 Update native_cctools for newer SDK support (Howard Chu) a86c4cb Update to MacOSX SDK 11.1, add Mac M1 (Howard Chu)
- Loading branch information
Showing
28 changed files
with
308 additions
and
157 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
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,10 @@ | ||
package=darwin_sdk | ||
$(package)_version=11.1 | ||
$(package)_download_path=https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/ | ||
$(package)_file_name=MacOSX$($(package)_version).sdk.tar.xz | ||
$(package)_sha256_hash=68797baaacb52f56f713400de306a58a7ca00b05c3dc6d58f0a8283bcac721f8 | ||
|
||
define $(package)_stage_cmds | ||
mkdir -p $($(package)_staging_dir)/$(host_prefix)/native/SDK &&\ | ||
mv * $($(package)_staging_dir)/$(host_prefix)/native/SDK | ||
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
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,29 @@ | ||
package=native_clang | ||
$(package)_version=9.0.0 | ||
$(package)_download_path=https://releases.llvm.org/$($(package)_version) | ||
$(package)_download_file=clang+llvm-$($(package)_version)-x86_64-linux-gnu-ubuntu-18.04.tar.xz | ||
$(package)_file_name=clang-llvm-$($(package)_version)-x86_64-linux-gnu-ubuntu-18.04.tar.xz | ||
$(package)_sha256_hash=a23b082b30c128c9831dbdd96edad26b43f56624d0ad0ea9edec506f5385038d | ||
|
||
define $(package)_extract_cmds | ||
echo $($(package)_sha256_hash) $($(package)_source) | sha256sum -c &&\ | ||
mkdir -p toolchain/bin toolchain/lib/clang/3.5/include && \ | ||
tar --strip-components=1 -C toolchain -xf $($(package)_source) && \ | ||
rm -f toolchain/lib/libc++abi.so* && \ | ||
echo "#!/bin/sh" > toolchain/bin/$(host)-dsymutil && \ | ||
echo "exit 0" >> toolchain/bin/$(host)-dsymutil && \ | ||
chmod +x toolchain/bin/$(host)-dsymutil | ||
endef | ||
|
||
define $(package)_stage_cmds | ||
cd $($(package)_extract_dir)/toolchain && \ | ||
mkdir -p $($(package)_staging_prefix_dir)/lib/clang/$($(package)_version)/include && \ | ||
mkdir -p $($(package)_staging_prefix_dir)/bin $($(package)_staging_prefix_dir)/include && \ | ||
cp bin/clang $($(package)_staging_prefix_dir)/bin/ &&\ | ||
cp -P bin/clang++ $($(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/ && \ | ||
cp bin/dsymutil $($(package)_staging_prefix_dir)/bin/$(host)-dsymutil && \ | ||
if `test -d include/c++/`; then cp -rf include/c++/ $($(package)_staging_prefix_dir)/include/; fi && \ | ||
if `test -d lib/c++/`; then cp -rf lib/c++/ $($(package)_staging_prefix_dir)/lib/; fi | ||
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,28 @@ | ||
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)-$($(package)_version).tar.gz | ||
$(package)_sha256_hash=62e419c12d1c9fad67cc1cd523132bc00db050998337c734c15bc8d73cc02b61 | ||
$(package)_build_subdir=build | ||
$(package)_dependencies=native_clang | ||
|
||
define $(package)_config_cmds | ||
echo -n $(build_prefix) > INSTALLPREFIX; \ | ||
CC=$(host_prefix)/native/bin/clang CXX=$(host_prefix)/native/bin/clang++ \ | ||
cmake -DCMAKE_INSTALL_PREFIX=$(build_prefix) \ | ||
-DLLVM_INCLUDE_TESTS=OFF \ | ||
-DCMAKE_BUILD_TYPE=RELEASE \ | ||
-DTAPI_REPOSITORY_STRING="1100.0.11" \ | ||
-DTAPI_FULL_VERSION="11.0.0" \ | ||
-DCMAKE_CXX_FLAGS="-I $($(package)_extract_dir)/src/llvm/projects/clang/include -I $($(package)_build_dir)/projects/clang/include" \ | ||
$($(package)_extract_dir)/src/llvm | ||
endef | ||
|
||
define $(package)_build_cmds | ||
$(MAKE) clangBasic && $(MAKE) libtapi | ||
endef | ||
|
||
define $(package)_stage_cmds | ||
$(MAKE) DESTDIR=$($(package)_staging_dir) install-libtapi install-tapi-headers | ||
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
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
Oops, something went wrong.