[all-commits] [llvm/llvm-project] cee08f: [Libomptarget] Do not pass 'nogpulib' to the non-L...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu Oct 26 08:36:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cee08ff342f39f8cd2b3b66f48ecb33d8b5efe65
https://github.com/llvm/llvm-project/commit/cee08ff342f39f8cd2b3b66f48ecb33d8b5efe65
Author: Joseph Huber <35342157+jhuber6 at users.noreply.github.com>
Date: 2023-10-26 (Thu, 26 Oct 2023)
Changed paths:
M openmp/libomptarget/test/lit.cfg
Log Message:
-----------
[Libomptarget] Do not pass 'nogpulib' to the non-LTO Nvidia tests (#70327)
Summary:
For the other tests we pass `-nogpulib` to ensure that we set up the
needed libraries correctly. However, this caused problems for the
non-LTO build and test of Nvidia systems. In general this is because we
would do a separate compile of the libomptarget device runtime and then
link in that cubin. This exercised the runtime in a lot of ways it's not
used to, since doing things this way was hardly expected or tested. This
patch disables it only for the Nvidia non-LTO build so that we still get
the effect of `--liboimptarget-nvptx-bc-path` rather than ignoring it.
More information about the All-commits
mailing list