gsell
44e5edeebb
modulecmd: reading the YAML config files reviewed
2022-06-30 10:43:10 +02:00
gsell
dcec3671d8
modbuild: argument parsing fixed
2022-06-30 10:38:35 +02:00
gsell
6e125835b5
modubuild: cleanup
2022-06-30 10:37:55 +02:00
gsell
cee0704a0b
build-script: no need for a local libpmodules.bash any more
2022-06-30 10:36:02 +02:00
gsell
7a7137a2e2
build-script: installation of libpbuild_dyn.bash removed
2022-06-30 10:34:59 +02:00
gsell
a5afd75a5e
modbuild(function): no need to load System:bash any more
2022-06-30 10:33:22 +02:00
gsell
efb26ea8b6
Merge branch '165-modbuild-use-bash-from-pmodules-module-2' into '32-overlay-implementation'
...
Resolve "modbuild: use bash from Pmodules module"
See merge request Pmodules/src!138
2022-06-28 14:22:59 +00:00
gsell
efff990f0a
modbuild: bash 5 check removed
2022-06-28 16:21:21 +02:00
gsell
cbd6de0769
modbuild: use bash from Pmodules module
2022-06-28 16:18:05 +02:00
gsell
8d2cd990c8
Merge branch '164-modbuild-add-checks-when-constructing-hierarchical-names-for-modulefile-and-prefix' into '32-overlay-implementation'
...
Resolve "modbuild: add checks when constructing hierarchical names for modulefile and PREFIX"
See merge request Pmodules/src!136
2022-06-28 13:22:59 +00:00
gsell
21ae6da509
Merge branch '32-overlay-implementation' into 164-modbuild-add-checks-when-constructing-hierarchical-names-for-modulefile-and-prefix
2022-06-28 14:45:37 +02:00
gsell
ce6a17f394
build-script: add librecipes and required macOS tools
2022-06-28 14:43:59 +02:00
gsell
4f4b926ef3
modbuild: add checks whether all required hierarchical modules are loaded
2022-06-28 14:24:57 +02:00
gsell
7af9f9af2f
build: some comments added
2022-06-27 19:30:56 +02:00
gsell
c428887a8e
major review/rewrite of the build script
2022-06-27 19:22:29 +02:00
gsell
13a9ada59d
modbuild: all bootstrapping code removed
2022-06-24 19:42:53 +02:00
gsell
809c283990
build-script: unused build via modbuild function removed
2022-06-24 19:42:05 +02:00
gsell
d1a557f663
bash initialisation: don't unset PMODULES_ENV
2022-06-24 18:56:50 +02:00
gsell
868da78ecc
modulefile: unset C_INCLUDE_PATH and CPLUS_INCLUDE_PATH
2022-06-24 18:55:35 +02:00
gsell
724fc93ad2
build script: don't use modbuild for Linux tools
2022-06-24 18:54:33 +02:00
gsell
da87be53de
version set to 1.1.10, stub entry in CHANGELOG.md
2022-06-23 15:11:17 +02:00
gsell
564bad3652
CHANGELOG.md for version 1.1.9
2022-06-23 15:07:40 +02:00
gsell
bec2795be5
CHANGELOG.md for version 1.1.9
1.1.9
2022-06-23 14:58:28 +02:00
gsell
fbc64b0136
modulecmd: bugfix in sub-cmd search
...
- sorting fixed
2022-06-22 22:24:57 +02:00
gsell
430632def9
libpbuild: set/remove modulefiles in overlays according configuration
2022-06-22 22:23:19 +02:00
gsell
49826b60ec
libpbuild: bugfix: ol_dir replaced by ol_mod_root
2022-06-22 22:21:40 +02:00
gsell
6401d2e1f7
modbuild: bugfix in decision with to use legacy or YAML variants file
2022-06-22 22:19:51 +02:00
gsell
ac318f2e83
function read_config_file moved from libpbuild.bash to build
2022-06-22 22:17:19 +02:00
gsell
9ff2289116
cleanup unused packages: coreutils and gettext
2022-06-22 22:15:36 +02:00
gsell
d916dd1dfe
refactor: ol_dir -> ol_mod_root and ol_install_dir -> ol_inst_root
2022-06-13 11:11:28 +02:00
gsell
8c247f673a
code cleanup
...
there is one important change:
The keys in Dir2OverlayMap are now the modulefiles root + group name.
Example: New '/opt/psi/Tools', old '/opt/psi/Tools/modulefiles'
2022-06-13 11:06:37 +02:00
gsell
ae56b59ef5
modbuild: new key 'with' to specify hierarchical dependencies
2022-06-13 10:23:58 +02:00
gsell
27018d9be0
libstd.bash: redirect output of 'which lsb_release' to /dev/null
...
lsb_release might not be installed!
2022-06-13 10:14:36 +02:00
gsell
67df5ba324
modbuild: don't exit on error
...
there are some issues if exit on error (set -o errexit) is set:
A statement like
var=$(cmd)
causes the program to terminate, if 'cmd' exit with an exit code > 0.
Using
var=$(cmd || :)
cannot be used in all cases because $? will be 0 even if 'cmd' exits
with an error.
2022-06-13 10:06:28 +02:00
gsell
9991dda16c
modulecmd: bugfix in module-addgroup
...
the modulefiles root is now in the array OverlayInfo
2022-06-13 10:04:20 +02:00
gsell
4ac251341c
CHANGELOG updated
2022-06-09 14:49:33 +02:00
gsell
d5ab3dd209
modulecmd: add overlay info to output of sub-command 'search'
2022-06-09 14:48:39 +02:00
gsell
1c39e8ded0
modulecmd: bugfix in initialising src_prefix in sub-cmd search
2022-06-09 14:46:27 +02:00
gsell
36453ff20a
modulecmd: some comments added
2022-06-09 14:45:54 +02:00
gsell
047e7161b5
modulecmd: initialise Dir2OverlayMap for all available groups
...
till now Dir2OverlayMap was only initialise for used groups. This is
not sufficient, if a module outside the used groups is loaded via
module load group:name.
2022-06-09 14:41:22 +02:00
gsell
38b265af02
modulecmd: bugfix if MODULEPATH starts or ends with a colon
2022-06-09 14:36:47 +02:00
gsell
07fcd427d5
modbuild: option added to set/override overlay
2022-06-09 14:30:55 +02:00
gsell
80a050e7fa
modbuild: can now be called without specifying a build-script
...
if no build-script has been specified, a file with the name 'build'
must exist in the current directory.
2022-06-09 14:24:16 +02:00
gsell
5337160b7a
modbuild: test for bash 5 or later, otherwise abort
2022-06-09 14:21:15 +02:00
gsell
e52a03ff14
modbuild: cleanup code for debugging
2022-06-09 14:19:10 +02:00
gsell
a8e5f8bf22
modbuild: fixed bug in setting PATH
...
obsolete variable PMODULES_DIR was still used
2022-06-09 14:15:21 +02:00
gsell
cede8559a6
modbuild: abort build on error
...
errors in the build-steps have been ignored
2022-06-09 14:06:02 +02:00
gsell
3c434c48f7
modulecmd: bugfix in module-addgroup()
...
Type of overlay is now stored with key 'overlay_name:type'.
The old method was still used.
2022-06-09 12:03:54 +02:00
gsell
38cd9b1583
modulefile: shell init file must be sourced while loading
2022-06-09 11:59:09 +02:00
gsell
5e01557aad
modbuild: is now defined as function analog to module()
2022-06-09 10:42:43 +02:00