diff options
author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-09-27 16:12:32 +0000 |
---|---|---|
committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-09-27 16:12:32 +0000 |
commit | a981f67bcde2f7e0d8c2f1b268c0a156c9e2fef5 (patch) | |
tree | e2628ce1674e681520da37a1fbd5791183a74bf0 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | a4f68bf4adcd2cc3457a4028e7f0bf7eb89dc002 (diff) | |
download | llvm-a981f67bcde2f7e0d8c2f1b268c0a156c9e2fef5.zip llvm-a981f67bcde2f7e0d8c2f1b268c0a156c9e2fef5.tar.gz llvm-a981f67bcde2f7e0d8c2f1b268c0a156c9e2fef5.tar.bz2 |
[OpenMP] Improve search for libomptarget-nvptx
When looking for the bclib Clang considered the default library
path first while it preferred directories in LIBRARY_PATH when
constructing the invocation of nvlink. The latter actually makes
more sense because during development it allows using a non-default
runtime library. So change the search for the bclib to start
looking in directories given by LIBRARY_PATH.
Additionally add a new option --libomptarget-nvptx-path= which
will be searched first. This will be handy for testing purposes.
Differential Revision: https://reviews.llvm.org/D51686
llvm-svn: 343230
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions