me
/
guix
Archived
1
0
Fork 0

gnu: racket-vm-cs: Avoid duplicate work.

Only configure with '--enable-racket' for cross-compilation: otherwise,
it effectively overrides '--enable-scheme' and bootstraps Chez Scheme
again. This change saves a couple minutes of build time. See upstream
discussion at <https://github.com/racket/racket/issues/4492>.

* gnu/packages/racket.scm (racket-vm-cs)[native-inputs]: Only supply a
Racket VM when cross-compiling.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
master
Philip McGrath 2022-11-17 19:45:32 -05:00 committed by Liliana Marie Prikler
parent d9f51000ca
commit ac09fcb955
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 2 additions and 4 deletions

View File

@ -439,14 +439,12 @@ collector, 3M (``Moving Memory Manager'').")
(let ((native-inputs (package-native-inputs racket-vm-cgc))) (let ((native-inputs (package-native-inputs racket-vm-cgc)))
(modify-inputs (if (%current-target-system) (modify-inputs (if (%current-target-system)
(modify-inputs native-inputs (modify-inputs native-inputs
(prepend this-package)
(delete "racket-vm-cgc")) (delete "racket-vm-cgc"))
native-inputs) native-inputs)
(delete "libtool") (delete "libtool")
(prepend chez-scheme-for-racket (prepend chez-scheme-for-racket
chez-nanopass-bootstrap chez-nanopass-bootstrap))))
(if (%current-target-system)
racket-vm-cs
racket-vm-bc)))))
(arguments (arguments
(substitute-keyword-arguments (package-arguments racket-vm-cgc) (substitute-keyword-arguments (package-arguments racket-vm-cgc)
((#:phases those-phases #~%standard-phases) ((#:phases those-phases #~%standard-phases)