[Openmp-commits] [openmp] [openmp] Allow to build doxygen-openmp in the stand alone mode (PR #181723)

via Openmp-commits openmp-commits at lists.llvm.org
Mon Feb 16 11:03:25 PST 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-openmp

Author: Dmitry Vasilyev (slydiman)

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/181723.diff


1 Files Affected:

- (modified) openmp/docs/CMakeLists.txt (+4) 


``````````diff
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})

``````````

</details>


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


More information about the Openmp-commits mailing list