Commit Graph
146 Commits
Author SHA1 Message Date
gsell 4f4b926ef3 modbuild: add checks whether all required hierarchical modules are loaded 2022-06-28 14:24:57 +02:00
gsell 13a9ada59d modbuild: all bootstrapping code removed 2022-06-24 19:42:53 +02:00
gsell 430632def9 libpbuild: set/remove modulefiles in overlays according configuration 2022-06-22 22:23:19 +02:00
gsell 49826b60ec libpbuild: bugfix: ol_dir replaced by ol_mod_root 2022-06-22 22:21:40 +02:00
gsell ac318f2e83 function read_config_file moved from libpbuild.bash to build 2022-06-22 22:17:19 +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 67df5ba324 modbuild: don't exit on error
there are some issues if exit on error (set -o errexit) is set:

A statement like
  var=$(cmd)
causes the program to terminate, if 'cmd' exit with an exit code > 0.
Using
  var=$(cmd || :)
cannot be used in all cases because $? will be 0 even if 'cmd' exits
with an error.
2022-06-13 10:06:28 +02:00
gsell cede8559a6 modbuild: abort build on error
errors in the build-steps have been ignored
2022-06-09 14:06:02 +02:00
gsell b53c737907 libpbuild.bash: UTF encode space replaced with ASCII space char 2022-06-07 17:33:31 +02:00
gsell d371fc78ab shopt errexit disabled 2022-05-23 23:47:28 +02:00
gsell 0b43ed2280 derive PMODULES_ROOT from PMODULES_HOME 2022-05-13 11:32:35 +02:00
gsell ddbbdf9be8 build-system: prefix for modulefiles can differ from install prefix 2021-12-16 18:39:14 +01:00
gsell ac312040da build-system: install Pmodules files with mode 0644
Running the command 'install -m 0444 ...' causes problems on SElinux
enabled systems. Updating the context failed if the file is created
read-only.
2021-12-10 10:37:06 +01:00
gsell fac5b212d5 Merge branch 'master' into 32-overlay-implementation 2021-12-06 15:03:49 +01:00
gsell b082bfcaf4 build-system: fix case in hierarchical group name 'HDF5_serial'
the name of the hierarchical group for modules compiled
with a serial HDF5 is HDF5_serial not HDF5_SERIAL
2021-12-06 14:30:34 +01:00
gsell 2d12850de0 libpbuild.bash: bugfix in version compare functions 2021-07-20 15:44:46 +02:00
gsell 7a721b859b libpbuild.bash: bugfix in version cmp 2021-06-23 09:33:12 +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 8ba396930a refactor variable PMODULES_DEFINED_RELEASES
- new name is ReleaseStages

- new name is ReleaseStages
2021-05-25 14:34:29 +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
gsell 4538ac12c3 master merged 2021-04-20 00:32:26 +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 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
Achim Gsell 0f77579c08 Merge branch 'master' into 32-overlay-implementation
- newlines removed from messages
2021-03-04 10:30:11 +01:00
Achim Gsell 408f7d7268 do not build deprecated versions/variants if not forced 2021-03-04 09:37:53 +01:00
Achim Gsell cea58bfc60 linefeeds in info messages fixed 2021-03-04 09:31:52 +01:00
gsell 988c2e6266 libpbuild: do not use module() function 2021-02-25 13:45:57 +01:00
Achim Gsell 6dfb4eb5eb Merge remote-tracking branch 'origin/master' into 32-overlay-implementation 2021-01-29 09:30:20 +01:00
Achim Gsell 22b6c62dbc missing versioned functions for build target added 2020-12-17 10:12:19 +01:00
Achim Gsell fddb32863b bugfix in find_modulefile() 2020-12-03 14:19:37 +01:00
Achim Gsell f6e6449250 bugfix in find_modulefile() 2020-12-03 08:53:55 +01:00
Achim Gsell 5d9497364e version specific build targets implemented 2020-12-02 16:44:08 +01:00
Achim Gsell 417bd2bf8b version specific build targets implemented 2020-12-01 16:05:36 +01:00
Achim Gsell 418b79ed6a Merge branch 'master' into 32-overlay-implementation 2020-12-01 08:55:13 +01:00
Achim Gsell e891ab216a search order for modulefiles fixed 2020-11-30 16:53:25 +01:00
Achim Gsell 8d3ef8264f version specific modulefiles implemented 2020-11-30 16:50:53 +01:00
Achim Gsell b5701c6d8b test existence of groups 'Libraries' and 'System' before using 2020-11-20 23:18:29 +01:00
gsell 50607082ca Merge branch 'master' into 32-overlay-implementation 2020-09-03 17:07:28 +02:00
gsell 800f4b7605 libpbuild.bash: pbuild::make_all(): comments added to args 2020-09-03 16:20:16 +02:00
gsell f9d101e591 Merge branch 'master' of gitlab.psi.ch:Pmodules/src into 32-overlay-implementation 2020-09-03 15:43:26 +02:00
gsell a6ab5f032c bugfix in pbuild::module_is_available() 2020-07-10 19:07:52 +02:00
gsell a882800a56 bugfix in pbuild::module_is_available() 2020-07-10 16:31:06 +02:00
gsell 8d73f81983 changes from master merged 2020-07-02 11:36:32 +02:00