[all-commits] [llvm/llvm-project] 272d1b: [libcxx] [modules] Fix relative paths with absolut...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed Mar 20 01:46:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 272d1b44efdedb68c194970a610f0ca1b7b769c5
      https://github.com/llvm/llvm-project/commit/272d1b44efdedb68c194970a610f0ca1b7b769c5
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-03-20 (Wed, 20 Mar 2024)

  Changed paths:
    M libcxx/modules/CMakeLists.txt

  Log Message:
  -----------
  [libcxx] [modules] Fix relative paths with absolute LIBCXX_INSTALL_MODULES_DIR (#85756)

In other contexts, install directories such as
LIBCXX_INSTALL_LIBRARY_DIR and LIBCXX_INSTALL_MODULES_DIR can be
specified either as a relative path, relative to CMAKE_INSTALL_PREFIX,
or as an absolute path.

When calculating the relative path between the two, account for the fact
that LIBCXX_INSTALL_MODULES_DIR and LIBCXX_INSTALL_LIBRARY_DIR can be
absolute paths too.



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