[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"
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Tue Sep 27 09:57:30 PDT 2016
jlpeyton added a comment.
I think this introduces a race during parallel builds where the `POST_BUILD` for the targets `libomp-mod` and `omp` both try to create the `LIBOMP_EXPORTS_CMN_DIR`.
To fix this, directories can be created during configuration time using file(MAKE_DIRECTORY ...). That way, all these lines can be removed:
COMMAND ${CMAKE_COMMAND} -E make_directory ...
Repository:
rL LLVM
https://reviews.llvm.org/D24959
More information about the Openmp-commits
mailing list