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.
This commit is contained in:
Ricardo Wurmus 2016-09-26 14:29:25 +02:00
parent bc600b80a2
commit 675d7ae26f
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 0 deletions

View File

@ -4216,6 +4216,10 @@ simultaneously.")
(("LIBRARIES_TO_INSTALL =") (("LIBRARIES_TO_INSTALL =")
"LIBRARIES_TO_INSTALL = kdf5.$(VERSION_LIBX) kdf5.$(VERSION_SHLX)")) "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 ;; The 'configure' script doesn't recognize things like
;; '--enable-fast-install'. ;; '--enable-fast-install'.
(zero? (system* (zero? (system*
@ -4258,6 +4262,8 @@ simultaneously.")
("libmagic" ,file) ("libmagic" ,file)
("hdf5" ,hdf5))) ("hdf5" ,hdf5)))
(native-inputs `(("perl" ,perl))) (native-inputs `(("perl" ,perl)))
;; NCBI-VDB requires SSE capability.
(supported-systems '("i686-linux" "x86_64-linux"))
(home-page "https://github.com/ncbi/ncbi-vdb") (home-page "https://github.com/ncbi/ncbi-vdb")
(synopsis "Database engine for genetic information") (synopsis "Database engine for genetic information")
(description (description