Skip to content

[NO-JIRA] Build the darwin CLI without Homebrew OpenSSL - #16

Merged
johnnymo87 merged 1 commit into
patched/v1.54.0from
patched-macos-build
Nov 20, 2026
Merged

johnnymo87 merged 1 commit into
patched/v1.54.0from
patched-macos-build

Conversation

@johnnymo87

Copy link
Copy Markdown
Owner

Description

  • Follow-up to [NO-JIRA] Publish the aarch64-apple-darwin CLI with each patched release #15. The first darwin backfill failed in llama-cpp-sys-2: on the macos-26 runner image, llama.cpp's vendored cpp-httplib found Homebrew's OpenSSL, which no longer compiles (const X509_NAME) and would have made the binary depend on Homebrew's libssl at runtime. Upstream's darwin binaries link no OpenSSL.
  • New reusable patched-build-macos.yml: upstream's bundle-macos CLI build plus CMAKE_DISABLE_FIND_PACKAGE_OpenSSL=ON (llama-cpp-sys-2 forwards CMAKE_* env to CMake) and a check that the binary links only /usr/lib and /System libraries. Both release workflows call it.

References

The first darwin backfill failed: on the macos-26 runner image, llama.cpp's
vendored cpp-httplib found Homebrew's OpenSSL, which no longer compiles there
(const X509_NAME) and would have made the binary depend on Homebrew's libssl.
Upstream's darwin binaries link no OpenSSL.

patched-build-macos.yml is upstream's bundle-macos.yml CLI build with
CMAKE_DISABLE_FIND_PACKAGE_OpenSSL=ON (llama-cpp-sys-2 forwards CMAKE_* env to
CMake) and a check that the binary links only system libraries. Both release
workflows use it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant