From 10cc3c77d5f6d385807f019b7894d4b87820cab4 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 15 Sep 2018 11:59:49 +0000 Subject: Using Guix container to build with gcc and clang --- INSTALL.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'INSTALL.md') 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 -- cgit v1.2.3