racket: update to 8.7.
This commit is contained in:
parent
5e8f3935d4
commit
9b22b8dfaa
|
@ -1,27 +0,0 @@
|
||||||
From 053be470e7c5454cdf48e934f3254d2d916bbbc5 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Matthew Flatt <mflatt@racket-lang.org>
|
|
||||||
Date: Sat, 30 Jul 2022 07:06:55 -0600
|
|
||||||
Subject: [PATCH] CS makefiles: fix Unix-style install for cross compilation
|
|
||||||
|
|
||||||
Closes #4377
|
|
||||||
---
|
|
||||||
racket/src/cs/c/build.zuo | 5 ++---
|
|
||||||
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/racket/src/cs/c/build.zuo b/racket/src/cs/c/build.zuo
|
|
||||||
index 7fe59431140..625621ca6e2 100644
|
|
||||||
--- a/racket/src/cs/c/build.zuo
|
|
||||||
+++ b/racket/src/cs/c/build.zuo
|
|
||||||
@@ -1023,10 +1023,9 @@
|
|
||||||
(define (setup)
|
|
||||||
(call-with-dest-racket
|
|
||||||
(lambda (bindir dest-racket)
|
|
||||||
- (define copytree-racket (and cross? (config-bootstrap-racket)))
|
|
||||||
+ (define copytree-racket (and cross? (hash-ref (config-bootstrap-racket) 'racket)))
|
|
||||||
(maybe-copytree config dest-racket copytree-racket at-dir)
|
|
||||||
- (run-raco-setup config dest-racket
|
|
||||||
- (and cross? (hash-ref (config-bootstrap-racket) 'racket))
|
|
||||||
+ (run-raco-setup config dest-racket copytree-racket
|
|
||||||
;; this can be redundant if it's also supplied via `SETUP_MACHINE_FLAGS`,
|
|
||||||
;; but redundant should be ok:
|
|
||||||
(list "-MCR" (~a (at-dir "compiled") ":")
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'racket'
|
# Template file for 'racket'
|
||||||
pkgname=racket
|
pkgname=racket
|
||||||
version=8.6
|
version=8.7
|
||||||
revision=1
|
revision=1
|
||||||
archs="aarch64* armv6* armv7* i686* x86_64*"
|
archs="aarch64* armv6* armv7* i686* x86_64*"
|
||||||
build_wrksrc=src
|
build_wrksrc=src
|
||||||
|
@ -15,7 +15,7 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="LGPL-3.0-only, MIT"
|
license="LGPL-3.0-only, MIT"
|
||||||
homepage="http://racket-lang.org/"
|
homepage="http://racket-lang.org/"
|
||||||
distfiles="http://mirror.racket-lang.org/installers/${version}/${pkgname}-${version}-src.tgz"
|
distfiles="http://mirror.racket-lang.org/installers/${version}/${pkgname}-${version}-src.tgz"
|
||||||
checksum=2eff3e97bc7a10cfa0320da9b07f0d488653b0b5b8490322c82f384ae0fa1a28
|
checksum=76a7e66d47e73eb0dc3fca27fc818e36e1d4bffe74da263c5efe3b8801a30a01
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
patch_args="-Np2"
|
patch_args="-Np2"
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ pre_build() {
|
||||||
# See <Racket sourcedir>/src/ChezScheme/IMPLEMENTATION.md "Build System"
|
# See <Racket sourcedir>/src/ChezScheme/IMPLEMENTATION.md "Build System"
|
||||||
# and <Racket sourcedir>/src/ChezScheme/s/cmacros.ss "define-machine-types"
|
# and <Racket sourcedir>/src/ChezScheme/s/cmacros.ss "define-machine-types"
|
||||||
# for the "machine-type" variable that needs to be passed to rktboot/main.rkt
|
# for the "machine-type" variable that needs to be passed to rktboot/main.rkt
|
||||||
racket rktboot/main.rkt
|
racket ../rktboot/main.rkt
|
||||||
# Make sure Chez builds natively
|
# Make sure Chez builds natively
|
||||||
env CC="gcc" \
|
env CC="gcc" \
|
||||||
AR="ar" \
|
AR="ar" \
|
||||||
|
|
Loading…
Reference in New Issue