Skip to content

Commit 7203497

Browse files
authored
[docs] Update LLVM_ENABLE_ZLIB/LLVM_ENABLE_ZSTD (#65218)
e6c7ed6 changed LLVM_ENABLE_ZLIB to a tri-state. Update the doc. Add doc for LLVM_ENABLE_ZSTD. Close #65201
1 parent fa8e740 commit 7203497

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

llvm/docs/CMake.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,9 +600,15 @@ enabled sub-projects. Nearly all of these variable names begin with
600600
If enabled, the Z3 constraint solver is activated for the Clang static analyzer.
601601
A recent version of the z3 library needs to be available on the system.
602602

603-
**LLVM_ENABLE_ZLIB**:BOOL
604-
Enable building with zlib to support compression/uncompression in LLVM tools.
605-
Defaults to ON.
603+
**LLVM_ENABLE_ZLIB**:STRING
604+
Used to decide if LLVM tools should support compression/decompression with
605+
zlib. Allowed values are ``OFF``, ``ON`` (default, enable if zlib is found),
606+
and ``FORCE_ON`` (error if zlib is not found).
607+
608+
**LLVM_ENABLE_ZSTD**:STRING
609+
Used to decide if LLVM tools should support compression/decompression with
610+
zstd. Allowed values are ``OFF``, ``ON`` (default, enable if zstd is found),
611+
and ``FORCE_ON`` (error if zstd is not found).
606612

607613
**LLVM_EXPERIMENTAL_TARGETS_TO_BUILD**:STRING
608614
Semicolon-separated list of experimental targets to build and linked into

0 commit comments

Comments
 (0)