Commit Graph

932 Commits

Author SHA1 Message Date
gsell 26a129fe62 modulecmd: caption text in 'module avail' fixed 2025-03-21 13:57:31 +01:00
gsell 91df1635bf modulecmd: comments added/reviewed; break some long lines 2025-03-21 13:46:58 +01:00
gsell ea471fb57a modulecmd: caption in output of 'module avail' fixed 2025-03-21 13:44:26 +01:00
gsell 996667e4d6 modulecmd: review/rewrite code to get available modules 2025-03-20 17:36:06 +01:00
gsell f9aa82ca0a modulecmd: bugfixes in use_group() and unuse_group() 2025-03-14 17:30:12 +01:00
gsell ef0dfb0662 modulecmd: re-init Pmodules env with sub-cmd purge 2025-03-14 17:17:47 +01:00
gsell 40411f2d92 modulecmd: don't export SystemCPU and OSrelease in PMODULES_ENV 2025-03-14 17:08:28 +01:00
gsell d2fd5f3cb1 modulecmd: error in defining doc-sring in pmodules_setup() fixed 2025-03-14 17:03:43 +01:00
gsell 10ffe41db1 modulecmd: use/unuse group while loading an overlay 2025-03-14 16:57:40 +01:00
gsell 05525fd25b modulecmd: main reviewed plus some minor changes 2025-03-06 14:49:29 +01:00
gsell 4280bd2b84 modulecmd: print correct release stage for Spack modules 2025-03-06 14:45:17 +01:00
gsell 9f5313e457 modulecmd: review code to handle extended module names in sub-cmd load 2025-03-06 14:35:06 +01:00
gsell 8e3a4c11d3 modulecmd: fatal error messages reviewed 2025-03-06 14:27:54 +01:00
gsell 33f09074cb modulecmd: use local __doc__ for function documentation 2025-03-06 14:07:20 +01:00
gsell 8739506fce modulecmd: substitude ${target_cpu} in overlay path_config 2025-03-06 11:19:36 +01:00
gsell 7fa18b973d yq updated to version 4.45.1 2025-03-06 11:06:03 +01:00
gsell 3c1a4b2287 modulecmd: some fixes for the Spack module integration
- get_module_config() reviewed
- bugix in header of module avail output
- module search:
  - remove .lua extension in module search output
  - don't loop over Pmodules groups if an overlay with layout 'Spack'
    with type 'replacing' is in use.
2025-02-19 15:55:24 +01:00
gsell 0486faec1c modulecmd: search in Spack modules 2025-02-19 11:08:32 +01:00
gsell 61887f780f build-system: change order of checks to build a module 2025-02-19 10:43:43 +01:00
gsell 963467ea85 build-system: add check that a dependency was successfully loaded 2025-02-19 10:37:13 +01:00
gsell 0062dbfb22 build-system: bugfix in setting up the env for building modules 2025-02-19 10:25:40 +01:00
gsell 56ab7553c9 support for overlays without groups (e.g. for Spack modules) 2025-02-06 09:13:42 +01:00
gsell 9028999da5 Merge branch '386-libstd-bugs-in-std-append_path-and-std-prepend_path' into '1.1.22'
Resolve "libstd: bugs in std::append_path() and std::prepend_path()"

See merge request Pmodules/src!412

(cherry picked from commit e0841bce39)

a3ee63cf libstd (#386): bugfixes in std::append_path(), std::prepend_path()

Co-authored-by: gsell <achim.gsell@psi.ch>
2025-02-04 16:26:04 +01:00
gsell 8354e703c5 libstd (#384): bugfix in function std::remove_path() 2025-02-03 12:27:05 +01:00
gsell d0125da316 modulecmd (#383): required keys added to dict OverlayConfigKeys 2025-02-03 12:15:28 +01:00
gsell ae00d9f865 build-system (#382): bugfix in yml::get_group_deps() 2025-02-03 10:47:53 +01:00
gsell b878d6b7dd modulecmd: switching Pmodules versions fixed 2025-01-09 11:20:57 +01:00
gsell 8291cc27a6 modulecmd: variable PMODULES_MODULEFILES_DIR renamed to __MODULEFILES_DIR__ 2025-01-09 10:50:14 +01:00
gsell 68b411894c modulecmd: derive prefix from location of script 2025-01-09 10:34:05 +01:00
gsell fd1cd1c2e4 modulecmd: init global variable in libmodules.tcl 2025-01-09 10:24:12 +01:00
gsell b3fa4a3768 function to compare versions moved to libstd.bash 2025-01-09 10:04:58 +01:00
gsell 756c00b921 modulecmd: derive prefix from directory of init scripts 2025-01-09 09:49:15 +01:00
gsell cd911a3acb build-system: yq.aarch64_Linux added
(cherry picked from commit db848594ff)

Co-authored-by: Achim Gsell <achim.gsell@psi.ch>
2024-11-28 14:29:09 +01:00
gsell ac33def277 build-system: YAM anchors are now supported 2024-11-28 14:01:06 +01:00
gsell 9b996bb1bc build-system: set Pmodules system config file with env. variable 2024-11-28 13:54:03 +01:00
gsell d00b776e68 build-system: always update module config files if requested 2024-11-28 13:33:27 +01:00
gsell b647a11a4f build-system: select modulefile from config 2024-11-28 11:35:45 +01:00
gsell a38d855df9 build-system: bugfixes if build_functions are specified in config file 2024-11-28 11:09:46 +01:00
gsell b06a81e155 build-system: bugfix in initialisation of the variables Systems and UsedOverlays 2024-11-28 10:37:32 +01:00
gsell 0427c0077f buid-system: add prefix to sub-functions in _build_module() 2024-11-27 18:25:08 +01:00
gsell 53e7dbfa1c build-system, modulecmd: code cleanup 2024-11-27 18:14:44 +01:00
gsell 8ceec1a8c3 build-system: using unset variables fixed if no variants specified 2024-09-20 14:20:51 +02:00
gsell 2c25825a87 modulecmd: show load hints again 2024-09-20 09:51:13 +02:00
gsell 65d2acacbb build-system: info messages reviewed 2024-09-20 09:44:18 +02:00
gsell e8f38df1eb build-system: bugfix if 'use_overlays' is empty 2024-09-20 09:35:48 +02:00
gsell a86a0a7ce4 modulecmd: bugfix in handling overlay excludes 2024-09-11 17:00:52 +02:00
gsell d370780eb8 build-system: define build functions in default config 2024-09-11 10:35:49 +02:00
gsell 5e1c3feb53 build-system: use_flags in YAML config file 2024-09-10 10:42:28 +02:00
gsell ea7fe2783c modulecmd: use 'hostname -f' to get the fqdn not $HOSTNAME 2024-09-09 15:28:00 +02:00
gsell 7025232079 build-system: configurable build functions to use per module/variant 2024-09-09 12:07:25 +02:00