matteosal opened a new issue #20836:
URL: https://github.com/apache/incubator-mxnet/issues/20836


   Building with oneDNN tries to install oneDNN headers in the root directory:
   ```
   CMake Error at 3rdparty/onednn/src/cmake_install.cmake:68 (file):
     file INSTALL cannot copy file
     
"/home/matteo/Git/mxnet-build/Build/Linux-x86-64/MKL/mxnet/3rdparty/onednn/src/../include/dnnl.h"
     to "/onednn/dnnl.h": Permission denied.
   Call Stack (most recent call first):
     3rdparty/onednn/cmake_install.cmake:47 (include)
     cmake_install.cmake:86 (include)
   ```
   I see this on Linux, Mac and Windows.
   It might be due to the fact that `CMAKE_INSTALL_INCLUDEDIR` is an empty 
string in [this 
command](https://github.com/oneapi-src/oneDNN/blob/f40443c413429c29570acd6cf5e3d1343cf647b4/src/CMakeLists.txt#L144),
 although I don't have proof of this.
   
   Moreover, are these headers even needed for anything? I could link to the 
library just fine even without those headers


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org
For additional commands, e-mail: issues-h...@mxnet.apache.org

Reply via email to