Is there a guide that points out how to create a PyLith executable from a branch on a forked PyLith repo?
By executable I assume you mean a binary package distribution. If you build a binary package distribution, you need to build all of the dependencies too; on Linux this include the compiler. You need to make sure you build on an operating system that is at least as old as the oldest system on which the binary will be used.
The packager/build.py
script in the PyLith installer repo is what I use to build the binaries. You can drop the appropriate source tarballs into the directories where the installer script stores the source tarballs and it will use them rather than download them. For example, you can drop the PyLith source tarball in build/cig
. You can create the PyLith source tarball by running make dist
in the build directory of your fork. The PETSc tarball is made using the make_petscdist.sh
bash script in the installer packager
directory.