Ensure LLVM_ENABLE_ZLIB is always enabled

Set LLVM_ENABLE_ZLIB=FORCE_ON in order to cause the build to error if
zlib is not found.
This commit is contained in:
Tulio Magno Quites Machado Filho 2024-11-26 15:20:32 -03:00
parent d28725b2de
commit 10ea2dd942

View file

@ -974,7 +974,7 @@ popd
-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON \\\
-DLLVM_ENABLE_PROJECTS="%{projects}" \\\
-DLLVM_ENABLE_RUNTIMES="compiler-rt;openmp;offload" \\\
-DLLVM_ENABLE_ZLIB:BOOL=ON \\\
-DLLVM_ENABLE_ZLIB:BOOL=FORCE_ON \\\
-DLLVM_ENABLE_ZSTD:BOOL=FORCE_ON \\\
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{experimental_targets_to_build} \\\
-DLLVM_INCLUDE_BENCHMARKS=OFF \\\