[all-commits] [llvm/llvm-project] 5c602c: Use LLVM_USE_SYMLINKS option in install_symlink

Michael Platings via All-commits all-commits at lists.llvm.org
Tue Mar 7 23:27:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c602c46b1ef36e00dcbdfef3186eabb3655481d
      https://github.com/llvm/llvm-project/commit/5c602c46b1ef36e00dcbdfef3186eabb3655481d
  Author: Michael Platings <michael.platings at arm.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/cmake/modules/LLVMInstallSymlink.cmake

  Log Message:
  -----------
  Use LLVM_USE_SYMLINKS option in install_symlink

The change to potentially use symlinks on Windows was added in
https://reviews.llvm.org/D99170.

LLVM_USE_SYMLINKS was added more recently in
https://reviews.llvm.org/D135578 and allows specifying at configure time
whether or not symlinks should be created. The benefit of using this
option is it allows building the package on a symlink-capable Windows
machine with symlinks disabled so that the resulting package can be used
on a Windows machine that doesn't support symlinks.

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




More information about the All-commits mailing list