[all-commits] [llvm/llvm-project] 472120: [OCaml] Make ocaml_doc installation conditional on...

acture via All-commits all-commits at lists.llvm.org
Wed Oct 15 07:39:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4721202f353aa39a6a652447de8ba4a0195b0e81
      https://github.com/llvm/llvm-project/commit/4721202f353aa39a6a652447de8ba4a0195b0e81
  Author: acture <acturea at gmail.com>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M llvm/docs/CMakeLists.txt

  Log Message:
  -----------
  [OCaml] Make ocaml_doc installation conditional on LLVM_BUILD_DOCS (#154412)

This makes two changes:
 * Only install ocaml docs if LLVM_BUILD_DOCS=ON.
 * Add ocaml_doc target to ALL if LLVM_BUILD_DOCS=ON.

If LLVM_BUILD_DOCS=ON, this ensures that the docs are actually
built before an installation is attempted. For LLVM_BUILD_DOCS=OFF
(the default) this means that there is no attempt to install the
(non-built) ocaml docs anymore.

Fixes #154411.
Fixes #125437.
Fixes #108742.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list