Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.1 KB

HOWTO-short.md

File metadata and controls

54 lines (38 loc) · 1.1 KB

cd to your personal HeLmod clone (on the canonical build host, as you, not root), and get setup:

git pull
module purge
source ./setup.sh

download the source archive to "$FASRCSW_DEV"/rpmbuild/SOURCES

define what you're working on (TYPE is Core for generic things, Comp if you really want to build using newer compilers, or MPI for MPI-enabled things):

export NAME=...
export VERSION=...
export RELEASE=...
export TYPE=...

create a spec file:

cd "$FASRCSW_DEV"/rpmbuild/SPECS
cp -ai template.spec "$NAME-$VERSION-$RELEASE".spec

edit the spec file and address each FIXME up until the modulefile.lua creation (i.e. adjust the ./configure/make/make install snippets if necessary)

do a trial build:

make trial

finish the spec file (modulefile.lua creation), based upon the suggestions in the output from the above.

build it for real:

make

install it:

make test
make install

commit/post your updates (this adds/commits/pushes/rsyncs all local content):

make post