[Openmp-commits] [openmp] add include(AddLLVM) to openmp standalone build when building docs (PR #171157)
Raymond Baker via Openmp-commits
openmp-commits at lists.llvm.org
Mon Dec 8 08:58:32 PST 2025
https://github.com/RaymondBakerIBM updated https://github.com/llvm/llvm-project/pull/171157
>From 08780600a54d78ea2c31ee4745c10847008711f0 Mon Sep 17 00:00:00 2001
From: Raymond Baker <raymond.baker at ibm.com>
Date: Mon, 8 Dec 2025 11:08:44 -0500
Subject: [PATCH] add include(AddLLVM) to openmp standalone build when
LLVM_ENABLE_SPHINX is true
---
openmp/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/openmp/CMakeLists.txt b/openmp/CMakeLists.txt
index df568419824a6..7e71f47385f76 100644
--- a/openmp/CMakeLists.txt
+++ b/openmp/CMakeLists.txt
@@ -29,6 +29,10 @@ if (OPENMP_STANDALONE_BUILD)
set(CMAKE_BUILD_TYPE Release)
endif()
+ if (LLVM_ENABLE_SPHINX)
+ include(AddLLVM)
+ endif()
+
# Group common settings.
set(OPENMP_ENABLE_WERROR FALSE CACHE BOOL
"Enable -Werror flags to turn warnings into errors for supporting compilers.")
More information about the Openmp-commits
mailing list