I am breaking apart D99484 so the cause of build failures is easier to
understand.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
openmp/runtime/src/CMakeLists.txt | ||
---|---|---|
361 | This change seems to have broken one aspect: When doing ninja install I now get a warning saying Error copying file "libomp.dll" to "libiomp5md.dll"., and libiomp5md.dll isn't installed. I believe the reason is that the inline cmake snippet is written to runtime/src/cmake_install.cmake and then executed on install, but on install, ${CMAKE_INSTALL_BINDIR} isn't set (as GNUInstallDirs isn't included there). Should this maybe expand ${CMAKE_INSTALL_BINDIR} right here instead of deferring it to the install cmake, or what's the right course of action? |
This change seems to have broken one aspect: When doing ninja install I now get a warning saying Error copying file "libomp.dll" to "libiomp5md.dll"., and libiomp5md.dll isn't installed.
I believe the reason is that the inline cmake snippet is written to runtime/src/cmake_install.cmake and then executed on install, but on install, ${CMAKE_INSTALL_BINDIR} isn't set (as GNUInstallDirs isn't included there). Should this maybe expand ${CMAKE_INSTALL_BINDIR} right here instead of deferring it to the install cmake, or what's the right course of action?