[all-commits] [llvm/llvm-project] 2b8362: [libsycl] Add $ORIGIN to RPATH for libLLVMSYCL (#2...

Tom Honermann via All-commits all-commits at lists.llvm.org
Thu Sep 24 14:39:41 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b8362fe2e2a04c8905d445fb5e7407dda32e742
      https://github.com/llvm/llvm-project/commit/2b8362fe2e2a04c8905d445fb5e7407dda32e742
  Author: Tom Honermann <tom.honermann at intel.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M libsycl/src/CMakeLists.txt
    A libsycl/test/basic/linux-rpath.test
    M libsycl/test/lit.cfg.py

  Log Message:
  -----------
  [libsycl] Add $ORIGIN to RPATH for libLLVMSYCL (#224885)

Previously, libLLVMSYCL was built and installed without $ORIGIN set in
RPATH on ELF systems. This resulted in load failures due to failure to
find libLLVMOffload when LD_LIBRARY_PATH was not set. This change adds
$ORIGIN to RPATH both when building libLLVMSYCL in a build tree, and
when installing libLLVMSYCL in an install tree.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list