[all-commits] [llvm/llvm-project] 2d2f96: [openmp] Add a dependency on the separate import l...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Feb 2 16:06:52 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d2f962c9b646e809c58eccf6a46ed6b619ac252
      https://github.com/llvm/llvm-project/commit/2d2f962c9b646e809c58eccf6a46ed6b619ac252
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-02-03 (Sat, 03 Feb 2024)

  Changed paths:
    M openmp/runtime/src/CMakeLists.txt

  Log Message:
  -----------
  [openmp] Add a dependency on the separate import library (#80449)

Currently, when doing e.g. "ninja check-openmp", the check-openmp target
only depends on the target "omp", which builds the library. Thus by
doing that, the separate import library "libomp.lib", which is generated
directly from a def file, never gets created, unless one does a separate
invocation first, that builds all targets.

To fix this, make the "omp" target depend on the target for the separate
import library, whenever that is created/used.




More information about the All-commits mailing list