[all-commits] [llvm/llvm-project] f359ea: [CMake][Clang] Copy folder without permissions
Sebastian Neubauer via All-commits
all-commits at lists.llvm.org
Fri Jul 22 01:39:20 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f359eac5df06c1062019fad9aac41f4320899c5f
https://github.com/llvm/llvm-project/commit/f359eac5df06c1062019fad9aac41f4320899c5f
Author: Sebastian Neubauer <Sebastian.Neubauer at amd.com>
Date: 2022-07-22 (Fri, 22 Jul 2022)
Changed paths:
M clang/cmake/modules/CMakeLists.txt
Log Message:
-----------
[CMake][Clang] Copy folder without permissions
Copying the folder keeps the original permissions by default. This
creates problems when the source folder is read-only, e.g. in a
packaging environment.
Then, the copied folder in the build directory is read-only as well.
Later on, with configure_file, ClangConfig.cmake is copied into that
directory (in the build tree), failing when the directory is read-only.
Fix that problem by copying the folder without keeping the original
permissions.
Differential Revision: https://reviews.llvm.org/D130254
More information about the All-commits
mailing list