[Openmp-commits] [PATCH] D144419: Improvements to the OpenMP Windows build

Martin Storsjö via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Mar 24 06:10:39 PDT 2023


mstorsjo added a comment.
Herald added subscribers: jplehr, sunshaoce.

It seems like this change has broken building OpenMP with MSVC as a toplevel project from the `llvm-project/llvm` directory. To reproduce, make a build directory as a subdirectory to `llvm-project/llvm`, and configure it with `cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;openmp"`. When I try to build with `ninja`, I get the following error:

  ninja: error: 'projects/openmp/runtime/src/libomp.dll.lib', needed by 'lib/libomp.lib', missing and no known rule to make it

It seems like some of the subdirectory path prefixes end up applied inconsistently breaking the dependency chain here, making ninja refuse to proceed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144419



More information about the Openmp-commits mailing list