Skip to content

Bump to Lean v4.33.0; support prebuilt system libraries - #198

Merged
Peiyang-Song merged 1 commit into
mainfrom
bump-lean-v4.33.0
Aug 19, 2026
Merged

Bump to Lean v4.33.0; support prebuilt system libraries#198
Peiyang-Song merged 1 commit into
mainfrom
bump-lean-v4.33.0

Conversation

@Peiyang-Song

Copy link
Copy Markdown
Member

Summary

  • Bump lean-toolchain to v4.33.0, aesop to 3448c0bcc5ce01b2d1546e483ec3620e32df3d0e, and batteries to 4488d40d070b9700d4d5a6aa342f0d40c31b2a2d.
  • Add -KsystemOpenblas / -KsystemCtranslate2Lib / -KsystemCtranslate2Include lake config options so distros that already package OpenBLAS/CTranslate2 (e.g. Nix) can point Lean Copilot at prebuilt libraries instead of building from source, addressing Support passing in prebuilt system library dependencies #187.
  • Clarify in the README that a downstream build falls back to building from source (and therefore needs CMake/a C++17 compiler) on any platform we don't publish a release for.

Test plan

  • lake build LeanCopilot succeeds locally against the new toolchain/pins (709 jobs).
  • lake build leanffi_exe_smoke_test succeeds and the resulting binary runs correctly (regression test for lean_exe link fails with undefined libstdc++ symbols from libleanffi.a (lean_lib works fine) #196).
  • Verified the new -KsystemCtranslate2Lib/-KsystemCtranslate2Include/-KsystemOpenblas config options correctly skip the from-source build and copy prebuilt artifacts instead.
  • CI (full matrix build + model download + test suite on macOS/Linux)

🤖 Generated with Claude Code

- lean-toolchain -> v4.33.0, aesop -> 3448c0bcc5ce01b2d1546e483ec3620e32df3d0e,
  batteries -> 4488d40d070b9700d4d5a6aa342f0d40c31b2a2d. LeanCopilot itself
  builds and links cleanly against this toolchain (verified locally,
  including the lean_exe smoke test for #196).

- Add -KsystemOpenblas / -KsystemCtranslate2Lib / -KsystemCtranslate2Include
  lake config options so distros that already package OpenBLAS/CTranslate2
  (e.g. Nix) can point Lean Copilot at their own prebuilt libraries instead
  of cloning and compiling from source, fixing #187.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Peiyang-Song
Peiyang-Song merged commit 5e00f2d into main Aug 19, 2026
2 checks passed
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