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

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Tue Apr 16 13:06:09 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()
----------------
jhuber6 wrote:

Why "OpenMP?" Shouldn't it of `offload`? This is definitely required for standalone compilation however.

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


More information about the Openmp-commits mailing list