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