Closed sogartar closed 1 year ago
Hello @sogartar, can you, please, provide the steps how you get the hit of this issue?
To get the error you should use for example
cmake -DCMAKE_INSTALL_PREFIX=/usr ...
Hi @sogartar I was able to reproduce the issue with -DCMAKE_INSTALL_PREFIX=/usr
partly, on make
step I got the error which you are talking about. After some reworking CMakeLists.txt
I got permission issue on make install
step because /usr
folder is owned by root. I suppose the fix will be useful, but can you please provide detailed step by step reproducer for verification purposes?
Hi @sogartar, the fix was merged, could you please try updated oneCCL?
Here cmake writes to the install directory which usually is owned by
root
. Usually building is not done byroot
. This causes a write failure.This does not manifest under default conditions because of this dubious change of
CMAKE_INSTALL_PREFIX
.