[all-commits] [llvm/llvm-project] 43c90f: [HIP] Make `--offload-add-rpath` alias of `-frtlib...
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Sat Mar 11 10:34:09 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 43c90f905a2293dde1d6975e6747ce50063cd155
https://github.com/llvm/llvm-project/commit/43c90f905a2293dde1d6975e6747ce50063cd155
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2023-03-11 (Sat, 11 Mar 2023)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Linux.cpp
M clang/test/Driver/hip-runtime-libs-linux.hip
Log Message:
-----------
[HIP] Make `--offload-add-rpath` alias of `-frtlib-add-rpath`
HIP runtime is the language runtime of HIP. When users need
to specify rpath, they usually need to specify rpath for
both compiler-rt and HIP runtime. It seems redundant
to have separate options. Therefore make --offload-add-rpath
an alias to -frtlib-add-rpath.
Reviewed by: Fangrui Song, Artem Belevich
Differential Revision: https://reviews.llvm.org/D145393
More information about the All-commits
mailing list