diff --git a/INSTALL.txt b/INSTALL.txt index 86f979cc17..388694fad0 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -52,7 +52,7 @@ If you stick with this repository, then you have several options: * In-place Racket-on-Chez build --- when you use `make cs`. Unless you use various options described in "More Instructions: Building Racket-on-Chez" below, this process downloads Chez Scheme from - Github, builds a traditional `racket` with minimal packages, builds + GitHub, builds a traditional `racket` with minimal packages, builds Chez Scheme, and then builds Racket-on-Chez using Racket and Chez Scheme. Final executables that end in "cs" or "CS" are the Racket-on-Chez variants. diff --git a/Makefile b/Makefile index f0dfc4851b..2e625b6c0d 100644 --- a/Makefile +++ b/Makefile @@ -237,6 +237,7 @@ DEFAULT_SCHEME_SRC = racket/src/build/ChezScheme MAKE_BUILD_SCHEME = y CHEZ_SCHEME_REPO = https://github.com/mflatt/ChezScheme +GIT_CLONE_ARGS_qq = --depth 1 # Redirected for `cs-as-is` and `cs-base`: BASE_TARGET = plain-minimal-in-place @@ -315,7 +316,7 @@ scheme-src: racket/src/build/ChezScheme: mkdir -p racket/src/build - cd racket/src/build && git clone $(CHEZ_SCHEME_REPO) + cd racket/src/build && git clone $(GIT_CLONE_ARGS_qq) $(CHEZ_SCHEME_REPO) update-ChezScheme: cd racket/src/build/ChezScheme && git pull && git submodule update diff --git a/racket/src/worksp/csbuild.rkt b/racket/src/worksp/csbuild.rkt index 11f024c547..325367a898 100644 --- a/racket/src/worksp/csbuild.rkt +++ b/racket/src/worksp/csbuild.rkt @@ -54,7 +54,8 @@ (unless (directory-exists? scheme-dir) (system*! "git" "clone" - "git@github.com:mflatt/ChezScheme" + "--depth" "1" + "https://github.com/mflatt/ChezScheme" scheme-dir)) (unless (file-exists? (build-path scheme-dir "zlib" "Makefile"))