guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: lz4: Remove valgrind from native-inputs.


From: guix-commits
Subject: 01/02: gnu: lz4: Remove valgrind from native-inputs.
Date: Tue, 25 Apr 2023 11:52:38 -0400 (EDT)

andreas pushed a commit to branch wip-valgrind
in repository guix.

commit 572c1b72b5bdd5cd5ed7a9ffa8b4394d633e6e9a
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Thu Apr 20 15:17:14 2023 +0200

    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>
---
 gnu/packages/compression.scm | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 7283a05050..8a8b94c07b 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -840,11 +840,7 @@ decompression of some loosely related file formats used by 
Microsoft.")
     (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 @@ decompression of some loosely related file formats used 
by Microsoft.")
              (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]