aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorpjotrp2017-12-27 11:57:13 +0000
committerpjotrp2017-12-27 11:57:13 +0000
commit37cb61531ac7868e6ad1b9a15dd01105e9d8f63d (patch)
tree9333ebebc7fb02157a8c987802b8a07d2c8734ac /gn/packages
parented093776afcb33d1601e9390e0458fd0f782fc99 (diff)
downloadguix-bioinformatics-37cb61531ac7868e6ad1b9a15dd01105e9d8f63d.tar.gz
GEMMA build for generic release
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/gemma.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gn/packages/gemma.scm b/gn/packages/gemma.scm
index fb9e2c7..aad5b67 100644
--- a/gn/packages/gemma.scm
+++ b/gn/packages/gemma.scm
@@ -234,6 +234,27 @@ association studies (GWAS).")
("openblas" ,openblas-haswell)
("zlib" ,zlib)
))
+ (arguments
+ `(#:make-flags
+ (list
+ (string-append "EIGEN_INCLUDE_PATH="
+ (assoc-ref %build-inputs "eigen")
+ "/include/eigen3/")
+ )
+ #:phases
+ ; "/include/eigen3/"
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'build 'bin-mkdir
+ (lambda _
+ (mkdir-p "bin")
+ ))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (install-file "bin/gemma" (string-append out "/bin"))))))
+ ; #:tests? #f
+ #:parallel-tests? #f))
))
(define-public gemma-wrapper