[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59322] [PATCH 2/2] gnu: racket-vm-cs: Avoid duplicate work.
From: |
Philip McGrath |
Subject: |
[bug#59322] [PATCH 2/2] gnu: racket-vm-cs: Avoid duplicate work. |
Date: |
Wed, 16 Nov 2022 16:39:29 -0500 |
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.
---
gnu/packages/racket.scm | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm
index 20d293e998..2cda2b6b9c 100644
--- a/gnu/packages/racket.scm
+++ b/gnu/packages/racket.scm
@@ -439,14 +439,12 @@ (define-public racket-vm-cs
(let ((native-inputs (package-native-inputs racket-vm-cgc)))
(modify-inputs (if (%current-target-system)
(modify-inputs native-inputs
+ (prepend this-package)
(delete "racket-vm-cgc"))
native-inputs)
(delete "libtool")
(prepend chez-scheme-for-racket
- chez-nanopass-bootstrap
- (if (%current-target-system)
- racket-vm-cs
- racket-vm-bc)))))
+ chez-nanopass-bootstrap))))
(arguments
(substitute-keyword-arguments (package-arguments racket-vm-cgc)
((#:phases those-phases #~%standard-phases)
--
2.38.0
- [bug#59322] [PATCH v2 4/4] etc: teams: Add chez.scm to Racket team's scope., (continued)
- [bug#59322] [PATCH v2 4/4] etc: teams: Add chez.scm to Racket team's scope., Liliana Marie Prikler, 2022/11/18
- [bug#59322] [PATCH v2 4/4] etc: teams: Add chez.scm to Racket team's scope., Philip McGrath, 2022/11/18
- [bug#59322] [PATCH v2 4/4] etc: teams: Add chez.scm to Racket team's scope., Liliana Marie Prikler, 2022/11/19
- [bug#59322] [PATCH v2 4/4] etc: teams: Add chez.scm to Racket team's scope., Philip McGrath, 2022/11/19
- [bug#59322] [PATCH v2 4/4] etc: teams: Add chez.scm to Racket team's scope., Liliana Marie Prikler, 2022/11/19
- [bug#59322] [PATCH 0/2] gnu: racket: Update to 8.7., Ludovic Courtès, 2022/11/23
- [bug#59322] [PATCH v2 4/4] etc: teams: Add chez.scm to Racket team's scope., zimoun, 2022/11/21
- [bug#59322] [PATCH v2 2/4] gnu: chez-scheme-for-racket: Support riscv64., Philip McGrath, 2022/11/17
- [bug#59322] [PATCH v2 1/4] gnu: racket: Update to 8.7., Philip McGrath, 2022/11/17
- [bug#59322] [PATCH v2 3/4] gnu: racket-vm-cs: Avoid duplicate work., Philip McGrath, 2022/11/17
[bug#59322] [PATCH 2/2] gnu: racket-vm-cs: Avoid duplicate work.,
Philip McGrath <=