ci: always use tag for LLVM checkout #33364

pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:libcxx_21_1_1 changing 1 files +2 −3
  1. fanquake commented at 9:56 am on September 11, 2025: member
    Rather than trying to match the apt installed clang version, which is prone to intermittent issues. i.e #33345.
  2. ci: always use tag for LLVM checkout
    Rather than trying to match the apt installed clang version, which is
    prone to intermittent issues. i.e #33345.
    b736052e39
  3. DrahtBot added the label Tests on Sep 11, 2025
  4. DrahtBot commented at 9:56 am on September 11, 2025: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33364.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK willcl-ark, davidgumberg

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

  5. willcl-ark approved
  6. willcl-ark commented at 10:54 am on September 11, 2025: member

    ACK b736052e39f1f466f63f261ace3dd2deba171e8a

    I did wonder about defining in the *.env files, something like:

     0diff --git a/ci/test/00_setup_env_native_fuzz_with_msan.sh b/ci/test/00_setup_env_native_fuzz_with_msan.sh
     1index c71772b8e2c..47497ed4c81 100755
     2--- a/ci/test/00_setup_env_native_fuzz_with_msan.sh
     3+++ b/ci/test/00_setup_env_native_fuzz_with_msan.sh
     4@@ -26,6 +26,7 @@ export BITCOIN_CONFIG="\
     5  -DAPPEND_CPPFLAGS='-DBOOST_MULTI_INDEX_ENABLE_SAFE_MODE -U_FORTIFY_SOURCE' \
     6 "
     7 export USE_INSTRUMENTED_LIBCPP="MemoryWithOrigins"
     8+export INSTRUMENTED_LIBCPP_LLVM_V="21.1.1"
     9 export RUN_UNIT_TESTS="false"
    10 export RUN_FUNCTIONAL_TESTS="false"
    11 export RUN_FUZZ_TESTS=true
    12diff --git a/ci/test/00_setup_env_native_msan.sh b/ci/test/00_setup_env_native_msan.sh
    13index 4ff82614e9d..ac070b3364a 100755
    14--- a/ci/test/00_setup_env_native_msan.sh
    15+++ b/ci/test/00_setup_env_native_msan.sh
    16@@ -29,3 +29,4 @@ export BITCOIN_CONFIG="\
    17  -DAPPEND_CPPFLAGS='-U_FORTIFY_SOURCE' \
    18 "
    19 export USE_INSTRUMENTED_LIBCPP="MemoryWithOrigins"
    20+export INSTRUMENTED_LIBCPP_LLVM_V="21.1.1"
    21diff --git a/ci/test/00_setup_env_native_tsan.sh b/ci/test/00_setup_env_native_tsan.sh
    22index bf4b68412b2..c6427173e16 100755
    23--- a/ci/test/00_setup_env_native_tsan.sh
    24+++ b/ci/test/00_setup_env_native_tsan.sh
    25@@ -19,3 +19,4 @@ export CI_LIMIT_STACK_SIZE=1
    26 export BITCOIN_CONFIG="-DWITH_ZMQ=ON -DSANITIZERS=thread \
    27 -DAPPEND_CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKCONTENTION -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES'"
    28 export USE_INSTRUMENTED_LIBCPP="Thread"
    29+export INSTRUMENTED_LIBCPP_LLVM_V="21.1.1"
    30diff --git a/ci/test/01_base_install.sh b/ci/test/01_base_install.sh
    31index 6944ab42b06..767130bf319 100755
    32--- a/ci/test/01_base_install.sh
    33+++ b/ci/test/01_base_install.sh
    34@@ -56,7 +56,7 @@ if [ -n "$PIP_PACKAGES" ]; then
    35 fi
    36 
    37 if [[ -n "${USE_INSTRUMENTED_LIBCPP}" ]]; then
    38-  ${CI_RETRY_EXE} git clone --depth=1 https://github.com/llvm/llvm-project -b "llvmorg-21.1.1" /llvm-project
    39+  ${CI_RETRY_EXE} git clone --depth=1 https://github.com/llvm/llvm-project -b "llvmorg-${INSTRUMENTED_LIBCPP_LLVM_V}" /llvm-project
    40 
    41   if [ -n "${APT_LLVM_V}" ]; then
    42 
    

    But it only means three places to update rather than one in the future, and I’m not aware of any reason we’d want those jobs using different versions, so current approach seems best for now.

    We could also always fetch the latest llvmorg-* tag, but this would most likely just expose us to “random” Ci failures rather than specifically when we update the target tag, which would probably also be unhelpful.

  7. yorick1125 commented at 2:05 am on September 12, 2025: none
    ,
  8. fanquake merged this on Sep 12, 2025
  9. fanquake closed this on Sep 12, 2025

  10. fanquake referenced this in commit f7eded1dca on Sep 12, 2025
  11. fanquake deleted the branch on Sep 12, 2025
  12. fanquake commented at 8:47 am on September 12, 2025: member
    Backported to 30.x in #33356.
  13. fanquake referenced this in commit 324caa8497 on Sep 12, 2025
  14. willcl-ark referenced this in commit 939e1e18ce on Sep 16, 2025
  15. willcl-ark referenced this in commit 6e9969eac6 on Sep 16, 2025
  16. willcl-ark referenced this in commit da1d3dda83 on Sep 16, 2025
  17. alexanderwiederin referenced this in commit 49e068b15b on Sep 16, 2025
  18. alexanderwiederin referenced this in commit 4b0c2f2a8f on Sep 17, 2025
  19. alexanderwiederin referenced this in commit 2edb618ffe on Sep 17, 2025
  20. glozow referenced this in commit 7e1eca4882 on Sep 17, 2025
  21. glozow referenced this in commit b7a722724d on Sep 17, 2025
  22. stringintech referenced this in commit fb8510ba20 on Sep 17, 2025
  23. willcl-ark referenced this in commit 9ca68adc23 on Sep 19, 2025
  24. fanquake commented at 1:55 pm on September 23, 2025: member
    This broke msan fuzz, but could be resolved in #33425.

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-10-10 12:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me