Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.25 KB

HOWTO-short.md

File metadata and controls

56 lines (39 loc) · 1.25 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-rocky8.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, add %define _build_id_links none as the first line, 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

publish new module to docs page