aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-09-26 14:29:25 +0200
committerRicardo Wurmus <rekado@elephly.net>2016-09-26 14:30:59 +0200
commit675d7ae26f65996c41bf08f39fc2b61baef4b785 (patch)
treebfd1e8ad8bc7b973a38095c0e6aeaccaf8e39f75
parentbc600b80a2bdf66142b9ff44d1765f3ff4d0c36d (diff)
downloadpatches-675d7ae26f65996c41bf08f39fc2b61baef4b785.tar
patches-675d7ae26f65996c41bf08f39fc2b61baef4b785.tar.gz
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.
-rw-r--r--gnu/packages/bioinformatics.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b0bb2379e2..1f11052aa8 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