[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53878] [PATCH v7 16/24] gnu: chez-scheme: Use shared zlib and lz4.
From: |
Philip McGrath |
Subject: |
[bug#53878] [PATCH v7 16/24] gnu: chez-scheme: Use shared zlib and lz4. |
Date: |
Sun, 27 Feb 2022 16:29:12 -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.scm (chez-scheme)[inputs]: Remove 'zlib:static' and
'lz4:static'.
[arguments]: Adjust configure phase accordingly.
---
gnu/packages/chez.scm | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index f4c87fbcf7..dd40baa719 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -211,9 +211,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:
@@ -266,14 +264,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] [PATCH v7 07/24] gnu: racket-minimal: Adjust indentation., (continued)
- [bug#53878] [PATCH v7 07/24] gnu: racket-minimal: Adjust indentation., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 09/24] gnu: configure-layer.rkt: Adjust indentation., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 11/24] gnu: racket: Move Chez bootfiles to (gnu packages chez)., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 12/24] gnu: chez: Add utilities for Chez machine types., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 08/24] gnu: racket-minimal: Add "debug" output., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 10/24] gnu: racket-minimal: Separate from the Racket VM., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 13/24] gnu: racket: Add 'racket-vm-for-system'., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 14/24] gnu: chez-scheme: Use new style for Chez packages., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 15/24] gnu: chez-scheme: Use "lib/chez-scheme" for search path., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 17/24] gnu: chez-scheme: Use new package style., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 16/24] gnu: chez-scheme: Use shared zlib and lz4.,
Philip McGrath <=
- [bug#53878] [PATCH v7 18/24] gnu: Add stex., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 19/24] gnu: Add chez-nanopass., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 20/24] gnu: chez-scheme: Explicitly package bootstrap bootfiles., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 21/24] gnu: chez-mit: Support chez-scheme-for-racket., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 22/24] gnu: Add chez-scheme-for-racket., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 23/24] gnu: chez: Add 'chez-scheme-for-system'., Philip McGrath, 2022/02/27
- [bug#53878] [PATCH v7 24/24] gnu: racket-vm-cs: Build with "--enable-scheme"., Philip McGrath, 2022/02/27