[Openmp-commits] [openmp] [OpenMP] Remove %preload-tool definition from archer tests (PR #150779)
Aiden Grossman via Openmp-commits
openmp-commits at lists.llvm.org
Sat Jul 26 10:12:54 PDT 2025
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/150779
This was added in 2b8115b10b03013b9f8ae0aa56b0cd6a6a6dd4fd and it looks like this wass essentially a copy paste from one of the other lit config files. This substitution is unused within the tests however and contains a deprecated %T directive, so remove it.
>From c3bd04c2913e3ec9fcb69fe28450eec3fd31c481 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Sat, 26 Jul 2025 17:10:29 +0000
Subject: [PATCH] [OpenMP] Remove %preload-tool definition from archer tests
This was added in 2b8115b10b03013b9f8ae0aa56b0cd6a6a6dd4fd and it looks
like this wass essentially a copy paste from one of the other lit config
files. This substitution is unused within the tests however and contains
a deprecated %T directive, so remove it.
---
openmp/tools/archer/tests/lit.cfg | 7 -------
1 file changed, 7 deletions(-)
diff --git a/openmp/tools/archer/tests/lit.cfg b/openmp/tools/archer/tests/lit.cfg
index c4bae61800ac4..786b2d9991e9c 100644
--- a/openmp/tools/archer/tests/lit.cfg
+++ b/openmp/tools/archer/tests/lit.cfg
@@ -130,10 +130,3 @@ config.substitutions.append(("%deflake", os.path.join(os.path.dirname(__file__),
config.substitutions.append(("FileCheck", config.test_filecheck))
config.substitutions.append(("%not", config.test_not))
config.substitutions.append(("%sort-threads", "sort --numeric-sort --stable"))
-if config.operating_system == 'Windows':
- # No such environment variable on Windows.
- config.substitutions.append(("%preload-tool", "true ||"))
-elif config.operating_system == 'Darwin':
- config.substitutions.append(("%preload-tool", "env DYLD_INSERT_LIBRARIES=%T/tool.so"))
-else:
- config.substitutions.append(("%preload-tool", "env LD_PRELOAD=%T/tool.so"))
More information about the Openmp-commits
mailing list