guix-commits
[Top][All Lists]
Advanced

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

04/06: gnu: diamond: Update to 2.1.6.


From: guix-commits
Subject: 04/06: gnu: diamond: Update to 2.1.6.
Date: Sun, 14 May 2023 07:49:09 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 8ec227471a40ec52dd8a6ccb6c861b656de34251
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun May 14 13:39:05 2023 +0200

    gnu: diamond: Update to 2.1.6.
    
    * gnu/packages/bioinformatics.scm (diamond): Update to 2.1.6.
    [arguments]: Do not disable tests; pass configure flag to avoid SSE4 and 
AVX2
    in the interest of compatibility.
    [license]: Set to GPLv3+.
---
 gnu/packages/bioinformatics.scm | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 13f16ce026..8267ae12ac 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4212,7 +4212,7 @@ bases are detected.")
 (define-public diamond
   (package
     (name "diamond")
-    (version "0.9.30")
+    (version "2.1.6")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -4221,18 +4221,11 @@ bases are detected.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0k6f3kb6cniw11xw6763kkbs1sl0yack7xsy7q5fl5v170ssphq4"))))
+                "0kb17jwlsrvgswfahzznrffv1i6ybwwmq99qs7iga5yzbx64jp6q"))))
     (build-system cmake-build-system)
     (arguments
-     '(#:tests? #f ; no "check" target
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'remove-native-compilation
-           (lambda _
-             (substitute* "CMakeLists.txt" (("-march=native") ""))
-             #t)))))
-    (inputs
-     (list zlib))
+     (list #:configure-flags '(list "-DX86=OFF"))) ;avoid SSE4 and AVX2
+    (inputs (list zlib))
     (home-page "https://github.com/bbuchfink/diamond";)
     (synopsis "Accelerated BLAST compatible local sequence aligner")
     (description
@@ -4241,7 +4234,7 @@ translated DNA query sequences against a protein 
reference database (BLASTP
 and BLASTX alignment mode).  The speedup over BLAST is up to 20,000 on short
 reads at a typical sensitivity of 90-99% relative to BLAST depending on the
 data and settings.")
-    (license license:agpl3+)))
+    (license license:gpl3+)))
 
 (define-public discrover
   (package



reply via email to

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