Skip to content

Commit d56a8db

Browse files
boomanaiden154mahesh-attarde
authored andcommitted
[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.
1 parent cac3782 commit d56a8db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/runtime/test/lit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ if config.has_ompt:
217217
config.substitutions.append(("%preload-tool", "true ||"))
218218
config.substitutions.append(("%no-as-needed-flag", "-Wl,--no-as-needed"))
219219
elif config.operating_system == 'Darwin':
220-
config.substitutions.append(("%preload-tool", "env DYLD_INSERT_LIBRARIES=%T/tool.so"))
220+
config.substitutions.append(("%preload-tool", "env DYLD_INSERT_LIBRARIES=%t.tool_dir/tool.so"))
221221
# No such linker flag on Darwin.
222222
config.substitutions.append(("%no-as-needed-flag", ""))
223223
else:

0 commit comments

Comments
 (0)