xsimd icon indicating copy to clipboard operation
xsimd copied to clipboard

Pixi dev workflow

Open AntoinePrv opened this issue 1 month ago • 4 comments

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

AntoinePrv avatar Nov 17 '25 15:11 AntoinePrv

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

serge-sans-paille avatar Nov 17 '25 16:11 serge-sans-paille

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

AntoinePrv avatar Nov 17 '25 17:11 AntoinePrv

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

serge-sans-paille avatar Nov 17 '25 20:11 serge-sans-paille

@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!

serge-sans-paille avatar Nov 17 '25 21:11 serge-sans-paille