[llvm-branch-commits] [compiler-rt] b9df621 - Revert "[compiler-rt][test] Use sysroot dynamic linker and rpath on Linux (#2…"
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Nov 6 19:23:14 PST 2026
Author: gulfemsavrun
Date: 2026-11-06T19:23:10-08:00
New Revision: b9df621e9c13da31a8db9500e58f06bf00a24544
URL: https://github.com/llvm/llvm-project/commit/b9df621e9c13da31a8db9500e58f06bf00a24544
DIFF: https://github.com/llvm/llvm-project/commit/b9df621e9c13da31a8db9500e58f06bf00a24544.diff
LOG: Revert "[compiler-rt][test] Use sysroot dynamic linker and rpath on Linux (#2…"
This reverts commit cba0ce818d10e4541a5f0bdc43ab8826edf45ff6.
Added:
Modified:
compiler-rt/test/lit.common.cfg.py
compiler-rt/test/lit.common.configured.in
Removed:
################################################################################
diff --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py
index 70186f773f25e7..b258f99e76cbf2 100644
--- a/compiler-rt/test/lit.common.cfg.py
+++ b/compiler-rt/test/lit.common.cfg.py
@@ -763,12 +763,6 @@ def get_macos_aligned_version(macos_vers):
except:
pass
- if not emulator and config.compiler_id == "Clang" and config.sysroot:
- config.target_cflags += (
- f" -Wno-unused-command-line-argument --dyld-prefix={config.sysroot}"
- rf" -Wl,--disable-new-dtags -Wl,-rpath,{config.sysroot}/\$LIB:{config.sysroot}/usr/\$LIB"
- )
-
sancovcc_path = os.path.join(config.llvm_tools_dir, "sancov")
if os.path.exists(sancovcc_path):
config.available_features.add("has_sancovcc")
diff --git a/compiler-rt/test/lit.common.configured.in b/compiler-rt/test/lit.common.configured.in
index 98888cc8a1d37f..be83cdd24f6d01 100644
--- a/compiler-rt/test/lit.common.configured.in
+++ b/compiler-rt/test/lit.common.configured.in
@@ -8,7 +8,6 @@ def set_default(attr, value):
# Generic config options for all compiler-rt lit tests.
set_default("target_triple", "@COMPILER_RT_DEFAULT_TARGET_TRIPLE@")
set_default("target_cflags", "@COMPILER_RT_TEST_COMPILER_CFLAGS@")
-set_default("sysroot", "@CMAKE_SYSROOT@")
set_default("host_arch", "@HOST_ARCH@")
set_default("target_arch", "@COMPILER_RT_DEFAULT_TARGET_ARCH@")
set_default("target_os", "@HOST_OS@")
More information about the llvm-branch-commits
mailing list