Repository navigation
Install CBMC from the Sonoma bottle on Intel macOS - #5213
Closed
feliperodri wants to merge 1 commit into
Closed
feliperodri wants to merge 1 commit into
feliperodri wants to merge 1 commit into
Conversation
Homebrew moved Intel Macs to Tier 3, and the openjdk@21 build dependency of the CBMC formula now requires arm64. The tap only has an Intel bottle for macOS 14, so on the macos-15-intel runners brew builds CBMC from source and fails, which fails every Kani CI run on main since 2026-11-20. Install the binaries of the Sonoma bottle instead, after checking its checksum against the tap's formula. Signed-off-by: Felipe R. Monteiro <[email protected]>
Member
Author
|
Closing as completed: this fix was merged as part of #5214 to unblock CI. |
auto-merge was automatically disabled
November 21, 2026 18:25
Pull request was closed
feliperodri
added a commit
to tautschnig/kani
that referenced
this pull request
Nov 21, 2026
Update Rust toolchain from nightly-2026-11-19 to nightly-2026-11-20. This PR also carries two fixes needed to get CI green on this toolchain: - **Install CBMC from the Sonoma bottle on Intel macOS** (from model-checking#5213). Homebrew moved Intel Macs to Tier 3, and the CBMC formula's `openjdk@21` build dependency now requires arm64. Without a macOS 15 Intel bottle, brew built CBMC from source and failed, so every `macos-15-intel` job failed, and fail-fast cancelled the other regression jobs. - **Fix the Cargo and rustc warnings printed on every build** (from model-checking#5207): - inherit `[workspace.lints]` in the six manifests that did not; - drop the `homepage` keys that repeat `repository`; - remove the unused `strum` (`kani_macros`) and `lazy_static` (`cprover_bindings`) dependencies; - mark `std`'s `kani` dependency as used; - drop the `layout_for_ptr` feature gates, which are stable now. The only warning left is the `generic_const_exprs` note tracked in model-checking#4832. --------- Signed-off-by: Felipe R. Monteiro <[email protected]> Co-authored-by: celinval <[email protected]> Co-authored-by: Felipe R. Monteiro <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kani CI has failed on every run since 2026-11-20, on
mainand on PRs. Themacos-15-inteljobs fail while installing CBMC:Fail-fast then cancels the other regression jobs, and
BuildBundle-MacOs-x86_64fails the same way.Cause
The
diffblue/cbmctap only has an Intel bottle for macOS 14 (Sonoma). On the macOS 15 Intel runners,brew installtherefore builds CBMC from source. Homebrew moved Intel Macs to Tier 3, and the formula'sopenjdk@21build dependency now requires arm64, so that build fails before it starts.Change
On Intel Macs,
scripts/setup/macos/install_cbmc.shnow:sonoma:entry in the tap's formula;/usr/local/bin.The bottle is built with
cellar: :any_skip_relocation, so its binaries do not depend on their install location, and binaries built for macOS 14 run on later versions. Arm Macs keep usingbrew install. The script now also printscbmc --version.Testing
I checked locally that the bottle's checksum matches the formula, that the formula parsing picks the Intel Sonoma hash and not the
arm64_sonomaone, and the bottle's layout. The macOS jobs of this PR's CI are the end-to-end test.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.