[all-commits] [llvm/llvm-project] 55b434: [HIP] add --offload-add-rpath

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Fri Oct 28 08:43:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55b43449978cc7050bef3ec255cbf5c5feee274e
      https://github.com/llvm/llvm-project/commit/55b43449978cc7050bef3ec255cbf5c5feee274e
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2022-10-28 (Fri, 28 Oct 2022)

  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] add --offload-add-rpath

Add an option --[no-]offload-add-rpath to control whether to
pass -rpath to linker for HIP runtime library. By default it
is off to match gcc/clang behavior for not adding -rpath
for runtime library by default.

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D136854




More information about the All-commits mailing list