gsell
68ac0bc28f
libmodules.tcl: dont setenv issue fixed
2023-04-21 11:08:44 +02:00
gsell
9558522bba
pick changes from version 1.0
2023-04-05 16:23:58 +02:00
gsell
ec50e22418
bugfix in setting LD_LIBRARY_PATH
2023-02-06 10:04:09 +01:00
gsell
4ee53d12fa
changes made in version 1.0 merged/added
...
- Issue #176 , MR !149 relocatable modulecmd
- Issue #175 , MR !148 new logmessage format
- Issue #173 , MR !146 additional dirs in search path of CMake and pkgconfig
- Issue #172 , MR !145 : fix in reading legacy variants files
2022-12-05 15:35:26 +01: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
9991dda16c
modulecmd: bugfix in module-addgroup
...
the modulefiles root is now in the array OverlayInfo
2022-06-13 10:04:20 +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
1c98c12684
some varibales renamed
...
- OverlayList -> UsedOverlays
- OverlayDict -> OverlayInfo
2022-05-24 11:52:35 +02:00
gsell
32b2687936
YAML config files, more flexible overlays
...
- modulefiles must not any more in the same root directory as
the software installation
2022-05-17 14:25:11 +02:00
gsell
0b43ed2280
derive PMODULES_ROOT from PMODULES_HOME
2022-05-13 11:32:35 +02:00
gsell
e8f9e3476a
modulecmd: set <PackageName>_ROOT
2022-04-05 15:42:26 +02:00
gsell
37e52a0f31
libmodules.tcl: prefix for modulefiles can differ from install prefix
...
modulefiles and the prefix for software installation can now be in
different directories.
2021-12-16 18:33:44 +01:00
gsell
816dfa9839
libmodules.tcl: refactor variable names in _find_overlay
2021-12-16 18:30:39 +01:00
gsell
6e1107852a
libmodule.tcl: debug statement in module-addgroup removed
2021-12-16 18:28:52 +01:00
gsell
43831c4660
libmodules.tcl: handle new format of OverlayDict
2021-12-13 09:37:58 +01:00
gsell
de118b20f4
bugfix in libmodules.tcl
2021-12-07 17:36:51 +01:00
gsell
56a70e5863
modulefiles: Pmodules extensions for modules not in an overlay
...
The Pmodules functions module-whatis, module-url, module-maintainer
etc can now be used in modulefiles which are not in an overlay
2021-12-07 13:15:39 +01:00
gsell
586493f69f
libmodules.tcl: missing curly bracket fixed
2021-06-08 10:01:14 +02:00
gsell
7817efe3ce
Merge branch 'master' into 32-overlay-implementation
...
Conflicts:
Pmodules/libmodules.tcl
Pmodules/modulecmd.bash.in
Tools/tcllib/build
2021-06-02 23:18:40 +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
a3835d3f0b
libmodules.tcl: bugfix in module-addgroup{}
2021-05-06 18:12:44 +02:00
gsell
415a942931
libmodules.tcl: bugfixes in module-addgroup() handling overlays
...
replacing(global) overlays were not handle properly
2021-05-06 09:11:44 +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
f5aaff5842
libmodules.tcl: some unconditional debug output removed
2021-04-22 09:35:12 +02:00
gsell
6bcb3d27b5
handle overlays in libmodules.tcl
2021-02-23 11:03:35 +01:00
gsell
284e3c0c21
libmodules.tcl: remove trailing slash in overlay
2020-04-14 17:48:59 +02:00
gsell
309e89e031
changes to fix sub-command 'swap' merged
2019-05-16 17:02:20 +02:00
gsell
41b6e2a26e
cleanup in libmodules.tcl
...
- unused procedures removed
- implementation of the output of the .info file moved to modulecmd.bash
- swap is now implemented in modulecmd.bash as unload followed by a load
2019-05-16 16:42:05 +02:00
gsell
ab117e94fb
better debug statements in libmodules.tcl
2019-05-16 14:40:17 +02:00
gsell
8be6a10ee1
changes merged from master
2019-05-15 16:27:34 +02:00
gsell
a1821a961b
fixes
2019-05-15 15:01:48 +02:00
gsell
4e57627166
branch '32-initialisation-cleanup' merged to overlay implemtation
2019-04-30 15:37:02 +02:00
gsell
07a643c742
review and cleanup
...
- libmodules.tcl: rename implementation to variant, fixes in file name joining
- modulecmd.bash.in: get available groups from 'GroupDepths'. There is no
need to use a dedicated variable for housekeeping available groups.
2019-04-30 11:30:32 +02:00
gsell
6ad8cd07cd
more cleanup
...
- PMODULES_USED_GROUPS renamed to UsedGroups, now saved to PMODULES_ENV
- fixes in exporting variables
2019-04-29 17:53:54 +02:00
gsell
9ba9e3e1e0
basic functionality implemented
2019-04-25 15:24:01 +02:00
gsell
0623f2d0ab
Pmodules/libmodules.tcl
...
- support for use-flags added
2018-10-16 14:37:27 +02:00
gsell
6d4367a1cc
Pmodules/libmodules.tcl:
...
- set variable 'GROUP'
- prepend dir to CMAKE_MODULE_PATH or PKG_CONFIG_PATH if corresponding directory exist
2018-09-28 17:46:52 +02:00
gsell
7b637e97b2
Pmodules/libmodules.tcl:
...
- set P,V, V_{MAJOR,MINOR,PATCHLVL,RELEASE,PKG} as global variable, so they are available in modulesfiles
2018-08-30 11:07:06 +02:00
gsell
3335499a70
Pmodules/libmodules.tcl: prepend dir to MODULEPATH in case of a herarchical group
2018-08-15 16:33:16 +02:00
gsell
e7b9954ff7
Pmodules/libmodules.tcl
...
- module-addgroup: unloading bug fixed, closing #23
2017-11-14 10:37:59 +01:00
gsell
0cd1c02775
Pmodules/libmodules.tcl:
...
- prefix global variables with 'g_'
2017-03-01 14:04:36 +01:00
gsell
2870e4437b
Pmodules/libmodules.tcl:
...
- loading dependencies from $PREFIX/.dependencies removed.
This is now implemented in modulecmd.bash.
2016-03-09 17:14:25 +01:00
gsell
af3a6609c5
Pmodules/libmodules.tcl
...
- better debug output in 'module-addgroup()'
2015-09-28 15:31:50 +02:00
gsell
713762d4ff
- Bootstrap/ moved one level up
...
- pmodules.xyz() functions renamed to pbuild::xyz()
- use pbuild for bootstrapping components
2015-09-17 15:03:03 +02:00