rekado pushed a commit to branch master
in repository guix.

commit 675d7ae26f65996c41bf08f39fc2b61baef4b785
Author: Ricardo Wurmus <rek...@elephly.net>
Date:   Mon Sep 26 14:29:25 2016 +0200

    gnu: ncbi-vdb: Only build on i686 and x86_64.
    
    * gnu/packages/bioinformatics.scm (ncbi-vdb)[supported-systems]: Only
    build on i686 and x86_64.
    [arguments]: Add mandatory "-msse2" flag to CFLAGS.
---
 gnu/packages/bioinformatics.scm |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b0bb237..1f11052 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4216,6 +4216,10 @@ simultaneously.")
               (("LIBRARIES_TO_INSTALL =")
                "LIBRARIES_TO_INSTALL = kdf5.$(VERSION_LIBX) 
kdf5.$(VERSION_SHLX)"))
 
+            (substitute* "build/Makefile.env"
+              (("CFLAGS        =" prefix)
+               (string-append prefix "-msse2 ")))
+
             ;; The 'configure' script doesn't recognize things like
             ;; '--enable-fast-install'.
             (zero? (system*
@@ -4258,6 +4262,8 @@ simultaneously.")
        ("libmagic" ,file)
        ("hdf5" ,hdf5)))
     (native-inputs `(("perl" ,perl)))
+    ;; NCBI-VDB requires SSE capability.
+    (supported-systems '("i686-linux" "x86_64-linux"))
     (home-page "https://github.com/ncbi/ncbi-vdb";)
     (synopsis "Database engine for genetic information")
     (description

Reply via email to