diff options
| author | Philip McGrath <philip@philipmcgrath.com> | 2023-08-23 20:08:06 -0400 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2023-09-08 09:05:58 +0300 |
| commit | bb20ab942e03cd9309e3ecbef22ea2f2946810db (patch) | |
| tree | 69d3dd2e9682365194d66a2d82e5be0d5b938841 /gnu/packages/chez.scm | |
| parent | bce0fe8293a15331ed8b4e9a76354988f10e1ef5 (diff) | |
gnu: chez-scheme-for-racket-bootstrap-bootfiles: Remove workaround.
Architecture autodetection in rktboot was fixed upstream, and the fix is
included in racket-backport-8.10-rktboot.patch for Guix. This commit
goes beyond reverting b4fbeae3d90a5d0f8146441772436df2eb471491: the
upstream fix also supports 'pbarch' machine types, so we never need to
supply a '--machine' argument to rktboot.
* gnu/packages/chez.scm (chez-scheme-for-racket-bootstrap-bootfiles)
[arguments]: Change 'build' phase to never use '--machine' for rktboot.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/chez.scm')
| -rw-r--r-- | gnu/packages/chez.scm | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm index e5694ec1cf2..3f53beac1a7 100644 --- a/gnu/packages/chez.scm +++ b/gnu/packages/chez.scm | |||
| @@ -691,13 +691,7 @@ source."))) | |||
| 691 | #~(invoke | 691 | #~(invoke |
| 692 | (search-input-file (or native-inputs inputs) | 692 | (search-input-file (or native-inputs inputs) |
| 693 | "/opt/racket-vm/bin/racket") | 693 | "/opt/racket-vm/bin/racket") |
| 694 | "../rktboot/main.rkt" | 694 | "../rktboot/main.rkt")))))))))) |
| 695 | ;; Temporary handling of builds on non-x86 architectures, | ||
| 696 | ;; see https://github.com/racket/racket/issues/3948 | ||
| 697 | ;; Autodetect in rktboot only addresses x86 archs, so far. | ||
| 698 | #$@(let ((m (or (racket-cs-native-supported-system?) | ||
| 699 | (nix-system->pbarch-machine-type)))) | ||
| 700 | #~("--machine" #$m)))))))))))) | ||
| 701 | (supported-systems | 695 | (supported-systems |
| 702 | (package-supported-systems chez-scheme-for-racket)) | 696 | (package-supported-systems chez-scheme-for-racket)) |
| 703 | (home-page "https://github.com/racket/ChezScheme") | 697 | (home-page "https://github.com/racket/ChezScheme") |
