XLF cpp script permissions on install
Looks like the addition of the XLF preprocessor in !4075 (merged) wasn't quite complete. There's a permissions issue for the installed version of CMake 3.17.0
for this file: Modules/Compiler/XL-Fortran/cpp
None of the cpp
executable bits are set on install, so a manual chmod u+x
is needed after installing. In some cases, this makes CMake unusable for CMake + XLF + Ninja builds since on an HPC machine a developer may not be able to change the permissions bits.
Perhaps this is related to one of the following:
-
XL-Fortran
is the only subdirectory at theModules/Compiler
path, and it has different permissions from the files there - all other files at this path are
.cmake
modules, whilecpp
is not -
cpp
file has executable bits already set in the source--maybe this influences the executable bits set during the install process?