[all-commits] [llvm/llvm-project] d214bf: [OpenMP] Do not link static library with `-nogpulib`
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Jul 12 05:15:35 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d214bfe78d8d79a9c6bce5a7daf8d70135ebc670
https://github.com/llvm/llvm-project/commit/d214bfe78d8d79a9c6bce5a7daf8d70135ebc670
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-07-12 (Tue, 12 Jul 2022)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/test/Driver/openmp-offload-gpu-new.c
Log Message:
-----------
[OpenMP] Do not link static library with `-nogpulib`
Normally we do not link the device libraries if the user passed
`nogpulib` we do this for the standard bitcode library. This behaviour
was not added when using the static library for LTO, causing it to
always be linked in. This patch fixes that.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D129534
More information about the All-commits
mailing list