mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02:00
depends: add mold & ld.lld to gen_id
We use `lld` when cross-compiling for macOS, and it's version should be tied to LLVM. However someone compiling with GCC and `-fuse-ld=lld` would not see a cache bust if the LLVM toolchain was updated. We don't use `mold` directly, but I'm aware of it's usage in infrastructure, along with depends, used to test the project.
This commit is contained in:
parent
d032ac8063
commit
01df180bfb
@ -58,6 +58,17 @@
|
||||
echo "CXX_STANDARD=${CXX_STANDARD}"
|
||||
echo "END CXX"
|
||||
|
||||
# We use lld when cross-compiling for macOS, and it's version should
|
||||
# be tied to LLVM. However someone compiling with GCC and -fuse-ld=lld
|
||||
# would not see a cache bust if the LLVM toolchain was updated.
|
||||
echo "BEGIN lld"
|
||||
bash -c "ld.lld --version"
|
||||
echo "END lld"
|
||||
|
||||
echo "BEGIN mold"
|
||||
bash -c "mold --version"
|
||||
echo "END mold"
|
||||
|
||||
echo "BEGIN AR"
|
||||
bash -c "${AR} --version"
|
||||
env | grep '^AR_'
|
||||
|
Loading…
Reference in New Issue
Block a user