Skip to content

Pixi dev workflow #1209

Open
Open

Description

@AntoinePrv

Currently, I locally use Pixi which is a modern project-oriented Conda environment manager, which I would like to contribute here.

It can easily manage multiple environment and tasks (along with task dependencies).
I have it setup so that running pixi run -e clang-17 test debug-avx will run an avx build with clang-17 compiler from scratch.
That is, this command is all it takes to get stated, from there dependencies download, env creation, building are all done automatically (with caching).

It's extremely convenient to quickly test any configuration, and very friendly to beginners.
Of course, having such manifest file does not mean all developers have to use it, the project keep working without.

As discussed with @JohanMabille

Activity

  1. serge-sans-paille commented on Nov 17, 2025

    @serge-sans-paille
    Contributor

    I guess we can have a contrib directory for this kind of third-party utilities?

  2. AntoinePrv commented on Nov 17, 2025

    @AntoinePrv
    ContributorAuthor

    Though to make it friendly to use, it's better if it is in the root folder.

  3. serge-sans-paille commented on Nov 17, 2025

    @serge-sans-paille
    Contributor

    ok, let's go for a minimal pixi.toml at the root of the repo.

  4. serge-sans-paille commented on Nov 17, 2025

    @serge-sans-paille
    Contributor

    @AntoinePrv if you do so, could you contribute a developer section to the doc explaining the setup, and add github action for a sample pixi usage within xsimd? Thanks!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions