diff options
| author | acture <acturea@gmail.com> | 2025-10-15 22:38:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-15 16:38:48 +0200 |
| commit | 4721202f353aa39a6a652447de8ba4a0195b0e81 (patch) | |
| tree | 32f266bf0272dc9e57dae6de342c4f72c9dd1a1e /clang/lib/Frontend/CompilerInvocation.cpp | |
| parent | ccf6e0250b5757197788f0fadb896a8912419329 (diff) | |
| download | llvm-4721202f353aa39a6a652447de8ba4a0195b0e81.zip llvm-4721202f353aa39a6a652447de8ba4a0195b0e81.tar.gz llvm-4721202f353aa39a6a652447de8ba4a0195b0e81.tar.bz2 | |
[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.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
