[PATCH] D143306: [Driver] Default to -fno-openmp-implicit-rpath
Jon Chesterfield via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 22 06:43:27 PST 2023
JonChesterfield added inline comments.
================
Comment at: clang/include/clang/Driver/Options.td:4218-4223
defm openmp_implicit_rpath: BoolFOption<"openmp-implicit-rpath",
LangOpts<"OpenMP">,
- DefaultTrue,
+ DefaultFalse,
PosFlag<SetTrue, [], "Set rpath on OpenMP executables">,
NegFlag<SetFalse>,
BothFlags<[NoArgumentUnused]>>;
----------------
MaskRay wrote:
> yaxunl wrote:
> > I am wondering whether this option can be aliased to `--offload-add-rpath`, which seems to have the same purpose. (https://reviews.llvm.org/D136854)
> It can be aliased to `--[no-]offload-add-rpath`, but I think it probably makes sense to drop this option completely. This patch as-is is useful for backporting into 16.x.
Folding the flags together seems good to me, I'd have probably used offload-add-rpath in the initial implementation if I spotted it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143306/new/
https://reviews.llvm.org/D143306
More information about the cfe-commits
mailing list