aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny.ornl@gmail.com>2019-01-04 02:07:13 +0000
committerJoel E. Denny <jdenny.ornl@gmail.com>2019-01-04 02:07:13 +0000
commitf17f7a5d4d365768b7f3d12204691208bb4fc2af (patch)
tree309a944af9b8ae432e61edbb5bd80f697f24822a /llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
parent961fbf21c644cebf3315f12663e2db25bbf764c4 (diff)
downloadllvm-f17f7a5d4d365768b7f3d12204691208bb4fc2af.zip
llvm-f17f7a5d4d365768b7f3d12204691208bb4fc2af.tar.gz
llvm-f17f7a5d4d365768b7f3d12204691208bb4fc2af.tar.bz2
[OpenMP] Fix nvidia-cuda-toolkit detection on Debian/Ubuntu
The OpenMP runtime's cmake scripts do not correctly locate the libdevice that the Debian/Ubuntu package nvidia-cuda-toolkit currently includes, at least on my Ubuntu 18.04.1 installation. This patch fixes that for me. This problem was discussed at length in D55269. D40453 added a similar adjustment in clang, but reviewers of D55269 concluded that, for the OpenMP runtime, the right place to address this problem is in cmake's CUDA support. However, it was also suggested we could add a workaround to OpenMP's cmake scripts now. This patch contains such a workaround, which I've tried to design so that it will have no harmful effect if cmake improves in the future. nvidia-cuda-toolkit also needs improvements because its intended monolithic CUDA tree shim, /usr/lib/cuda, has many empty directories, such as bin. I reported that at: <https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1808999> Reviewed By: grokos Differential Revision: https://reviews.llvm.org/D55588 llvm-svn: 350377
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp')
0 files changed, 0 insertions, 0 deletions