summary refs log tree commit diff
path: root/gnu.scm
diff options
context:
space:
mode:
authorPhilip McGrath <philip@philipmcgrath.com>2022-08-27 14:55:51 -0400
committerLudovic Courtès <ludo@gnu.org>2022-09-04 23:10:12 +0200
commitcb0d106590400eefb74c1d747805b3014fe645d0 (patch)
tree14120728f36b642aa33f14147f43125b04b617e2 /gnu.scm
parent9ed6e51ceb58834812090d91ec2107f9ee90b47b (diff)
downloadguix-cb0d106590400eefb74c1d747805b3014fe645d0.tar.gz
gnu: racket: Support cross-compiling the VM packages.
Cross-compilation works for 'racket-vm-cgc', 'racket-vm-bc', and
'racket-vm-cs'. These changes are not enough to cross-compile
'racket-minimal' or 'racket': that would require building and loading
cross-compilation pluggins for 'racket-vm-cs', which will be much
easier once we can build the package 'raco-cross'.

* gnu/packages/racket.scm (racket-vm-cgc): Add 'this-package' when
cross-compiling.
(racket-vm-bc)[native-inputs]: Adjust accordingly.
(racket-vm-cs)[native-inputs]: Use 'racket-vm-cs' instead of
'racket-vm-bc' when cross-compiling. Adapt to changes to
'racket-vm-cgc'.
[arguments]<#:configure-flags>: Fix '--enable-scheme' for
cross-compilation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu.scm')
0 files changed, 0 insertions, 0 deletions