calyx icon indicating copy to clipboard operation
calyx copied to clipboard

Self-contained `fud2` package

Open rachitnigam opened this issue 1 year ago • 1 comments
trafficstars

It would be good to enable fud2 to be installed using a single cargo command (like calyx today):

cargo install fud2`

There are a couple of things stopping us from doing this:

  • [ ] fud2 requires the rsrc directory which is only available through a Calyx checkout. I think this can be relatively easily fixed by including the source of those files within the fud2 files but not the most elegant thing to do.
  • [ ] There are a bunch of tools that need to be installed for fud2 to work with its default states. This can be handled by a fud2 install command or as a part of an interactive build.rs script that gets run when you install fud2.

rachitnigam avatar Feb 06 '24 06:02 rachitnigam

Thanks; yes, making this work in a "standalone" way would be a worthy goal. (I'm linking this to two preexisting bullets on the tracker: one for embedding resource files, and one for fud2 install.)

I don't know if this makes sense, but a maximalist vision here would be that cargo install fud2 is a convenient entry point to the Calyx ecosystem… as in, from there you can fud2 install everything else.

sampsyo avatar Feb 10 '24 13:02 sampsyo