gnu: lz4: Remove valgrind from native-inputs.

* gnu/compression.scm (lz4)[native-inputs]: Remove valgrind.
[arguments]<phases>: Remove trailing #t.

Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
zimoun 2023-04-20 15:17:14 +02:00 committed by Andreas Enge
parent 399e1b8e01
commit 50dcd1acd7
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -840,11 +840,7 @@ (define-public lz4
(build-system gnu-build-system)
(outputs (list "out" "static"))
(native-inputs
(append
(list python) ;; For tests.
(if (member (%current-system) (package-supported-systems valgrind))
(list valgrind)
'())))
(list python)) ;; For tests.
(arguments
`(;; Not designed for parallel testing.
;; See https://github.com/lz4/lz4/issues/957#issuecomment-737419821
@ -860,16 +856,14 @@ (define-public lz4
(substitute* "tests/Makefile"
;; This fails when $prefix is not a single top-level directory.
(("^test: (.*) test-install" _ targets)
(string-append "test: " targets)))
#t))
(string-append "test: " targets)))))
(add-after 'install 'move-static-library
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(static (assoc-ref outputs "static")))
(mkdir-p (string-append static "/lib"))
(rename-file (string-append out "/lib/liblz4.a")
(string-append static "/lib/liblz4.a"))
#t))))))
(string-append static "/lib/liblz4.a"))))))))
(home-page "https://www.lz4.org")
(synopsis "Compression algorithm focused on speed")
(description "LZ4 is a lossless compression algorithm, providing