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
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
Achim Gsell
7001c86154
option to print all dependencies added to module search
...
more changes
- define and set a default IFS
- use our own find - not find command installed on the system
- the modulepath directories are now passed as arry to
get_available_modules()
- new option "--wrap"
2021-03-09 14:04:45 +01:00
gsell
90d9cee20c
module search: output all dependencies
2021-03-05 19:04:54 +01:00
gsell
ebdd93051b
find added to required tools
2021-03-05 19:03:59 +01:00
gsell
f83341cbee
Merge branch '104-don-t-try-to-build-deprecated-variants' into 'master'
...
Resolve "don't try to build deprecated variants"
Closes #104
See merge request Pmodules/src!72
2021-03-04 09:38:52 +01:00