mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
277766fcef
9ae854da193f3c4bda38a75e96f9b989b289baab depends: no-longer nuke libc++abi.so* in native_clang package (fanquake) Pull request description: We weren't copying it over in any case. ACKs for top commit: hebasto: ACK 9ae854da193f3c4bda38a75e96f9b989b289baab theuni: Sure. utACK no-op 9ae854da193f3c4bda38a75e96f9b989b289baab. Tree-SHA512: 3cc7f18f27c1b498f930bc1a09283aa04ba673d3c1a5220d8462213f0a06b74bc34989f23404402850de518cba35ddab900a54f7f0fac112fc86664e4155f8cb
25 lines
1.4 KiB
Makefile
25 lines
1.4 KiB
Makefile
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)_file_name=clang+llvm-$($(package)_version)-aarch64-linux-gnu.tar.xz
|
|
$(package)_sha256_hash=90dc69a4758ca15cd0ffa45d07fbf5bf4309d47d2c7745a9f0735ecffde9c31f
|
|
else
|
|
$(package)_file_name=clang+llvm-$($(package)_version)-x86_64-linux-gnu-ubuntu-16.04.tar.xz
|
|
$(package)_sha256_hash=48b83ef827ac2c213d5b64f5ad7ed082c8bcb712b46644e0dc5045c6f462c231
|
|
endif
|
|
|
|
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/llvm-c && \
|
|
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 include/llvm-c/ExternC.h $($(package)_staging_prefix_dir)/include/llvm-c && \
|
|
cp include/llvm-c/lto.h $($(package)_staging_prefix_dir)/include/llvm-c && \
|
|
cp lib/libLTO.so $($(package)_staging_prefix_dir)/lib/ && \
|
|
cp -r lib/clang/$($(package)_version)/include/* $($(package)_staging_prefix_dir)/lib/clang/$($(package)_version)/include/
|
|
endef
|