build stack for clasp

Attila Lendvai attila at lendvai.name
Mon Apr 12 23:59:07 UTC 2021


> Unhappily, I don't have much time to look into this. I see a 2.2kloc
> 104KB wscript plus extra shell scripts, and I step back slowly without
> taking the threat out of my sight until I'm far enough to run away as
> fast as I can. No. Nope. Not unless there's money involved in cleaning
> the mess.


heh, fair enough! :) i wasn't even expecting you to look.


> In general, I recommend writing your script and build system in Lisp.
> When there are multiple repositories involved, I currently use Nix to
> ensure the build is reproducible though I am considering migrating to
> GUIX. If you need high parallelism in a single repo or across repos, I
> recommend bazel.


i'm also rather happy with Nix(OS). i already started putting together
a default.nix file for clasp, and i'll play with it more tomorrow.

(it encodes all the necessary external dependencies, and automates
setting up an environment with them on any linux where Nix is
installed. perfect for CI jobs, too.)


> ASDF may or may not be suited to building the software, at which point
> UIOP may or may not be suited to parallelize the build on a single
> multiprocessor machine.


i'm sure parts of UIOP would be useful. i'm not sure i'd get the
complexity of ASDF on my shoulders; much of it seems to be due to
legacy cruft.


> Sorry my comments aren't very helpful.


no, it's already helpful, thank you!

- attila




More information about the clasp-devel mailing list