add `CORE_CONFIGURE_ARGS' to top-level makefile
Also, `#:configure' to build-farm configuration.
This commit is contained in:
parent
4fd8d8c213
commit
dedd2f671a
4
Makefile
4
Makefile
|
@ -43,6 +43,8 @@ win32-in-place:
|
|||
# an empty set of link files, so that any installation-wide
|
||||
# links or packages are ignored during the core build.
|
||||
|
||||
CORE_CONFIGURE_ARGS =
|
||||
|
||||
core:
|
||||
mkdir -p build/config
|
||||
echo '#hash((links-search-files . ()))' > build/config/config.rktd
|
||||
|
@ -58,7 +60,7 @@ win32-core:
|
|||
cmd /c racket\src\worksp\build-at racket\src\worksp ..\..\..\build\config
|
||||
|
||||
racket/src/build/Makefile: racket/src/configure racket/src/Makefile.in
|
||||
cd racket/src/build; ../configure
|
||||
cd racket/src/build; ../configure $(CORE_CONFIGURE_ARGS)
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Configuration options for building installers
|
||||
|
|
|
@ -80,6 +80,7 @@
|
|||
;; #:vbox <string> --- Virtual Box machine name; if provided the
|
||||
;; virtual machine is started and stopped as needed
|
||||
;; #:platform <symbol> --- 'windows or 'unix, defaults to 'unix
|
||||
;; #:configure (<string> ...) --- arguments to `configure'
|
||||
;; #:bits <integer> --- 32 or 64, affects Visual Studio path
|
||||
;; #:vc <string*> --- "x86" or "x64" to select the Visual C build mode;
|
||||
;; default depends on bits
|
||||
|
@ -142,6 +143,7 @@
|
|||
[(#:dir) (string? val)]
|
||||
[(#:vbox) (string? val)]
|
||||
[(#:platform) (memq val '(unix windows))]
|
||||
[(#:configure) (and (list? val) (andmap string? val))]
|
||||
[(#:bits) (or (equal? val 32) (equal? val 64))]
|
||||
[(#:vc) (or (equal? val "x86") (equal? val "x64"))]
|
||||
[(#:timeout) (real? val)]
|
||||
|
@ -376,7 +378,9 @@
|
|||
"git pull")
|
||||
(sh "cd " (q dir) " ; "
|
||||
"make -j " j " client"
|
||||
(client-args server pkgs dist-name dist-dir))))
|
||||
(client-args server pkgs dist-name dist-dir)
|
||||
" CORE_CONFIGURE_ARGS=" (q (apply ~a #:separator " "
|
||||
(get-opt c '#:configure null))))))
|
||||
|
||||
(define (windows-build c host port user server repo clean?
|
||||
pkgs dist-name dist-dir)
|
||||
|
|
Loading…
Reference in New Issue
Block a user