[llvm] [openmp] [WIP] Offload standalone (PR #88957)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 15:47:12 PDT 2024


================
@@ -10,6 +10,13 @@
 #
 ##===----------------------------------------------------------------------===##
 
+cmake_minimum_required(VERSION 3.20.0)
+
+if (OPENMP_STANDALONE_BUILD OR "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
+  set(OPENMP_STANDALONE_BUILD TRUE)
+  project(omptarget C CXX ASM)
+endif()
----------------
estewart08 wrote:

Because the libomptarget folder was just renamed offload, all of the checks were not renamed. So we stuck with OPENMP_STANDALONE_BUILD.

https://github.com/llvm/llvm-project/pull/88957


More information about the llvm-commits mailing list