Commit Graph

553 Commits

Author SHA1 Message Date
gsell dfb133cae7 config/Pmodules.conf added 2021-05-26 16:50:10 +02:00
gsell 85c89df9f5 initialization of Pmodules environment reviewed
- introduce new configuration file ${PMODULES_ROOT}/config/Pmodules.conf
- move as much as possible from profile.bash and init/bash to
  modulecmd
- expose less environment variables to the user
2021-05-26 16:43:38 +02:00
gsell 9b33e1723a build: tcllib added 2021-05-26 16:42:50 +02:00
gsell 67815236a7 Merge branch '123-refactor-pmodules_default_groups' into 'master'
Resolve "Refactor PMODULES_DEFAULT_GROUPS"

Closes #123

See merge request Pmodules/src!92
2021-05-25 15:42:41 +02:00
gsell 25129b57f7 refactored PMODULES_DEFAULT_GROUPS to DefaultGroups 2021-05-25 15:37:09 +02:00
gsell b08fdca050 Merge branch '122-refactor-pmodule_default_releases' into 'master'
Resolve "refactor PMODULE_DEFAULT_RELEASES"

Closes #122

See merge request Pmodules/src!91
2021-05-25 14:49:33 +02:00
gsell edd3fc4009 refactor variable PMODULES_DEFAULT_RELEASES
- new name is DefaultUsedReleaseStages
2021-05-25 14:35:59 +02:00
gsell 8ba396930a refactor variable PMODULES_DEFINED_RELEASES
- new name is ReleaseStages

- new name is ReleaseStages
2021-05-25 14:34:29 +02:00
gsell 4f6b8c89b5 set version to 1.0.0rc10 2021-05-20 16:40:43 +02:00
gsell d3d02d76c4 Merge branch '120-modulecmd-switch-sub-cmd-need-tmpfile' into 'master'
Resolve "modulecmd: switch sub-cmd need tmpfile"

Closes #120

See merge request Pmodules/src!89
1.0.0rc9
2021-05-11 14:06:30 +02:00
gsell 69bcb98a07 modulecmd: create a tmpdile for sub-cmd switch 2021-05-11 14:05:19 +02:00
gsell adcfbd5401 Merge branch '119-modulecmd-fixes-in-loading-a-pmodules-module' into 'master'
Resolve "modulecmd: fixes in loading a Pmodules module"

Closes #119

See merge request Pmodules/src!88
2021-05-11 13:37:31 +02:00
gsell e0950bcd25 modulecmd: fix initialisation after loading a Pmodule module 2021-05-11 12:05:00 +02:00
gsell bc1afaf60c Merge branch '118-modulecmd-loading-a-pmodules-module' into 'master'
Resolve "modulecmd: loading a Pmodules module"

Closes #118

See merge request Pmodules/src!87
2021-05-10 16:18:36 +02:00
gsell fcec9f77c2 modulecmd: restore some env.vars after loading Pmodules module 2021-05-10 15:55:19 +02:00
gsell ca4c530a5e modulecmd: prevent loading Pmodules module if other modules are loaded 2021-05-10 15:53:06 +02:00
gsell d32f04ea83 modulecmd: bugfix in basic initialization 2021-05-07 16:41:00 +02:00
gsell bff9055b20 modulecmd: bugfix in tmp file setup/cleanup 2021-05-07 16:40:08 +02:00
gsell 183e7f40a2 libstd.bash: function to check Bash variable type added 2021-05-07 15:51:28 +02:00
gsell a6623727ae Merge branch '117-reinitialize-pmodules-environment-after-loading-a-new-pmodules-version' into 'master'
Resolve "reinitialize Pmodules environment after loading a new Pmodules version"

Closes #117

See merge request Pmodules/src!86
2021-05-06 19:05:36 +02:00
gsell 0ea9e54cc4 modulecmd: reinitialize Pmodules if Pmodules version changed 2021-05-06 19:04:27 +02:00
gsell 1731df2097 Merge branch '116-modulecmd-use-default-ifs' into 'master'
Resolve "modulecmd: use default IFS"

Closes #116

See merge request Pmodules/src!85
2021-05-06 14:40:48 +02:00
gsell f5351f025e modulecmd: use default IFS 2021-05-06 14:40:12 +02:00
gsell 9cef06786c Merge branch '115-modulecmd-group-argument-for-sub-cmd-avail' into 'master'
Resolve "modulecmd: group argument for sub-cmd avail"

Closes #115

