From 675d7ae26f65996c41bf08f39fc2b61baef4b785 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 26 Sep 2016 14:29:25 +0200 Subject: [PATCH] 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 b0bb2379e2..1f11052aa8 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -4216,6 +4216,10 @@ (define-public ncbi-vdb (("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 @@ (define-public ncbi-vdb ("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