Repository navigation
Skip Claude and Pi on CPUs without SSE4.2/POPCNT - #8149
Closed
chessing234 wants to merge 3 commits into
Closed
chessing234 wants to merge 3 commits into
chessing234 wants to merge 3 commits into
Conversation
Bun's linux-x64 natives SIGILL on x86-64-v1 (Core 2 Duo and similar). Detect the baseline before install, print a reason, and hide those menu entries. ARM/aarch64, including Apple Silicon and Asahi, still installs.
Stub cpuinfo via OMARCHY_CPUINFO: missing sse4_2 skips install, sse4_2+popcnt and aarch64 still install.
Contributor
There was a problem hiding this comment.
Pull request overview
Prevents Bun-based Claude and Pi binaries from running on unsupported x86 CPUs.
Changes:
- Adds CPU capability detection and guarded mise installation.
- Blocks incompatible default-agent selections and hides menu entries.
- Adds CPU and menu tests.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 4 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
bin/omarchy-hw-cpu-sse4_2 |
Detects Bun-compatible CPUs. |
bin/omarchy-mise-install-bun |
Skips incompatible agents. |
bin/omarchy-default-agent |
Rejects incompatible selections. |
install/user/mise.sh |
Applies guarded installation to Claude and Pi. |
default/omarchy/omarchy-menu.jsonc |
Hides incompatible agent options. |
test/shell.d/bun-agent-cpu-test.sh |
Tests detection and installation behavior. |
test/shell.d/menu-test.sh |
Verifies menu guards. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
chessing234
added a commit
to chessing234/omarchy
that referenced
this pull request
Sep 21, 2026
Contributor
Author
|
folded into #11514 with the other mise/default-agent fixes. |
1 task
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.
Default user setup always installed Claude and Pi through mise. On x86-64-v1 CPUs without SSE4.2/POPCNT (Bun's linux-x64 baseline) both natives install then SIGILL.
omarchy-hw-cpu-sse4_2detects that baseline before install. Missing either flag skips and prints why; ARM/aarch64 (including Apple Silicon/Asahi) still installs. Choosing Claude/Pi as the default agent is refused on incompatible CPUs, and those menu rows are hidden.bun-agent-cpu-test.shstubs cpuinfo: skip without sse4_2, install with flags, install on aarch64.Fixes #7881