gsell
9558522bba
pick changes from version 1.0
2023-04-05 16:23:58 +02: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
e9bf48c1bf
modbuild: add option to pass a configuration file (former variants file)
2022-10-21 14:13:44 +02:00
gsell
bfcb42a396
modbuild: bugfixes
2022-07-29 15:56:08 +02:00
gsell
bc38136787
modbuild: quering group, supported systems and compilers added to YAML
...
another big change is the re-ordering of the public pbuild:: functions
2022-07-29 14:53:01 +02:00
gsell
06c41be687
modbuild/libpbuild: print warnings if deprecated functions are used
2022-07-29 14:47:33 +02:00
gsell
247c861582
modbuild: queries from YAML module config file added
2022-07-27 00:22:57 +02:00
gsell
cddc918652
modbuild: new key 'build_requires' in YAML variant files
2022-07-15 18:23:11 +02:00
gsell
3a7746805d
modbuild: cleanup
2022-07-15 18:21:55 +02:00
gsell
a7c50a9459
cleanup, re-factoring, minor fixes, comments added
2022-07-12 16:21:21 +02:00
gsell
48ea630332
modbuild: fixed some issues if nounset is set
2022-07-08 11:43:08 +02:00
gsell
6eced654eb
modbuild: for the time being we don't set 'nounset'
2022-07-04 19:15:43 +02:00
gsell
9e63b4571b
modbuild: querying dependencies fixed
...
and old cleanup_modulefiles() removed
2022-07-04 19:14:51 +02:00
gsell
e9cfc1fee4
modbuild: a default release stage can now be set in the header
2022-07-04 19:13:59 +02:00
gsell
22c30aced7
modbuild: handling of empty variant array fixed
...
an entry
<name>/<version>:
without further information is legal and must be handled properly.
2022-07-04 19:08:10 +02:00
gsell
cd1788704d
modbuild: issue with cleaning up modulefiles in overlays fixed
2022-07-04 19:07:24 +02:00
gsell
dca348c4e3
accessing unset variables fixed
2022-07-04 19:03:19 +02:00
gsell
17ebf5c1ae
modbuild: code beautifying
2022-07-01 16:30:45 +02:00
gsell
9a8fd16372
modbuild: use full path to call yq
2022-07-01 16:29:17 +02:00
gsell
bf17ee6075
modbuild: cleanup modulefiles must be done after building all variants
2022-07-01 16:26:58 +02:00
gsell
81a10f5b55
modbuild: new keyword 'systems' YAML variants files implemented
...
The new keyword obsoletes the need of having differend variants files
for different systems.
2022-06-30 18:20:26 +02:00
gsell
5dbc1cf9a3
modbuild: some cleanup
2022-06-30 18:19:28 +02:00
gsell
dcec3671d8
modbuild: argument parsing fixed
2022-06-30 10:38:35 +02:00
gsell
6e125835b5
modubuild: cleanup
2022-06-30 10:37:55 +02:00
gsell
efff990f0a
modbuild: bash 5 check removed
2022-06-28 16:21:21 +02:00
gsell
cbd6de0769
modbuild: use bash from Pmodules module
2022-06-28 16:18:05 +02:00
gsell
13a9ada59d
modbuild: all bootstrapping code removed
2022-06-24 19:42:53 +02:00
gsell
6401d2e1f7
modbuild: bugfix in decision with to use legacy or YAML variants file
2022-06-22 22:19:51 +02: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
8c247f673a
code cleanup
...
there is one important change:
The keys in Dir2OverlayMap are now the modulefiles root + group name.
Example: New '/opt/psi/Tools', old '/opt/psi/Tools/modulefiles'
2022-06-13 11:06:37 +02:00
gsell
ae56b59ef5
modbuild: new key 'with' to specify hierarchical dependencies
2022-06-13 10:23:58 +02:00
gsell
07fcd427d5
modbuild: option added to set/override overlay
2022-06-09 14:30:55 +02:00
gsell
80a050e7fa
modbuild: can now be called without specifying a build-script
...
if no build-script has been specified, a file with the name 'build'
must exist in the current directory.
2022-06-09 14:24:16 +02:00
gsell
5337160b7a
modbuild: test for bash 5 or later, otherwise abort
2022-06-09 14:21:15 +02:00
gsell
e52a03ff14
modbuild: cleanup code for debugging
2022-06-09 14:19:10 +02:00
gsell
a8e5f8bf22
modbuild: fixed bug in setting PATH
...
obsolete variable PMODULES_DIR was still used
2022-06-09 14:15:21 +02:00
gsell
3e1d802012
modubuild: error exit if overlay does not exist
...
If an overlay is requested in an variants file which does not exist,
print a message and exit with exit code > 0
2022-06-07 17:30:43 +02:00
gsell
436cbcf1ee
modbuild: type fixed in message "No YAML variants file found"
2022-06-07 17:29:29 +02:00
gsell
cae2a10b4e
modbuild: bugfix in build_modules_yaml()
...
- quering dependencies fixed
2022-06-07 15:46:05 +02:00
gsell
1c98c12684
some varibales renamed
...
- OverlayList -> UsedOverlays
- OverlayDict -> OverlayInfo
2022-05-24 11:52:35 +02:00
gsell
c4592a5c32
modbuild: support for YAML variant files and splitted overlays
2022-05-23 23:50:35 +02:00
gsell
0b43ed2280
derive PMODULES_ROOT from PMODULES_HOME
2022-05-13 11:32:35 +02:00
gsell
3ec952dbc5
modbuild: revert change which made --overlay a synonym of --system
2022-04-06 09:29:24 +02:00
gsell
6cc92f2d97
modbuild: fixes
2022-02-18 14:38:54 +01:00
gsell
dde25e8116
modbuild: support for YAML formated variant files
2022-01-18 18:04:37 +01:00
gsell
ddbbdf9be8
build-system: prefix for modulefiles can differ from install prefix
2021-12-16 18:39:14 +01:00
gsell
7acd70d2df
modbuild: bugfixes in get_overlay_name_and_dir()
2021-12-07 17:38:20 +01:00
gsell
ca2da5b90e
user configurable overlay configuration files
...
The following overlay configuration files are read:
1. The file defined in the environment variable PMODULES_OVERLAY_CONF
if set.
2. ${HOME}/.Pmodules/overlays.conf
3. ${PMODULES_ROOT}/config/overlays.conf
2021-12-07 13:25:51 +01:00
gsell
6093d858ef
modbuild: some comments added/modified
2021-08-23 14:46:48 +02:00
gsell
47b5fae59b
modbuild: better support for build modules in overlays
...
A new configuration file has been added to map human readable overlay
names to the corresponding directory. The overlay can be specified
with the --overlay option. The passed string can be either a name or a
directory. If a name is passed, this name must map to directory in the
configuration file ${PMODULES_ROOT}/config/overlays.conf. The name is
also used as to select the variant files 'files/variants.name'. The
selection of variant files can be overriden with the --system
option.
2021-04-29 17:54:25 +02:00