Addition of `pixi-build-mojo` pixi backend

I’ve added a pixi-build-mojo backend to pixi: https://prefix-dev.github.io/pixi-build-backends/backends/pixi-build-mojo/

This doesn’t have a direct benefit on how we build things today since we still need a standalone recipe to put in the modular-community repo, but hopefully it can be a stepping stone toward a more ergonomic system in the future.

pixi build will build a conda package for your project, and pixi install, if you specify a dependency on yourself via mypackage = {path="."} will install it locally for you to use in your pixi shell`.

Currently this uses “max” as the compiler package. I (or anyone who want’s to make a PR) can update that when we get the next stable mojo release with the new mojo-compiler package.

A very basic project that builds both a mojo package and mojo binary: GitHub - sstadick/pixi-build-mojo-test: Test project for pixi-build-mojo

6 Likes

Very very cool!

1 Like

Beautiful! can’t wait to try it.

1 Like

Another example repo, extramojo now uses pixi-build-mojo backend. ExtraMojo/pixi.toml at main · ExtraMojo/ExtraMojo · GitHub

The pixi-build-mojo backend has been updated to use mojo-compiler as the default compiler for mojo.

2 Likes