[Openmp-commits] [openmp] [openmp] Allow to build doxygen-openmp in the stand alone mode (PR #181723)
Dmitry Vasilyev via Openmp-commits
openmp-commits at lists.llvm.org
Mon Feb 16 11:03:00 PST 2026
https://github.com/slydiman created https://github.com/llvm/llvm-project/pull/181723
doxygen-openmp can be built in 30 sec but it takes 30 min because of LLVM tools dependencies added by llvm-project/runtimes/CMakeLists.txt. Currently doxygen-openmp requires to build LLVM and clang. We can remove clang dependency adding `if (LLVM_INCLUDE_TESTS)` in 2 CMakeLists.txt files inside openmp but it will not remove LLVM tools dependency. After this patch we can use the stand alone mode to build doxygen-openmp in seconds.
>From 6a0c393296e9c5744ec9258f4cfaa26dd2ac92ef Mon Sep 17 00:00:00 2001
From: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: Mon, 16 Feb 2026 22:49:48 +0400
Subject: [PATCH] Allow to build doxygen-openmp in the stand alone mode
doxygen-openmp can be built in 30 sec but it takes 30 min because of LLVM tools dependencies added by llvm-project/runtimes/CMakeLists.txt. Currently doxygen-openmp requires to build LLVM and clang. We can remove clang dependency adding `if (LLVM_INCLUDE_TESTS)` in 2 CMakeLists.txt files inside openmp but it will not remove LLVM tools dependency. After this patch we can use the stand alone mode to build doxygen-openmp in seconds.
---
openmp/docs/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/openmp/docs/CMakeLists.txt b/openmp/docs/CMakeLists.txt
index 2e60d5471fe61..1c6a579b17c80 100644
--- a/openmp/docs/CMakeLists.txt
+++ b/openmp/docs/CMakeLists.txt
@@ -1,4 +1,8 @@
+if (OPENMP_STANDALONE_BUILD)
+ include(HandleDoxygen)
+endif()
+
if (DOXYGEN_FOUND)
if (LLVM_ENABLE_DOXYGEN)
set(abs_srcdir ${CMAKE_CURRENT_SOURCE_DIR})
More information about the Openmp-commits
mailing list