about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPjotr Prins2017-12-18 11:11:31 -0600
committerPjotr Prins2017-12-18 11:11:31 -0600
commita2aac2366893dacd4549b7c535cf45391088e044 (patch)
tree90775212da3bead7c385a3599174dde5730460ac
parenta2a200402b91a352dbdede01eec85accb892b8e1 (diff)
downloadguix-bioinformatics-a2aac2366893dacd4549b7c535cf45391088e044.tar.gz
Blas testing
-rw-r--r--gn/packages/gemma.scm20
1 files changed, 16 insertions, 4 deletions
diff --git a/gn/packages/gemma.scm b/gn/packages/gemma.scm
index 05010a8..ab1ac9b 100644
--- a/gn/packages/gemma.scm
+++ b/gn/packages/gemma.scm
@@ -76,7 +76,10 @@
          "1bd03c5xni0bla0wg1wba841b36b0sg13sjja955kn5xzvy4i61a"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f  ;no "check" target
+
+     `(
+       #:tests? #f  ;no "check" target
+
        ;; DYNAMIC_ARCH is only supported on x86.  When it is disabled and no
        ;; TARGET is specified, OpenBLAS will tune itself to the build host, so
        ;; we need to disable substitutions.
@@ -87,8 +90,16 @@
                (string-prefix? "mips" system)
                (string-prefix? "aarch64" system)))
        #:make-flags
-       (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
+       (list (string-append 
+             "PREFIX=" (assoc-ref %outputs "out"))
              "SHELL=bash"
+             "NUM_THREADS=64"
+             "BINARY=64"
+             "NO_WARMUP=0"
+             "GEMM_MULTITHREAD_THRESHOLD=4"
+             "USE_THREAD=1"
+             "NO_AFFINITY=0"
+             "NO_LAPACK=1"
              ;; Build the library for all supported CPUs.  This allows
              ;; switching CPU targets at runtime with the environment variable
              ;; OPENBLAS_CORETYPE=<type>, where "type" is a supported CPU type.
@@ -98,7 +109,7 @@
                  (cond
                   ((or (string-prefix? "x86_64" system)
                        (string-prefix? "i686" system))
-                   '("BINARY=64 @@ NO_WARMUP=0 GEMM_MULTITHREAD_THRESHOLD=4 USE_THREAD=1 NO_AFFINITY=0 NO_LAPACK=1 NUM_THREADS=64"))
+                   '("BINARY=64 NO_WARMUP=0 GEMM_MULTITHREAD_THRESHOLD=4 USE_THREAD=1 NO_AFFINITY=0 NO_LAPACK=1 NUM_THREADS=64"))
                   ;; On MIPS we force the "SICORTEX" TARGET, as for the other
                   ;; two available MIPS targets special extended instructions
                   ;; for Loongson cores are used.
@@ -183,6 +194,7 @@ numbers.")
                        "/include/eigen3/")
         "FORCE_DYNAMIC=1"
         "DEBUG=1"
+        "fast-check"
         )
        #:phases
         ; "/include/eigen3/"
@@ -196,7 +208,7 @@ numbers.")
                   (lambda* (#:key outputs #:allow-other-keys)
                            (let ((out (assoc-ref outputs "out")))
                              (install-file "bin/gemma" (string-append out "/bin"))))))
-       ; #:tests? #f
+       #:tests? #f
        #:parallel-tests? #f))
     (home-page "http://www.xzlab.org/software.html")
     (synopsis "Tool for genome-wide efficient mixed model association")