[all-commits] [llvm/llvm-project] ba8609: [CMake][compiler-rt] Use copying instead of symlin...

Raul Tambre via All-commits all-commits at lists.llvm.org
Sun Mar 7 23:10:55 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba860963b156db3b653c67ef044df877f3cea9cc
      https://github.com/llvm/llvm-project/commit/ba860963b156db3b653c67ef044df877f3cea9cc
  Author: Raul Tambre <raul.tambre at cleveron.com>
  Date:   2021-03-08 (Mon, 08 Mar 2021)

  Changed paths:
    M compiler-rt/lib/builtins/CMakeLists.txt

  Log Message:
  -----------
  [CMake][compiler-rt] Use copying instead of symlinking for LSE builtins on non-Unix-likes

As reported in D93278 post-review symlinking requires privilege escalation on Windows.
Copying is functionally same, so fallback to it for systems that aren't Unix-like.
This is similar to the solution in AddLLVM.cmake.

Reviewed By: ikudrin

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




More information about the All-commits mailing list