gsell
fa84196a04
libpbuild.bash: fix in comment
2022-07-15 18:20:53 +02:00
gsell
3b0ed98524
libpbuild.bash: create $PREFIX dir before install target
...
The directory $PREFIX should not created to early. If $PREFIX is
created at the beginning and a build target fails, the next build
attempt will skip all build targets.
2022-07-15 18:15:34 +02:00
gsell
18284822f8
libpbuild.bash: curl on RHEL7 doesn't support the opt '--remove-on-error'
2022-07-15 18:14:26 +02:00
gsell
4e2150b6d7
libpmodules: create directory in compute_group_depth() if missing
2022-07-15 18:10:58 +02:00
gsell
2112a05dea
modbuild: issues with nounset fixed
2022-07-15 18:07:05 +02:00
gsell
a7c50a9459
cleanup, re-factoring, minor fixes, comments added
2022-07-12 16:21:21 +02:00
gsell
48ea630332
modbuild: fixed some issues if nounset is set
2022-07-08 11:43:08 +02:00
gsell
6eced654eb
modbuild: for the time being we don't set 'nounset'
2022-07-04 19:15:43 +02:00
gsell
9e63b4571b
modbuild: querying dependencies fixed
...
and old cleanup_modulefiles() removed
2022-07-04 19:14:51 +02:00
gsell
e9cfc1fee4
modbuild: a default release stage can now be set in the header
2022-07-04 19:13:59 +02:00
gsell
22c30aced7
modbuild: handling of empty variant array fixed
...
an entry
<name>/<version>:
without further information is legal and must be handled properly.
2022-07-04 19:08:10 +02:00
gsell
cd1788704d
modbuild: issue with cleaning up modulefiles in overlays fixed
2022-07-04 19:07:24 +02:00
gsell
dca348c4e3
accessing unset variables fixed
2022-07-04 19:03:19 +02:00
gsell
cebae11b38
cleanup unused files
2022-07-04 10:22:48 +02:00
gsell
c80d57d7b7
modulefile: source shell init script only in mode 'load'
2022-07-01 16:37:39 +02:00
gsell
06491fde93
modulecmd: issue with PMODULES_HOME fixed in sub-cmd purge
...
the env.variable PMODULES_HOME must be preserved.
2022-07-01 16:35:15 +02:00
gsell
17ebf5c1ae
modbuild: code beautifying
2022-07-01 16:30:45 +02:00
gsell
9a8fd16372
modbuild: use full path to call yq
2022-07-01 16:29:17 +02:00
gsell
bf17ee6075
modbuild: cleanup modulefiles must be done after building all variants
2022-07-01 16:26:58 +02:00
gsell
b6244e1659
Merge branch '32-overlay-implementation' of gitlab.psi.ch:Pmodules/src into 32-overlay-implementation
2022-06-30 22:45:16 +02:00
gsell
17d0d12de8
Overlays doc added
2022-06-30 22:44:42 +02:00
gsell
7d9e32f633
modbuild/libpbuild: some code polishing
2022-06-30 18:41:26 +02:00
gsell
d9a1771838
modulecmd/libpmodules: bugfixes in scaning group depths
2022-06-30 18:23:20 +02:00
gsell
81a10f5b55
modbuild: new keyword 'systems' YAML variants files implemented
...
The new keyword obsoletes the need of having differend variants files
for different systems.
2022-06-30 18:20:26 +02:00
gsell
5dbc1cf9a3
modbuild: some cleanup
2022-06-30 18:19:28 +02:00
gsell
aa4838ed2e
modulecmd: bugfix if a Pmodule module have been loaded
...
after loading a Pmodule module the module was not displayed
with 'module list', this has been fixed
2022-06-30 17:54:04 +02:00
gsell
5727cc9ef8
modulecmd: bugfix in sub-cmd use <group>
...
UsedOverlays must be used instead of OverlayInfo
2022-06-30 17:52:26 +02:00
gsell
6bfd3f5cf2
init/bash: cleanup
2022-06-30 17:50:53 +02:00
gsell
423a5dea67
modbuild:libpbuild.bash: setting the full module name and prefix reviewed
2022-06-30 10:46:42 +02:00
gsell
d408a73d89
modulecmd/libpmodules.bash: interface of compute_group_depth() changed
...
retrun result in a reference variable
2022-06-30 10:44:56 +02:00
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