diff options
author | Pjotr Prins | 2018-09-15 11:59:49 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-09-15 11:59:49 +0000 |
commit | 10cc3c77d5f6d385807f019b7894d4b87820cab4 (patch) | |
tree | 5e818f61a2dd7c7d4ce11076e829a6e0d75917d3 /INSTALL.md | |
parent | 74fdcbcb6fa579f788e4bdadaf004c752349fcf7 (diff) | |
download | pangemma-10cc3c77d5f6d385807f019b7894d4b87820cab4.tar.gz |
Using Guix container to build with gcc and clang
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |