[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53878] [PATCH 03/11] gnu: chez-scheme: Use shared zlib and lz4.
From: |
Philip McGrath |
Subject: |
[bug#53878] [PATCH 03/11] gnu: chez-scheme: Use shared zlib and lz4. |
Date: |
Sun, 13 Feb 2022 16:51:19 -0500 |
This change also involves building 'libkernel.a' instead of 'kernel.o'.
Support for these build options was merged upstream in 2019: see
discussion at <https://github.com/cisco/ChezScheme/pull/443>.
* gnu/packages/chez-and-racket-bootstrap (chez-scheme)[inputs]: Remove
'zlib:static' and 'lz4:static'.
[arguments]: Adjust configure phase accordingly.
---
gnu/packages/chez-and-racket-bootstrap.scm | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/chez-and-racket-bootstrap.scm
b/gnu/packages/chez-and-racket-bootstrap.scm
index 1ed4631ced..11d570059b 100644
--- a/gnu/packages/chez-and-racket-bootstrap.scm
+++ b/gnu/packages/chez-and-racket-bootstrap.scm
@@ -114,9 +114,7 @@ (define-public chez-scheme
(inputs
`(("libuuid" ,util-linux "lib")
("zlib" ,zlib)
- ("zlib:static" ,zlib "static")
("lz4" ,lz4)
- ("lz4:static" ,lz4 "static")
;; for expeditor:
("ncurses" ,ncurses)
;; for X11 clipboard support in expeditor:
@@ -169,14 +167,14 @@ (define src
(lz4-static (assoc-ref inputs "lz4:static"))
(out (assoc-ref outputs "out"))
;; add flags which are always required:
- (flags (cons*
- (string-append "--installprefix=" out)
- (string-append "ZLIB=" zlib-static "/lib/libz.a")
- (string-append "LZ4=" lz4-static "/lib/liblz4.a")
- ;; Guix will do compress man pages,
- ;; and letting Chez try causes an error
- "--nogzip-man-pages"
- configure-flags)))
+ (flags (cons* (string-append "--installprefix=" out)
+ "ZLIB=-lz"
+ "LZ4=-llz4"
+ "--libkernel"
+ ;; Guix will do compress-man-pages,
+ ;; and letting Chez try causes an error
+ "--nogzip-man-pages"
+ configure-flags)))
(format #t "configure flags: ~s~%" flags)
;; Some makefiles (for tests) don't seem to propagate CC
;; properly, so we take it out of their hands:
--
2.32.0
- [bug#53878] [RFC PATCH 1/9] gnu: chez-scheme: Move to (gnu packages chez-and-racket-bootstrap)., (continued)
- [bug#53878] [RFC PATCH 1/9] gnu: chez-scheme: Move to (gnu packages chez-and-racket-bootstrap)., Philip McGrath, 2022/02/08
- [bug#53878] [RFC PATCH 3/9] gnu: chez-scheme: Use shared zlib and lz4., Philip McGrath, 2022/02/08
- [bug#53878] [RFC PATCH 2/9] gnu: chez-scheme: Use "lib/chez-scheme" for search path., Philip McGrath, 2022/02/08
- [bug#53878] [RFC PATCH 9/9] gnu: racket: Update to 8.3.900., Philip McGrath, 2022/02/08
- [bug#53878] [RFC PATCH 8/9] gnu: Add chez-scheme-racket-variant., Philip McGrath, 2022/02/08
- [bug#53878] [RFC PATCH 8/9] gnu: Add chez-scheme-racket-variant., Liliana Marie Prikler, 2022/02/09
- [bug#53878] [RFC PATCH 8/9] gnu: Add chez-scheme-racket-variant., Philip McGrath, 2022/02/09
- [bug#53878] [RFC PATCH 8/9] gnu: Add chez-scheme-racket-variant., Liliana Marie Prikler, 2022/02/10
- [bug#53878] [PATCH 00/11] Update Racket to 8.4. Adjust Chez Scheme packages., Philip McGrath, 2022/02/13
- [bug#53878] [PATCH 01/11] gnu: chez-scheme: Move to (gnu packages chez-and-racket-bootstrap)., Philip McGrath, 2022/02/13
- [bug#53878] [PATCH 03/11] gnu: chez-scheme: Use shared zlib and lz4.,
Philip McGrath <=
- [bug#53878] [PATCH 04/11] gnu: chez-and-racket-bootstrap: Add utilities for Chez machine types., Philip McGrath, 2022/02/13
- [bug#53878] [PATCH 04/11] gnu: chez-and-racket-bootstrap: Add utilities for Chez machine types., Liliana Marie Prikler, 2022/02/14
- [bug#53878] [PATCH 04/11] gnu: chez-and-racket-bootstrap: Add utilities for Chez machine types., Philip McGrath, 2022/02/16
- [bug#53878] [PATCH 04/11] gnu: chez-and-racket-bootstrap: Add utilities for Chez machine types., Liliana Marie Prikler, 2022/02/17
- [bug#53878] [PATCH 04/11] gnu: chez-and-racket-bootstrap: Add utilities for Chez machine types., Philip McGrath, 2022/02/17
- [bug#53878] [PATCH 05/11] gnu: Add stex., Philip McGrath, 2022/02/13
- [bug#53878] [PATCH 05/11] gnu: Add stex., Liliana Marie Prikler, 2022/02/14
- Message not available
- [bug#53878] [PATCH 05/11] gnu: Add stex., Philip McGrath, 2022/02/16
- [bug#53878] [PATCH 06/11] gnu: Add chez-nanopass., Philip McGrath, 2022/02/13
- [bug#53878] [PATCH 07/11] gnu: chez-scheme: Explicitly package bootstrap bootfiles., Philip McGrath, 2022/02/13