Commit Graph

873 Commits

Author SHA1 Message Date
gsell 15d6aceaa4 Merge branch '343-build-system-use-regex-for-the-system-check' into 'master'
Resolve "build-system: use regex for the system  check"

Closes #343

See merge request Pmodules/src!331

(cherry picked from commit 5ccf61065e)

4dcaded2 build-system: change from glob to regex matching for system list

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-29 15:15:00 +02:00
gsell 659f79854f Merge branch '342-build-system-check-type-of-variants-block' into 'master'
Resolve "build-system: check type of variants block"

Closes #342

See merge request Pmodules/src!330

(cherry picked from commit b19c038f47)

8b80ec9c build-system: check type of variants added

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-29 15:13:36 +02:00
gsell 9892818188 Merge branch '341-build-system-load-required-overlays-to-build-a-module' into 'master'
Resolve "build-system: load required overlays to build a module"

Closes #341

See merge request Pmodules/src!332

(cherry picked from commit 09b4ec55e9)

936bb4e4 build-system: really load the configured overlays

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-29 15:12:35 +02:00
gsell f4633ecb63 Merge branch '341-build-system-load-required-overlays-to-build-a-module' into 'master'
Resolve "build-system: load required overlays to build a module"

Closes #341

See merge request Pmodules/src!329

(cherry picked from commit 7ea8fa11ce)

c2f7733c build-system: load required overlays for building a module

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-29 15:10:31 +02:00
gsell 8ba670e7a4 modulecmd: define LOADEDMODULES and PMODULES_HOME if undef 2024-08-28 15:23:44 +02:00
gsell f6ea0bd3a6 Merge branch '339-modulecmd-loading-lmod-files-as-dependencies-of-a-tcl-modulefile' into 'master'
Resolve "modulecmd: loading Lmod files as dependencies of a Tcl modulefile"

Closes #339

See merge request Pmodules/src!318

(cherry picked from commit af82391ef0)

dd14f9d3 modulecmd: loading Lmod modulefiles as deps of Tcl modulefile fixed

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:39:36 +02:00
gsell 069b67d0fa Merge branch '338-modulecmd-read-dependencies-file-from-same-directory-as-modulefile' into 'master'
Resolve "modulecmd: read dependencies file from same directory as modulefile"

Closes #338

See merge request Pmodules/src!317

(cherry picked from commit 25c9525f3f)

cfc844bc modulecmd: read dependencies from file in same directory as modulefile

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:38:46 +02:00
gsell bb4b93e16c Merge branch '337-modulecmd-use-of-wrong-shell-in-sub-cmd-unload' into 'master'
Resolve "modulecmd: use of wrong shell in sub-cmd unload"

Closes #337

See merge request Pmodules/src!316

(cherry picked from commit c99e10d180)

35081f59 modulecmd: bugfix: use of wrong shell in sub-cmd unload

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:36:31 +02:00
gsell 504d2b7ad8 Merge branch '336-build-system-don-t-cleanup-modulefiles-in-the-base-overlay' into 'master'
Resolve "build-system: don't cleanup modulefiles in the base overlay"

Closes #336

See merge request Pmodules/src!315

(cherry picked from commit 48d5ded1f6)

9b720ba9 build-system: don't cleanup modulefiles in base overlay

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:35:42 +02:00
gsell 20bb3e120f Merge branch '335-build-system-pbuild-module_is_avail-doesn-t-work-for-lmod' into 'master'
Resolve "build-system: pbuild::module_is_avail() doesn't work for Lmod"

Closes #335

See merge request Pmodules/src!314

(cherry picked from commit 7e61caaa29)

5b817601 build-system: support for Lmod in pbuild::module_is_avail()

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:34:45 +02:00
gsell 1f82ab9deb Merge branch '334-modulecmd-un-using-a-group-is-broken' into 'master'
Resolve "modulecmd: un-using a group is broken"

Closes #334

See merge request Pmodules/src!313

(cherry picked from commit 8500068473)

d639c08b modulecmd: bugfix in un-using a group

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:33:36 +02:00
gsell da3d5ecd98 Merge branch '333-modulecmd-module-use-group-adds-directories-of-overlays-in-wrong-order' into 'master'
Resolve "modulecmd: 'module use GROUP' adds directories of overlays in wrong order"

Closes #333

See merge request Pmodules/src!312

(cherry picked from commit ea28d5c0fd)

84f3ab67 modulecmd: fix order of dirs in MODULEPATH

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:32:14 +02:00
gsell 9f9042440d Merge branch '332-modulecmd-use-of-unset-variable-in-sub-cmd-unuse' into 'master'
Resolve "modulecmd: use of unset variable in sub-cmd unuse"

Closes #332

See merge request Pmodules/src!311

(cherry picked from commit 59c116b70b)

