summary refs log tree commit diff
path: root/gnu/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2016-05-18 21:21:09 +1000
committerBen Woodcroft <donttrustben@gmail.com>2016-05-18 21:25:06 +1000
commit7c544991dcee6cf8f79484f12a8249ede38d2dd2 (patch)
tree3161aafbba80ba63731989a3dfd2f47b48e5ab17 /gnu/packages/bioinformatics.scm
parente62ffce538649f97da702fc1080fa06668df10e7 (diff)
downloadguix-7c544991dcee6cf8f79484f12a8249ede38d2dd2.tar.gz
gnu: diamond: Do not specify target architecture.
* gnu/packages/bioinformatics.scm (diamond)[arguments]: Do not
specify target architecture.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r--gnu/packages/bioinformatics.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 1f7972870c..8cec840c6c 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1494,7 +1494,13 @@ identify enrichments with functional annotations of the genome.")
                 "1dqancz32c2l7w1b2vkvh5zqa2jnf99j1c41djnx1l8pxn044zdc"))))
     (build-system cmake-build-system)
     (arguments
-     '(#:tests? #f)) ; no "check" target
+     '(#:tests? #f ; no "check" target
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'remove-native-compilation
+           (lambda _
+             (substitute* "CMakeLists.txt" (("-march=native") ""))
+             #t)))))
     (inputs
      `(("zlib" ,zlib)))
     (home-page "https://github.com/bbuchfink/diamond")