about summary refs log tree commit diff
path: root/guix.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix.scm')
-rw-r--r--guix.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/guix.scm b/guix.scm
index 299332e..e142d7e 100644
--- a/guix.scm
+++ b/guix.scm
@@ -5,12 +5,13 @@
 ;;
 ;; To get a development container (e.g., run in emacs shell).
 ;;
-;;   guix shell -C -D -F -v 3 -L . pangemma-shell-git  # pangemma-shell-git
+;;   guix shell --tune=native -C -D -F -v 3 -L . pangemma-shell-git  # pangemma-shell-git
 ;;
 ;;   see premake5.lua header for examples.
 ;;
 ;;   guix shell -C -D -F -v 3 -L . gemma-git           # for specific packages
 ;;
+;; To optimize use guix --tune=march-type (e.g. --tune=native)
 
 (define-module (guix)
   #:use-module ((guix licenses) #:prefix license:)
@@ -24,6 +25,7 @@
   #:use-module (gnu packages compression)
   #:use-module (gnu packages commencement)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages cpp)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages gdb)
   #:use-module (gnu packages guile)
@@ -52,6 +54,7 @@
     (version (git-version %pangemma-version "HEAD" %git-commit))
     (source (local-file %source-dir #:recursive? #t))
     (build-system gnu-build-system)
+    (properties `((tunable? . #t)))
     (inputs
      (list gsl
            openblas
@@ -102,7 +105,7 @@ genome-wide association studies (GWAS).")
     (build-system gnu-build-system)
     (propagated-inputs
      (modify-inputs (package-inputs pangemma-base-git)
-                    (append which binutils coreutils gcc-toolchain premake5 gnu-make gdb ;; for the shell
+                    (append which binutils coreutils gcc-toolchain premake5 gnu-make gdb gperftools ;; for the shell
                  )))
     (arguments
      `(#:phases (modify-phases %standard-phases