fefe313d modulecmd: use of unset variable fixed

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:31:14 +02:00
gsell b3cfe9c4ea Merge branch '331-modulecmd-lmod-removes-directories-from-modulepath' into 'master'
Resolve "modulecmd: Lmod removes directories from MODULEPATH"

Closes #331

See merge request Pmodules/src!310

(cherry picked from commit 10c6922f8a)

889aafd2 modulecmd: re-add directory to MODULEPATH removed by Lmod

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:29:03 +02:00
gsell c977703d26 modulecmd: ignore release stage if full module name specified 2024-08-16 13:34:20 +02:00
gsell 367337b559 modulecmd: set _LMFILES_ and LOADEDMODULES if removed by Lmod 2024-08-16 13:29:34 +02:00
gsell f828c728ad modulecmd: create missing directories for overlays
Print error message if the directory cannot be created.
2024-08-16 13:02:00 +02:00
gsell c26ac94dae modulecmd: problems with loading/unloading Lmod files fixed 2024-08-14 17:20:30 +02:00
gsell 8192c6db6b modulecmd: cleanup and syntactical errors fixed 2024-08-14 15:02:51 +02:00
gsell e272a092eb modulecmd: bugfix: overlay were listed twice 2024-08-14 14:57:35 +02:00
gsell 7477e3997e build-system: pbuild::add_configure_args() is not deprecated 2024-08-14 14:44:46 +02:00
gsell 2653bb86b3 modulecmd: additional directories in overlays 2024-08-14 14:28:11 +02:00
gsell 63b971432a build-system: bugfix: building multiple versions and/or variants 2024-08-13 17:33:01 +02:00
gsell f54a91166e build-system: bugfix: building multiple versions and/or variants 2024-08-13 17:31:18 +02:00
gsell 85cf207e9e modulecmd: bugfix in test whether a file is a modulefile or not 2024-08-13 16:32:07 +02:00
gsell d63c9c15dd modulecmd: function to find modules reviewed 2024-08-13 16:02:50 +02:00
gsell 4b4c51d652 modulecmd: eval output of modulecmd.bin only if not empty 2024-08-13 15:51:09 +02:00
gsell c3bfc7a173 modulecmd: ignore relative dirs in MODULEPATH 2024-08-13 15:41:12 +02:00
gsell 09fe3894d6 modulecmd: set group depth to 0 for modules outside the hierarchy 2024-08-13 15:22:33 +02:00
gsell 0b09acf3ec modulecmd: bugfix in handling overlays 2024-08-13 14:00:50 +02:00
gsell 27793f1b70 modulecmd: alias 'spider' added to search sub-cmd 2024-08-12 16:40:58 +02:00
gsell 93e0f6b1e7 modulecmd: print help if modulecmd is called without args 2024-08-12 16:35:42 +02:00
gsell d1ddbf5f07 modulecmd: bugfix: wrong quoting in sub-cmd search 2024-08-12 16:30:15 +02:00
gsell 74b0d14d01 build-system: cleanup 2024-08-12 16:14:47 +02:00
gsell ea1bbee585 detection of SLES distribution added 2024-08-12 16:01:23 +02:00
gsell bea9ae8231 bugfix in reading overlay configuration 2024-08-09 21:40:42 +02:00
gsell fd99f0494a build-system: add support for shell based installers 2024-08-09 21:33:15 +02:00
gsell 992764f6eb build-system: check whether the argument is the build-script fixed 2024-08-09 21:29:05 +02:00
gsell 2c9f17a043 build-system: force rebuild if option --clean-install is set 2024-08-09 21:22:00 +02:00
gsell 2012d9bf07 build-system: don't override RPATH
The RPATH shouldn't be overriden. Packages like conda set an RPATH. If
it is changed conda doesn't work any more.
2024-08-09 21:14:23 +02:00
gsell de9e22d91d modulecmd: quoting in module function fixed 2024-08-08 16:51:12 +02:00
gsell 36a522c152 modulecmd: Lua support for all sub-commands 2024-07-30 17:08:36 +02:00
gsell 9d4380a6f6 modulecmd: sub-command search fixed 2024-07-30 17:04:46 +02:00
gsell 327117500a modulecmd: references to undefined variables fixed 2024-07-30 15:47:26 +02:00
gsell 0a1d81946b modulecmd & build-system: code review with shellcheck 2024-07-24 16:53:13 +02:00
gsell b908a13ddb modulecmd: set -u commented out 2024-07-16 11:10:33 +02:00
gsell cc6d88e79b Resolve "lisbstd.bash: in function std::replace_path use empty string as default for 'replacestr'" 2024-07-16 10:10:04 +02:00
gsell 40ed9b1b98 build-system: make target_cpus and kernels configurable 2024-07-15 20:24:35 +02:00
gsell 90939f597e build-system: configurable download_dir YAML config file 2024-07-15 20:13:33 +02:00
gsell c043d2ef80 build-system: definition of var. hierarchical_groups reviewed 2024-07-15 20:07:24 +02:00