Skip to content

feat: add Archspec compatibility and known-name lookups#2558

Open
hunger wants to merge 1 commit into
conda:mainfrom
hunger:push-uwpzvsvskomn
Open

feat: add Archspec compatibility and known-name lookups#2558
hunger wants to merge 1 commit into
conda:mainfrom
hunger:push-uwpzvsvskomn

Conversation

@hunger

@hunger hunger commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Adds Archspec::is_compatible_with (host can run code built for the required microarchitecture, via the archspec DAG) and Archspec::from_known_name (None for names the bundled database does not know, instead of inventing a generic node). CONDA_OVERRIDE_ARCHSPEC now rejects unknown microarchitecture names with a hint.

This is mostly exposing a bit of convenience for use in Pixi.

How Has This Been Tested?

By using it in a pixi PR :-)

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.

Tools: Claude

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added sufficient tests to cover my changes.

Adds Archspec::is_compatible_with (host can run code built for the
required microarchitecture, via the archspec DAG) and
Archspec::from_known_name (None for names the bundled database does
not know, instead of inventing a generic node). CONDA_OVERRIDE_ARCHSPEC
now rejects unknown microarchitecture names with a hint.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@hunger

hunger commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator Author

prefix-dev/pixi#6533 makes use of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant