This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Enable executable lookup into driver directory.
ClosedPublic

Authored by gtbercea on Aug 9 2017, 11:48 AM.

Details

Summary

Invoking the compiler inside a script causes the clang-offload-bundler executable to not be found. This patch enables the lookup for executables in the driver directory where the clang-offload-bundler resides.

Event Timeline

gtbercea created this revision.Aug 9 2017, 11:48 AM
hfinkel accepted this revision.Aug 9 2017, 11:53 AM

I think this is fine, but please add a comment explaining that you're doing this to find (e.g., to find the offload bundler, etc.).

This revision is now accepted and ready to land.Aug 9 2017, 11:53 AM
gtbercea updated this revision to Diff 110447.Aug 9 2017, 12:02 PM

Add comment.

gtbercea edited the summary of this revision. (Show Details)Aug 9 2017, 12:03 PM
gtbercea closed this revision.Aug 9 2017, 12:53 PM