aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
index be4469f..db7a6e5 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -53,6 +53,18 @@ To build GEMMA from source you can opt to install the build tools with GNU Guix
guix package -i make gcc linux-libre-headers gsl eigen openblas lapack glibc ld-wrapper
+Even better you can create a container in the source tree and run
+
+ guix environment -C guix --ad-hoc gcc gdb gfortran:lib gsl eigen openblas zlib bash ld-wrapper perl
+ make clean
+ make GUIX=$GUIX_ENVIRONMENT check -j 4
+
+and for the Clang edition
+
+ guix environment -C guix --ad-hoc clang gcc gdb gfortran:lib gsl eigen openblas zlib bash ld-wrapper perl
+ make clean
+ make GUIX=$GUIX_ENVIRONMENT CXX=clang++ check -j 4
+
#### GNU Guix reproducible build system
One of the challenges of developing software is dealing with