[Openmp-commits] [PATCH] D86419: fix omp post-generation event statement error on windows

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Jul 15 02:27:27 PDT 2022


protze.joachim added inline comments.


================
Comment at: openmp/runtime/cmake/LibompExports.cmake:92
     COMMAND ${CMAKE_COMMAND} -E make_directory ${LIBOMP_EXPORTS_LIB_DIR}
-    COMMAND ${CMAKE_COMMAND} -E copy ${LIBOMPIMP_OUTPUT_DIRECTORY}/${LIBOMP_IMP_LIB_FILE} ${LIBOMP_EXPORTS_LIB_DIR}
+    COMMAND ${CMAKE_COMMAND} -E copy ${LIBOMPIMP_OUTPUT_DIRECTORY}/$(ConfigurationName)/${LIBOMP_IMP_LIB_FILE} ${LIBOMP_EXPORTS_LIB_DIR}
   )
----------------
If I understand @AndreyChurbanov comment right, this change should only apply for MSVC instead of all WIN32, so an additional IF is necessary here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86419/new/

https://reviews.llvm.org/D86419



More information about the Openmp-commits mailing list