From 118b2d00c59968cd98b98442741a0b590bb3f688 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 11 Aug 2026 07:07:05 -0700 Subject: [PATCH] Skip some more tests with the system compiler --- tests/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index fdb7fbf..2e3460e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -71,6 +71,10 @@ function(add_testcase test) # cross-thread TLS to work right now, but that's known to not work, # so skip this test. set(link_styles static) + elseif(CMAKE_C_COMPILER_VERSION VERSION_LESS 23.0.0) + # LLVM 22-and-prior has issues with shared linking, so skip those tests + # when using a system compiler. + set(link_styles static) else() set(link_styles static shared) endif()