diff options
author | Pjotr Prins | 2020-11-29 10:56:22 +0000 |
---|---|---|
committer | Pjotr Prins | 2020-11-29 10:56:22 +0000 |
commit | 00480e8549987b6cae7100b28bcead2a2d501177 (patch) | |
tree | 98fa8d71e773faecedd360758b1050beb57c193b /INSTALL.md | |
parent | 235420546bf83bdeb91a654dc6daabdcffd6210f (diff) | |
download | pangemma-00480e8549987b6cae7100b28bcead2a2d501177.tar.gz |
Fix static build
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -122,3 +122,31 @@ GEMMA includes the shunit2 test framework (version 2.0). or ./run_tests.sh + +## Releases + +### Docker release + +To distribute GEMMA I made static versions of the binary. A container +can be made instead with, for example + +```sh +env GUIX_PACKAGE_PATH=~/guix-bioinformatics ~/.config/guix/current/bin/guix \ + pack -f docker gemma-gn2 -S /bin=bin +``` + +which created a container in of size 51MB. Tiny! For more information +see +[GUIX-NOTES](http://git.genenetwork.org/guix-bioinformatics/guix-notes/CONTAINERS.org). + + +### Static release + +To create a static release, locate the gfortran lib and use + + source .guix-dev-static + make WITH_GFORTRAN=1 EXTRA_FLAGS=-L/gnu/store/741057r2x06zwg6zcmqmdyv51spm6n9i-gfortran-7.5.0-lib/lib static + +otherwise OpenBlas will complain with + + undefined reference to `_gfortran_concat_string' |