...
This directory contains scripts that create source and binary tarballs for FeenoX.
Also Debian .deb packages can be created (if running in a Debian box).
- Run
./src.sh(in GNU/Linux) to get a source tarball. This step will convert the documentation from Markdown into PDF so it needspandoc,pandoc-crossref,xelatex,inkscape, etc.
-
Install requirements
apt-get install texlive-xetex texlive-fonts-extra texlive-science librsvg2-bin- Pandoc and pandoc-crossref (the versions from apt might be old)
-
Edit
versions.shand set the version of both PETSc and SLEPc, for instancepetsc_ver=3.20.4 slepc_ver=3.20.1
-
Run
./petsc.shto download, configure and compile the selected version of PETSc and SLEPc. These will be unpacked in the current directorydistbut are.gitignored. -
Run
./bin.shto compile FeenoX and get a tarball with a statically-linked executable. By default it does not include PDF documentation. Pass--pdfto include it:./bin.sh --pdf
Currently the supported architectures architectures are
- Debian-based GNU/Linux
- Windows with Cygwin
Contributions to build FeenoX in other architectures (other Unixes such as MacOS) are welcome.
The resulting binary has PETSc and SLEPc statically linked, but only their non-MPI versions. Also, it does not include MUMPS. Feel free to play with the scripts to see if you can make them work.
To avoid generating the documentation (which needs pandoc, LaTeX, Inkscape, etc.) pass
--no-docto./bin.sh
To build Debian packages, we need
- a source tarball
- a proper
debiandirectory
The first item can come from the output of src.sh or from https://seamplex.com/feenox/dist/src/.
The second from https://salsa.debian.org/jtheler/feenox.
Once you have both, run dsc.sh.