diff options
author | merge-script <fanquake@gmail.com> | 2024-06-11 16:40:43 +0100 |
---|---|---|
committer | merge-script <fanquake@gmail.com> | 2024-06-11 16:40:43 +0100 |
commit | 337f9d44c28b1d3563a0063a8805b418d506698d (patch) | |
tree | e718d8ace9fe0971a49d6de2c3e0e701f57c9f99 /src | |
parent | 5bc9b644a4b6af15a10ebd791c11d9340d01957f (diff) | |
parent | 7cbfd7a7ce45ac68d6041f42f468862f5c193d8c (diff) |
Merge bitcoin/bitcoin#30201: depends: remove `FORCE_USE_SYSTEM_CLANG`
7cbfd7a7ce45ac68d6041f42f468862f5c193d8c refactor: rename (macho) ld64 to lld (fanquake)
d851451705aa67175cbafb06f455e6969131f90f ci: update deps for macOS cross build (fanquake)
9ebdd5e9e04be3355309d3096da00db37b4d540c depends: update install docs for macOS cross compilation (fanquake)
fb74fd66cb2b016f07e47dc58d81b33034ce851b depends: remove no-longer used llvm_* vars from macOS build (fanquake)
9043f12425d869d8bf7f2be1bb12368e41d09c5d depends: no-longer pass -B to clang in macOS cross-compile (fanquake)
f9994b025e1d72b4c0f5267de54caa2bfae136a3 depends: remove native LLVM package (fanquake)
e9a44faf14854c5b05a297df182d10706f438a83 depends: remove FORCE_USE_SYSTEM_CLANG (fanquake)
9946618f6174422d9ba93bf96c278269bebacf39 guix: use clang-toolchain-18 for macOS build (fanquake)
Pull request description:
Remove `FORCE_USE_SYSTEM_CLANG` in favour of always using the system Clang and lld for macOS cross-compilation; rather than downloading precompiled blobs.
For example, anyone using Ubuntu 24.04 should be able to `apt install clang llvm lld .. etc`, and then cross-compile for macOS using:
```bash
# clang --version
Ubuntu clang version 18.1.3 (1)
make -C depends HOST=arm64-apple-darwin FORCE_USE_SYSTEM_CLANG=1
./autogen.sh
CONFIG_SITE=/path/to/depends/arm64-apple-darwin/share/config.site ./configure
make
# file src/qt/bitcoin-qt
src/qt/bitcoin-qt: Mach-O 64-bit arm64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|WEAK_DEFINES|BINDS_TO_WEAK|PIE|HAS_TLV_DESCRIPTORS>
```
Note that the minimum supported version of Clang we will support for macOS cross-compilation will likely be more recent than our other minimum supported version of Clang, due to compiler/linker option usage.
ACKs for top commit:
Sjors:
tACK 7cbfd7a7ce45ac68d6041f42f468862f5c193d8c
theuni:
ACK 7cbfd7a7ce45ac68d6041f42f468862f5c193d8c
TheCharlatan:
Nice, ACK 7cbfd7a7ce45ac68d6041f42f468862f5c193d8c
Tree-SHA512: 1499e29b3b238c5c85278c38e8fb6bb5e7883db3443f62b6bf397c5d761bedbc054962be645a9defce15266f0a969bb4b3ccd28b6e4dd874472857b928f185d1
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions