[Openmp-commits] [PATCH] D24959: [cmake] Fix for a bug https://llvm.org/bugs/show_bug.cgi?id=30489 "Cannot build with -DLIBOMP_FORTRAN_MODULES=True"

Paul Osmialowski via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 27 04:45:53 PDT 2016


pawosm01 created this revision.
pawosm01 added a reviewer: AndreyChurbanov.
pawosm01 added a subscriber: openmp-commits.
pawosm01 set the repository for this revision to rL LLVM.
Herald added subscribers: mgorny, beanz.

Missing make_directory added.


Repository:
  rL LLVM

https://reviews.llvm.org/D24959

Files:
  runtime/cmake/LibompExports.cmake

Index: runtime/cmake/LibompExports.cmake
===================================================================
--- runtime/cmake/LibompExports.cmake
+++ runtime/cmake/LibompExports.cmake
@@ -64,6 +64,7 @@
 if(${LIBOMP_FORTRAN_MODULES})
   add_custom_command(TARGET libomp-mod POST_BUILD
     COMMAND ${CMAKE_COMMAND} -E make_directory ${LIBOMP_EXPORTS_MOD_DIR}
+    COMMAND ${CMAKE_COMMAND} -E make_directory ${LIBOMP_EXPORTS_CMN_DIR}
     COMMAND ${CMAKE_COMMAND} -E copy omp_lib.h ${LIBOMP_EXPORTS_CMN_DIR}
     COMMAND ${CMAKE_COMMAND} -E copy omp_lib.mod ${LIBOMP_EXPORTS_MOD_DIR}
     COMMAND ${CMAKE_COMMAND} -E copy omp_lib_kinds.mod ${LIBOMP_EXPORTS_MOD_DIR}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24959.72628.patch
Type: text/x-patch
Size: 665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20160927/74cf6907/attachment.bin>


More information about the Openmp-commits mailing list