[Openmp-commits] [PATCH] D89426: [libomptarget] Require LLVM source tree to build libomptarget

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Oct 16 07:19:52 PDT 2020


protze.joachim added a comment.

In openmp/CMakeLists.txt there is ENABLE_LIBOMPTARGET to decide about the default value for the CMake option OPENMP_ENABLE_LIBOMPTARGET.  This way libomptarget gets disabled on apple and win32 by default.

  if (OPENMP_STANDALONE_BUILD and NOT LLVM_MAIN_INCLUDE_DIR)
    set(ENABLE_LIBOMPTARGET OFF)
  endif()

`cmake -DOPENMP_ENABLE_LIBOMPTARGET=ON` would allow to overwrite this default.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89426



More information about the Openmp-commits mailing list