]> granicus.if.org Git - clang/commit
[OpenMP] Enable executable lookup into driver directory.
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Wed, 9 Aug 2017 19:52:28 +0000 (19:52 +0000)
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Wed, 9 Aug 2017 19:52:28 +0000 (19:52 +0000)
commit16c706343503911d2ec5e994d9b8fd3f83ac339e
treeb6282c0528def26a065aa5d0beadffe9e22ca191
parent1ba8f524f7139598a19b4b0a16aceb8cce18f71a
[OpenMP] Enable executable lookup into driver directory.

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.

Reviewers: hfinkel, carlo.bertolli, arpith-jacob, ABataev, caomhin

Reviewed By: hfinkel

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D36537

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310513 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Cuda.cpp