Skip to content

[DO NOT MERGE][CMake] Try to FORCE_ON zlib and zstd in LLVM#22626

Closed
guitargeek wants to merge 1 commit into
root-project:masterfrom
guitargeek:llvm_force_on_try
Closed

[DO NOT MERGE][CMake] Try to FORCE_ON zlib and zstd in LLVM#22626
guitargeek wants to merge 1 commit into
root-project:masterfrom
guitargeek:llvm_force_on_try

Conversation

@guitargeek

Copy link
Copy Markdown
Contributor

This is just to confirm/show that the builtin LLVM can't pick up the builtin zlib/zstd.

FYI @hageboeck, that's a useful datapoint when reviewing #22604 I hope

This is just to confirm/show that the builtin LLVM can't pick up the
builtin zlib/zstd.
@guitargeek

Copy link
Copy Markdown
Contributor Author

This PR successfully confirmed that neither the builtin_zstd nor builtin_zlib can be found by LLVM.

The alma10 arm64 (builtin_zlib=ON, builtin_zstd=ON) fails at find_package(zlib):

Call Stack (most recent call first):
  interpreter/llvm-project/llvm/CMakeLists.txt:8 (include)


CMake Error at interpreter/llvm-project/llvm/cmake/config-ix.cmake:180 (message):
  Failed to configure zlib
Call Stack (most recent call first):
  interpreter/llvm-project/llvm/CMakeLists.txt:981 (include)

And macOS 26 (builtin_zlib=OFF, builtin_zstd=ON) fails at find_package(zstd):

Call Stack (most recent call first):
  interpreter/llvm-project/llvm/CMakeLists.txt:8 (include)


CMake Error at interpreter/llvm-project/llvm/cmake/config-ix.cmake:193 (message):
  Failed to configure zstd, but LLVM_ENABLE_ZSTD is FORCE_ON
Call Stack (most recent call first):
  interpreter/llvm-project/llvm/CMakeLists.txt:981 (include)

@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown

Test Results

    14 files      14 suites   2d 4h 13m 7s ⏱️
 3 844 tests  3 844 ✅ 0 💤 0 ❌
47 810 runs  47 810 ✅ 0 💤 0 ❌

Results for commit 2ec934b.

♻️ This comment has been updated with latest results.

@guitargeek guitargeek closed this Jun 16, 2026
@guitargeek guitargeek reopened this Jun 16, 2026
@guitargeek guitargeek closed this Jun 17, 2026
@guitargeek guitargeek deleted the llvm_force_on_try branch June 17, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant