Skip to content

feat(build): build only a specific variant #4877

Closed

Description

@cpcloud

Problem description

I'd like to be able to build a specific build-variant, because I'd like to parallelize my package build across the build variant in CI. I don't see an option in pixi build to do this, and it appears that pixi builds the full build variant matrix when pixi build is invoked.

Activity

  1. changed the title [-]Ability to build a specific build-variant[/-] [+]feat(build): build only a specific variant[/+] on Nov 3, 2025
  2. ruben-arts commented on Apr 8, 2026

    @ruben-arts
    Contributor

    I agree, we should be able to provide the same input to pixi build as to rattler-build build for this case that should be:

    pixi build --variant python=3.12 --variant cuda-version=12.8,13.0
    pixi build --variant-config/-m variants.yaml 
    
  3. wolfv commented on May 13, 2026

    @wolfv
    Member

    In my opinion it would also be an option to select a package by build string, maybe? Although that might change over time if more / less variants are added.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions