guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: ncbi-vdb: Update to 2.9.6.


From: guix-commits
Subject: 01/03: gnu: ncbi-vdb: Update to 2.9.6.
Date: Thu, 20 Jun 2019 08:34:05 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 7cb44fb5718c748a80e05a673f9b5faaa7586137
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Jun 20 14:02:27 2019 +0200

    gnu: ncbi-vdb: Update to 2.9.6.
    
    * gnu/packages/bioinformatics.scm (ncbi-vdb): Update to 2.9.6.
    [arguments]: Pass HAVE_HDF5 make flag; add build phase "patch-krypto-flags".
---
 gnu/packages/bioinformatics.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8002f24..2862cb1 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5582,7 +5582,7 @@ simultaneously.")
 (define-public ncbi-vdb
   (package
     (name "ncbi-vdb")
-    (version "2.9.3")
+    (version "2.9.6")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -5591,11 +5591,12 @@ simultaneously.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1l4ny67nxwv1lagk9wwjbrgm7ln7adci6dnpc7k1yaln6shj0qpm"))))
+                "0knkj1sq34hlivgv5qd6jlczqrs3ldmfgn6vbbw7p4mqxvb9mirk"))))
     (build-system gnu-build-system)
     (arguments
      `(#:parallel-build? #f ; not supported
        #:tests? #f ; no "check" target
+       #:make-flags '("HAVE_HDF5=1")
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'make-files-writable
@@ -5607,6 +5608,13 @@ simultaneously.")
                      (string-append (getcwd) "/setup:"
                                     (getenv "PERL5LIB")))
              #t))
+         ;; See https://github.com/ncbi/ncbi-vdb/issues/14
+         (add-after 'unpack 'patch-krypto-flags
+           (lambda _
+             (substitute* "libs/krypto/Makefile"
+               (("-Wa,-march=generic64\\+aes") "")
+               (("-Wa,-march=generic64\\+sse4") ""))
+             #t))
          (replace 'configure
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))



reply via email to

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