Commit Graph

606 Commits

Author SHA1 Message Date
gsell cc7b4b10cd modulecmd.bash.in: is_group(): upvar with $1 must be declared local 2021-04-28 00:40:41 +02:00
gsell 05aa3d0e42 modulecmd.bash.in: new global function get_overlay_of_moduledir() 2021-04-28 00:37:54 +02:00
gsell 376be20d35 modulecmd.bash.in: reset_modulepath() must be global 2021-04-28 00:35:52 +02:00
gsell f9430563e5 modulecmd.bash.in: cleanup 2021-04-28 00:34:55 +02:00
gsell a75e766cbc modulecmd.bash.in: get_release(): redirect release file to upvar 2021-04-28 00:29:21 +02:00
gsell 3eb1830443 modulecmd.bash.in: save_env(): no need to export UsedGroups 2021-04-28 00:26:42 +02:00
gsell 6674333728 modulecmd.bash.in: call logger via variable with full path 2021-04-28 00:23:31 +02:00
gsell ef1d10aa3d modulecmd.bash.in: unset IFS instead of restoring a default 2021-04-28 00:17:52 +02:00
gsell 0b8059efac libmodules.tcl: refactor some variable names, review
- name of dictionary of overlay renamed from Overlays to OverlayDict
- get list of overlays from PMODULES_ENV (OverlayList),
  PMODULES_OVERLAYS has been removed
2021-04-28 00:05:09 +02:00
gsell 15fb22e4c8 build script: commented out lines to build coreutils removed 2021-04-28 00:02:53 +02:00
gsell 7ddd9b0ed7 modulecmd: bugfix in initializing env. variable needed for overlays.
- if we switch from a Pmodules version without overlay support to a
  Pmodule version with, some environment variables must be initialzed.
2021-04-22 09:51:19 +02:00
gsell b62841239c modulecmd: bugfix in use/unuse overlay
- Since Pmodules itself can be loaded as module, it must be possible
  to add/remove overlays if no modules are loaded or only a Pmodules
  module.
2021-04-22 09:48:27 +02:00
gsell 5661f69169 modulecmd: get_available_modules(): bugfix
- it was expected that all modules are in an overlay. This is wrong. a
  user may add a modulefile directory with module use DIR.
2021-04-22 09:45:39 +02:00
gsell a415cdc136 modulecmd: follow links in find cmd 2021-04-22 09:44:03 +02:00
gsell a53bf42479 modulecmd: use IFS saved as the beginning for restoring 2021-04-22 09:41:06 +02:00
gsell bfc754efa1 tcllib added, version set to 1.1.1 2021-04-22 09:37:56 +02:00
gsell f5aaff5842 libmodules.tcl: some unconditional debug output removed 2021-04-22 09:35:12 +02:00
gsell 4538ac12c3 master merged 2021-04-20 00:32:26 +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
gsell 1068fafab1 libpbuild: handle error if tar fails in pbuild::prep() 2021-04-19 15:19:17 +02:00
gsell e1bd5e8986 libpbuild: handle use-flags passed as argument to modbuild 2021-04-19 15:18:24 +02:00
gsell 34af38d216 modbuild: libpbuild_dyn.bash is not required any more 2021-04-19 15:17:01 +02:00
gsell 85894a6f22 modbuild: add option to pass use-flags 2021-04-19 15:16:25 +02:00
gsell b2c51afe39 modulecmd: update usage output for sub-command search 2021-04-19 15:15:07 +02:00
gsell 96a7ca406a modulecmd: use upvar to return avail modules 2021-04-19 15:12:50 +02:00
gsell 1cc1db1477 modulecmd: unloading/purging a Pmodules module bug fixed
- the environment variable PMODULE_HOME must not be unset if a
  Pmodules module is unloaded or purged
2021-04-19 15:09:35 +02:00
gsell f248369581 modulecmd: remove tmp file created in module search 2021-04-19 15:07:50 +02:00
gsell 1497ca647d version set to 1.0.0rc9 2021-04-19 15:06:06 +02:00
gsell aca3e2c8b5 libstd: unused std::upvars() removed 2021-04-19 15:05:26 +02:00
gsell 80ece1c8f6 modbuild: extendable hierarchy definition via configuration file
- the definition of module hierarchies can now be done in a
  configuration file.
- The former settings are now defaults which can be overriden.
2021-04-19 14:55:36 +02:00
gsell 319e71ae19 Merge branch '108-following-symbolic-links-in-searching-for-available-modules' into 'master'
Resolve "following symbolic links in searching for available modules"

Closes #108

See merge request Pmodules/src!76
2021-03-22 11:58:18 +01:00
gsell 6ba7525373 follow symbolic link while searching for available modules 2021-03-22 11:50:24 +01:00
gsell c9a41aa328 Merge branch '107-install-additional-binaries-in-pmodules_home-libexec-bin' into 'master'
Resolve "install additional binaries in $PMODULES_HOME/libexec/bin"

Closes #107

See merge request Pmodules/src!75
1.0.0rc8
2021-03-18 13:44:13 +01:00
gsell 7dcb8744e5 install modulefile for Pmodules 2021-03-18 13:38:27 +01:00
gsell 7f5e6c75c3 install modulefile for Pmodules 2021-03-18 13:37:42 +01:00
gsell af0f8e9e0c build and install findutils and getopt only for macOS/Darwin 2021-03-18 13:36:34 +01:00
gsell fcfbe187fd build and install findutils and getopt on macOS/Darwin only 2021-03-18 13:34:58 +01:00
gsell d8815d2a29 init files for unsupported shells removed 2021-03-18 13:32:55 +01:00
gsell 04d6047cd0 move helper binaries to from sbin to libexec
- remove installed header files etc
- add substitution for @BASH@, @MODULECMD@, @MODMANANGE@
2021-03-17 17:58:54 +01:00
gsell 2f79681ac6 module search: some not really required sanity checks removed 2021-03-17 17:23:41 +01:00
gsell 3e01c0a421 Merge branch '106-do-not-add-pmodules-bin-directory-to-path' into 'master'
Resolve "do not add Pmodules bin directory to PATH"

Closes #106

See merge request Pmodules/src!74
1.0.0rc7
2021-03-16 16:16:56 +01:00
Achim Gsell 0007d5dc38 Do not add Pmodule bin dir to PATH in initialisation 2021-03-12 13:39:41 +01:00
Achim Gsell 0689b04259 do not add the Pmodules bin directory to PATH 2021-03-12 11:51:49 +01:00
gsell 68f34e1247 Merge branch '105-module-search-add-option-to-output-all-dependencies-in' into 'master'
Resolve "module search: add option to output all dependencies in"

Closes #105

See merge request Pmodules/src!73
2021-03-09 17:09:36 +01:00