[Openmp-commits] [openmp] b5c7482 - [OpenMP] Remove %preload-tool definition from archer tests (#150779)
via Openmp-commits
openmp-commits at lists.llvm.org
Sat Jul 26 11:07:22 PDT 2025
Author: Aiden Grossman
Date: 2025-07-26T11:07:19-07:00
New Revision: b5c7482e8bfe4649afc19fad5957259696986353
URL: https://github.com/llvm/llvm-project/commit/b5c7482e8bfe4649afc19fad5957259696986353
DIFF: https://github.com/llvm/llvm-project/commit/b5c7482e8bfe4649afc19fad5957259696986353.diff
LOG: [OpenMP] Remove %preload-tool definition from archer tests (#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.
Added:
Modified:
openmp/tools/archer/tests/lit.cfg
Removed:
################################################################################
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