I don't know exactly what cgc-core is exactly, but for Guix we do totally separate builds from racket-vm-cgc
-> racket-vm-bc
-> chez-scheme-for-racket
-> racket-vm-cs
, where vm
signifies minimal Racket but without the base
and racket-lib
packages installed. All that can be done with just configure
and make
in the src
directory. I've got Zuo-ified build definitions at gnu/packages/racket.scm · 271fc33 · Philip McGrath / guix-patches · GitLab and gnu/packages/chez.scm · 271fc33 · Philip McGrath / guix-patches · GitLab, if they help. (I'll also check again with a more recent commit.)
It would be good to figure out the Homebrew issue from Minimal-racket is very slow before installing compiler-lib - #20 by LiberalArtist. It looked to me like it wasn't finding compiled files in the lib
directory from a Unix-style install without --enable-sharezo
.