[Openmp-commits] [openmp] 57c7899 - [OpenMP] Update %preload-tool definition on Darwin

Aiden Grossman via Openmp-commits openmp-commits at lists.llvm.org
Sat Jul 26 15:24:48 PDT 2025


Author: Aiden Grossman
Date: 2025-07-26T22:24:41Z
New Revision: 57c78998a03a740cf90e8c8fe310633a99e6b53e

URL: https://github.com/llvm/llvm-project/commit/57c78998a03a740cf90e8c8fe310633a99e6b53e
DIFF: https://github.com/llvm/llvm-project/commit/57c78998a03a740cf90e8c8fe310633a99e6b53e.diff

LOG: [OpenMP] Update %preload-tool definition on Darwin

This was updated in some earlier commits but was never updated on Darwin
because I was testing locally on Linux and it does not seem like there
are any buildbots testing this configuration. Update it since it should
be trivial and will definitely be broken otherwise.

Added: 
    

Modified: 
    openmp/runtime/test/lit.cfg

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/test/lit.cfg b/openmp/runtime/test/lit.cfg
index 0ca6a38c43587..4a5aff241765c 100644
--- a/openmp/runtime/test/lit.cfg
+++ b/openmp/runtime/test/lit.cfg
@@ -217,7 +217,7 @@ if config.has_ompt:
         config.substitutions.append(("%preload-tool", "true ||"))
         config.substitutions.append(("%no-as-needed-flag", "-Wl,--no-as-needed"))
     elif config.operating_system == 'Darwin':
-        config.substitutions.append(("%preload-tool", "env DYLD_INSERT_LIBRARIES=%T/tool.so"))
+        config.substitutions.append(("%preload-tool", "env DYLD_INSERT_LIBRARIES=%t.tool_dir/tool.so"))
         # No such linker flag on Darwin.
         config.substitutions.append(("%no-as-needed-flag", ""))
     else:


        


More information about the Openmp-commits mailing list