See merge request Pmodules/src!84
2021-05-06 14:27:10 +02:00
gsell 6318a0a591 modulecmd: sub-cmd avail: group argument added
It's now possible to list available modules in certain groups only.
2021-05-06 14:23:55 +02:00
gsell e3299a1afa modulecmd: sub-cmd avail: pass group as argument to output function 2021-05-06 14:22:30 +02:00
gsell 2b8d085909 Merge branch '114-modulecmd-align-columns-in-sub-command-avail' into 'master'
Resolve "modulecmd: align columns in sub-command avail"

Closes #114

See merge request Pmodules/src!83
2021-05-06 11:29:25 +02:00
gsell dc1ad90c70 modulecmd: align columns in sub-cmd avail 2021-05-06 11:28:10 +02:00
gsell ac88f14202 Merge branch 'cherry-pick-9a0d55ed' into 'master'
modulecmd: save environment after unloading a module

See merge request Pmodules/src!82
2021-05-06 10:34:44 +02:00
gsell daead01197 modulecmd: save environment after unloading a module
(cherry picked from commit 9a0d55ed85)
2021-05-06 10:34:20 +02:00
gsell 37bc7af084 Merge branch '113-modulefile-fix-path-mangling' into 'master'
Resolve "modulefile: fix PATH mangling"

Closes #113

See merge request Pmodules/src!81
2021-05-06 10:33:25 +02:00
gsell 2faf42a4e0 modulefile: bugfix in modifying PATH
(cherry picked from commit d25663a32e)
2021-05-06 10:32:27 +02:00
gsell fcf37f8b44 Pmodule modulefile: remove Pmodules bin dir from PATH
in some cases it might happen that we have a Pmodules bin directory
in PATH. This has to be removed if we load a Pmodule module.


(cherry picked from commit d23fdf930a)
2021-05-06 10:31:47 +02:00
gsell b0636eb004 Merge branch '112-modmanage-review-and-cleanup' into 'master'
Resolve "modmanage: review and cleanup"

Closes #112

See merge request Pmodules/src!80
2021-04-30 15:33:32 +02:00
gsell 47bccd5fa8 modmange: functions from libpmodules.bash added 2021-04-30 15:30:17 +02:00
gsell 8c4d911fa5 modmanage: don't use PATH to find commands 2021-04-30 15:27:46 +02:00
gsell 291039084b modmanage: hardcode CMD 2021-04-30 15:24:13 +02:00
gsell 2747861b52 modmanage: shebang fixed 2021-04-30 15:23:44 +02:00
gsell 7146c2b179 Merge branch '111-modulecmd-better-tmp-file-handling' into 'master'
Resolve "modulecmd: better tmp file handling"

Closes #111

See merge request Pmodules/src!79
2021-04-29 19:34:27 +02:00
gsell c55404a798 modulecmd: better tmp file handling
A global tmp file is created if the sub-command is 'load', 'purge' or
'search' and removed in the exit function.
2021-04-29 19:29:42 +02:00
gsell f398834f08 Merge branch '110-don-t-remove-a-pmodules-module-with-module-purge' into 'master'
Resolve "don't remove a Pmodules module with module purge"

Closes #110

See merge request Pmodules/src!78
2021-04-29 18:58:45 +02:00
gsell a970be1cf3 modulecmd: don't remove a loaded Pmodules module with module purge
Removing a Pmodule module with module purge has some unwanted
side-effects. It is not required to have modulecmd in a directory of
PATH. If you user explicitly loads a Pmodules module the bin directory
of the Pmodule module is added to the PATH. A Pmodules module might be
loaded for two reasons. First to change the Pmodules version, second
to make the build system available. If we remove a Pmodules module
with module purge the build systems is getting unavailable again. This
is confusing for the user.
2021-04-29 18:47:01 +02:00
gsell 80728b8a6a modulecmd: tag log messages with 'Pmodules' 2021-04-29 18:10:55 +02:00
gsell 9df3fbe664 Merge branch '109-add-cuda-as-hierarchical-group-to-build-system' into 'master'
Resolve "add CUDA as hierarchical group to build system"

Closes #109

See merge request Pmodules/src!77
2021-04-19 15:55:00 +02:00
gsell 7f089633c7 libpbuild: better doc what installing build-block files does 2021-04-19 15:48:18 +02:00
gsell 6dee9b74da libpbuild: don't print module name and all deps when we are done 2021-04-19 15:47:10 +02:00
gsell 3c08327cdb libpbuild: add a bit more comments to post_install function 2021-04-19 15:45:57 +02:00
gsell 837bf74522 libpbuild: improve test whether a module exist or not 2021-04-19 15:45:06 +02:00
gsell c8d2e065aa libpbuild: handle error if make fails while compiling or installing 2021-04-19 15:41:58 +02:00
gsell 36086fdd57 libpbuild: handle error if appling a patch fails in pbuild::prep() 2021-04-19 15:37:58 +02:00