mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 14:37:42 -03: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
1 changed files with 11 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue