diff --git a/bolt/docs/CMakeLists.txt b/bolt/docs/CMakeLists.txt index 12ae85256678..897a0ae04325 100644 --- a/bolt/docs/CMakeLists.txt +++ b/bolt/docs/CMakeLists.txt @@ -48,14 +48,6 @@ if (LLVM_ENABLE_DOXYGEN) set(bolt_doxygen_qhp_cust_filter_attrs "") endif() - option(LLVM_DOXYGEN_SVG - "Use svg instead of png files for doxygen graphs." OFF) - if (LLVM_DOXYGEN_SVG) - set(DOT_IMAGE_FORMAT "svg") - else() - set(DOT_IMAGE_FORMAT "png") - endif() - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen.cfg.in ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg @ONLY) @@ -73,7 +65,6 @@ if (LLVM_ENABLE_DOXYGEN) set(bolt_doxygen_qhelpgenerator_path) set(bolt_doxygen_qhp_cust_filter_name) set(bolt_doxygen_qhp_cust_filter_attrs) - set(DOT_IMAGE_FORMAT) add_custom_target(doxygen-bolt COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg diff --git a/bolt/docs/doxygen.cfg.in b/bolt/docs/doxygen.cfg.in index 01571e79555c..538285f47d92 100644 --- a/bolt/docs/doxygen.cfg.in +++ b/bolt/docs/doxygen.cfg.in @@ -2210,7 +2210,7 @@ DIRECTORY_GRAPH = YES # The default value is: png. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_IMAGE_FORMAT = @DOT_IMAGE_FORMAT@ +DOT_IMAGE_FORMAT = svg # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to # enable generation of interactive SVG images that allow zooming and panning. diff --git a/clang-tools-extra/docs/CMakeLists.txt b/clang-tools-extra/docs/CMakeLists.txt index 272db266b505..1eb9dc294f22 100644 --- a/clang-tools-extra/docs/CMakeLists.txt +++ b/clang-tools-extra/docs/CMakeLists.txt @@ -46,14 +46,6 @@ if (DOXYGEN_FOUND) set(clang_tools_doxygen_qhp_cust_filter_attrs "") endif() - option(LLVM_DOXYGEN_SVG - "Use svg instead of png files for doxygen graphs." OFF) - if (LLVM_DOXYGEN_SVG) - set(DOT_IMAGE_FORMAT "svg") - else() - set(DOT_IMAGE_FORMAT "png") - endif() - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen.cfg.in ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg @ONLY) @@ -71,7 +63,6 @@ if (DOXYGEN_FOUND) set(clang_tools_doxygen_qhelpgenerator_path) set(clang_tools_doxygen_qhp_cust_filter_name) set(clang_tools_doxygen_qhp_cust_filter_attrs) - set(DOT_IMAGE_FORMAT) add_custom_target(doxygen-clang-tools COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg diff --git a/clang-tools-extra/docs/doxygen.cfg.in b/clang-tools-extra/docs/doxygen.cfg.in index df33a6390638..d33094f099ac 100644 --- a/clang-tools-extra/docs/doxygen.cfg.in +++ b/clang-tools-extra/docs/doxygen.cfg.in @@ -2205,7 +2205,7 @@ DIRECTORY_GRAPH = YES # The default value is: png. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_IMAGE_FORMAT = @DOT_IMAGE_FORMAT@ +DOT_IMAGE_FORMAT = svg # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to # enable generation of interactive SVG images that allow zooming and panning. diff --git a/clang/docs/CMakeLists.txt b/clang/docs/CMakeLists.txt index 4fecc007f599..ca625efc6cce 100644 --- a/clang/docs/CMakeLists.txt +++ b/clang/docs/CMakeLists.txt @@ -47,14 +47,6 @@ if (LLVM_ENABLE_DOXYGEN) set(clang_doxygen_qhp_cust_filter_attrs "") endif() - option(LLVM_DOXYGEN_SVG - "Use svg instead of png files for doxygen graphs." OFF) - if (LLVM_DOXYGEN_SVG) - set(DOT_IMAGE_FORMAT "svg") - else() - set(DOT_IMAGE_FORMAT "png") - endif() - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen.cfg.in ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg @ONLY) @@ -72,7 +64,6 @@ if (LLVM_ENABLE_DOXYGEN) set(clang_doxygen_qhelpgenerator_path) set(clang_doxygen_qhp_cust_filter_name) set(clang_doxygen_qhp_cust_filter_attrs) - set(DOT_IMAGE_FORMAT) add_custom_target(doxygen-clang COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg diff --git a/clang/docs/doxygen.cfg.in b/clang/docs/doxygen.cfg.in index 251afb179b20..09764efc2261 100644 --- a/clang/docs/doxygen.cfg.in +++ b/clang/docs/doxygen.cfg.in @@ -2193,7 +2193,7 @@ DIRECTORY_GRAPH = YES # The default value is: png. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_IMAGE_FORMAT = @DOT_IMAGE_FORMAT@ +DOT_IMAGE_FORMAT = svg # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to # enable generation of interactive SVG images that allow zooming and panning. diff --git a/flang/docs/CMakeLists.txt b/flang/docs/CMakeLists.txt index 774fa4c74569..92feb059d4ca 100644 --- a/flang/docs/CMakeLists.txt +++ b/flang/docs/CMakeLists.txt @@ -48,14 +48,6 @@ if (LLVM_ENABLE_DOXYGEN) set(flang_doxygen_qhp_cust_filter_attrs "") endif() - option(LLVM_DOXYGEN_SVG - "Use svg instead of png files for doxygen graphs." OFF) - if (LLVM_DOXYGEN_SVG) - set(DOT_IMAGE_FORMAT "svg") - else() - set(DOT_IMAGE_FORMAT "png") - endif() - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen.cfg.in ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg @ONLY) @@ -73,7 +65,6 @@ if (LLVM_ENABLE_DOXYGEN) set(flang_doxygen_qhelpgenerator_path) set(flang_doxygen_qhp_cust_filter_name) set(flang_doxygen_qhp_cust_filter_attrs) - set(DOT_IMAGE_FORMAT) add_custom_target(doxygen-flang COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg diff --git a/flang/docs/doxygen.cfg.in b/flang/docs/doxygen.cfg.in index 2782ded84aa0..cbbe87d92dc9 100644 --- a/flang/docs/doxygen.cfg.in +++ b/flang/docs/doxygen.cfg.in @@ -2208,7 +2208,7 @@ DIRECTORY_GRAPH = YES # The default value is: png. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_IMAGE_FORMAT = @DOT_IMAGE_FORMAT@ +DOT_IMAGE_FORMAT = svg # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to # enable generation of interactive SVG images that allow zooming and panning. diff --git a/lldb/docs/doxygen.cfg.in b/lldb/docs/doxygen.cfg.in index be8a21a535bd..2bb7abbde47a 100644 --- a/lldb/docs/doxygen.cfg.in +++ b/lldb/docs/doxygen.cfg.in @@ -1571,7 +1571,7 @@ DIRECTORY_GRAPH = YES # generated by dot. Possible values are png, jpg, or gif # If left blank png will be used. -DOT_IMAGE_FORMAT = png +DOT_IMAGE_FORMAT = svg # The tag DOT_PATH can be used to specify the path where the dot tool can be # found. If left blank, it is assumed the dot tool can be found in the path. diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst index 8d01b4d8b3dc..c5744ea0f2ec 100644 --- a/llvm/docs/CMake.rst +++ b/llvm/docs/CMake.rst @@ -469,9 +469,6 @@ enabled sub-projects. Nearly all of these variable names begin with combination with ``-DLLVM_ENABLE_DOXYGEN_QT_HELP=ON``; otherwise it has no effect. -**LLVM_DOXYGEN_SVG**:BOOL - Uses .svg files instead of .png files for graphs in the Doxygen output. - Defaults to OFF. .. _llvm_enable_assertions: diff --git a/llvm/docs/CMakeLists.txt b/llvm/docs/CMakeLists.txt index bc87eb727d32..b4522e3649d9 100644 --- a/llvm/docs/CMakeLists.txt +++ b/llvm/docs/CMakeLists.txt @@ -56,14 +56,6 @@ if (LLVM_ENABLE_DOXYGEN) set(llvm_doxygen_qhp_cust_filter_attrs "") endif() - option(LLVM_DOXYGEN_SVG - "Use svg instead of png files for doxygen graphs." OFF) - if (LLVM_DOXYGEN_SVG) - set(DOT_IMAGE_FORMAT "svg") - else() - set(DOT_IMAGE_FORMAT "png") - endif() - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen.cfg.in ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg @ONLY) @@ -81,7 +73,6 @@ if (LLVM_ENABLE_DOXYGEN) set(llvm_doxygen_qhelpgenerator_path) set(llvm_doxygen_qhp_cust_filter_name) set(llvm_doxygen_qhp_cust_filter_attrs) - set(DOT_IMAGE_FORMAT) add_custom_target(doxygen-llvm COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg diff --git a/llvm/docs/doxygen.cfg.in b/llvm/docs/doxygen.cfg.in index 4f2f02f400bb..82b281ad103b 100644 --- a/llvm/docs/doxygen.cfg.in +++ b/llvm/docs/doxygen.cfg.in @@ -2194,7 +2194,7 @@ DIRECTORY_GRAPH = YES # The default value is: png. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_IMAGE_FORMAT = @DOT_IMAGE_FORMAT@ +DOT_IMAGE_FORMAT = svg # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to # enable generation of interactive SVG images that allow zooming and panning. diff --git a/llvm/utils/release/build-docs.sh b/llvm/utils/release/build-docs.sh index fb2173d39daf..bc32f209419e 100755 --- a/llvm/utils/release/build-docs.sh +++ b/llvm/utils/release/build-docs.sh @@ -113,7 +113,7 @@ fi if [ "$no_doxygen" != "yes" ]; then echo "Doxygen: enabled" doxygen_targets="$docs_target doxygen-clang doxygen-clang-tools doxygen-flang doxygen-llvm doxygen-mlir doxygen-polly" - doxygen_flag=" -DLLVM_ENABLE_DOXYGEN=ON -DLLVM_DOXYGEN_SVG=ON" + doxygen_flag=" -DLLVM_ENABLE_DOXYGEN=ON" else echo "Doxygen: disabled" fi diff --git a/mlir/docs/CMakeLists.txt b/mlir/docs/CMakeLists.txt index 43192569847c..b32b9427adb5 100644 --- a/mlir/docs/CMakeLists.txt +++ b/mlir/docs/CMakeLists.txt @@ -47,14 +47,6 @@ if (LLVM_ENABLE_DOXYGEN) set(mlir_doxygen_qhp_cust_filter_attrs "") endif() - option(LLVM_DOXYGEN_SVG - "Use svg instead of png files for doxygen graphs." OFF) - if (LLVM_DOXYGEN_SVG) - set(DOT_IMAGE_FORMAT "svg") - else() - set(DOT_IMAGE_FORMAT "png") - endif() - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen.cfg.in ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg @ONLY) @@ -72,7 +64,6 @@ if (LLVM_ENABLE_DOXYGEN) set(mlir_doxygen_qhelpgenerator_path) set(mlir_doxygen_qhp_cust_filter_name) set(mlir_doxygen_qhp_cust_filter_attrs) - set(DOT_IMAGE_FORMAT) add_custom_target(doxygen-mlir COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg diff --git a/mlir/docs/doxygen.cfg.in b/mlir/docs/doxygen.cfg.in index 6c437ea138c2..255041b6817a 100644 --- a/mlir/docs/doxygen.cfg.in +++ b/mlir/docs/doxygen.cfg.in @@ -2194,7 +2194,7 @@ DIRECTORY_GRAPH = YES # The default value is: png. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_IMAGE_FORMAT = @DOT_IMAGE_FORMAT@ +DOT_IMAGE_FORMAT = svg # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to # enable generation of interactive SVG images that allow zooming and panning. diff --git a/openmp/docs/CMakeLists.txt b/openmp/docs/CMakeLists.txt index 4cb9fb486ff3..2e60d5471fe6 100644 --- a/openmp/docs/CMakeLists.txt +++ b/openmp/docs/CMakeLists.txt @@ -47,14 +47,6 @@ if (LLVM_ENABLE_DOXYGEN) set(openmp_doxygen_qhp_cust_filter_attrs "") endif() - option(LLVM_DOXYGEN_SVG - "Use svg instead of png files for doxygen graphs." OFF) - if (LLVM_DOXYGEN_SVG) - set(DOT_IMAGE_FORMAT "svg") - else() - set(DOT_IMAGE_FORMAT "png") - endif() - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen.cfg.in ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg @ONLY) @@ -72,7 +64,6 @@ if (LLVM_ENABLE_DOXYGEN) set(openmp_doxygen_qhelpgenerator_path) set(openmp_doxygen_qhp_cust_filter_name) set(openmp_doxygen_qhp_cust_filter_attrs) - set(DOT_IMAGE_FORMAT) add_custom_target(doxygen-openmp COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg diff --git a/openmp/docs/doxygen.cfg.in b/openmp/docs/doxygen.cfg.in index 6292a453f749..07964e90c8ea 100644 --- a/openmp/docs/doxygen.cfg.in +++ b/openmp/docs/doxygen.cfg.in @@ -2194,7 +2194,7 @@ DIRECTORY_GRAPH = YES # The default value is: png. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_IMAGE_FORMAT = @DOT_IMAGE_FORMAT@ +DOT_IMAGE_FORMAT = svg # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to # enable generation of interactive SVG images that allow zooming and panning. diff --git a/openmp/runtime/doc/doxygen/config b/openmp/runtime/doc/doxygen/config index 04c966766ba6..0d8a3ec32210 100644 --- a/openmp/runtime/doc/doxygen/config +++ b/openmp/runtime/doc/doxygen/config @@ -1746,7 +1746,7 @@ DIRECTORY_GRAPH = YES # HTML_FILE_EXTENSION to xhtml in order to make the SVG files # visible in IE 9+ (other browsers do not have this requirement). -DOT_IMAGE_FORMAT = png +DOT_IMAGE_FORMAT = svg # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to # enable generation of interactive SVG images that allow zooming and panning. diff --git a/polly/docs/CMakeLists.txt b/polly/docs/CMakeLists.txt index 2bd16e53c542..8b801339962c 100644 --- a/polly/docs/CMakeLists.txt +++ b/polly/docs/CMakeLists.txt @@ -46,14 +46,6 @@ if (LLVM_ENABLE_DOXYGEN) set(polly_doxygen_qhp_cust_filter_attrs "") endif() - option(LLVM_DOXYGEN_SVG - "Use svg instead of png files for doxygen graphs." OFF) - if (LLVM_DOXYGEN_SVG) - set(DOT_IMAGE_FORMAT "svg") - else() - set(DOT_IMAGE_FORMAT "png") - endif() - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen.cfg.in ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg @ONLY) @@ -71,7 +63,6 @@ if (LLVM_ENABLE_DOXYGEN) set(polly_doxygen_qhelpgenerator_path) set(polly_doxygen_qhp_cust_filter_name) set(polly_doxygen_qhp_cust_filter_attrs) - set(DOT_IMAGE_FORMAT) add_custom_target(doxygen-polly COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg diff --git a/polly/docs/doxygen.cfg.in b/polly/docs/doxygen.cfg.in index a553fc8154fb..5c4e8a637282 100644 --- a/polly/docs/doxygen.cfg.in +++ b/polly/docs/doxygen.cfg.in @@ -2206,7 +2206,7 @@ DIRECTORY_GRAPH = YES # The default value is: png. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_IMAGE_FORMAT = @DOT_IMAGE_FORMAT@ +DOT_IMAGE_FORMAT = svg # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to # enable generation of interactive SVG images that allow zooming and panning.