[all-commits] [llvm/llvm-project] abe93d: [libclc] Fix installed symlinks to be relative aga...

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Jul 21 11:59:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abe93d9d7e891a2a6596ddb0c6324280137c89dc
      https://github.com/llvm/llvm-project/commit/abe93d9d7e891a2a6596ddb0c6324280137c89dc
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M libclc/cmake/modules/AddLibclc.cmake

  Log Message:
  -----------
  [libclc] Fix installed symlinks to be relative again (#149728)

Fix the symlink creation logic to use relative paths instead of
absolute, in order to ensure that the installed symlinks actually refer
to the installed .bc files rather than the ones from the build
directory. This was broken in #146833. The change is a bit roundabout
but it attempts to preserve the spirit of #146833, that is the ability
to use multiple output directories (provided they all resides in
`${LIBCLC_OUTPUT_LIBRARY_DIR}` and preserve the same structure in the
installed tree).

Signed-off-by: Michał Górny <mgorny at gentoo.org>



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