gsell
6eec91076b
build-system: setting of prefix and modulefile path reviewed
...
Set prefix and directory/name of modulefile based on group not on
environment variables like {COMPILER,MPI,HDF5}_VERSION
2024-04-09 09:33:20 +02:00
gsell
ced69b165e
build-system: use readarray to set list Systems from YAML config
2024-04-09 09:15:01 +02:00
gsell
0ffdf599a1
Resolve "modbuild: cleanup source and build directory before and after building"
2024-03-22 15:35:01 +01:00
gsell
6fd8e1e785
Resolve ".config-$V_PKG gets wrong Systems output"
2024-03-22 08:33:11 +01:00
gsell
4f58acd51b
libpbuild.bash: issue with compile in source tree fixed
...
yes, no must be all lower case!
2024-02-23 15:48:19 +01:00
gsell
f56f493654
modbuild: removing modules fixed
2023-11-29 16:05:51 +01:00
gsell
300577d0bb
modbuild: install YAML module config file
2023-11-17 15:41:34 +01:00
gsell
b6ce1c71c1
modbuild: check supported system fixed in YAML mode
2023-11-17 15:39:39 +01:00
gsell
0080e9d6f3
modbuild: pass YAML configuration to library
2023-11-17 15:37:28 +01:00
gsell
a17340fbfb
cont. YAML config file implementation
2023-10-27 18:48:07 +02:00
gsell
3c66af7565
Implementation of YAML configuration files
2023-10-20 17:35:15 +02:00
gsell
95365ea0da
build-system: bugfix in version_lt()
2023-08-15 10:03:17 +02:00
Achim Gsell
8103e5668e
modbuild: improved version compare functions
2023-08-04 14:16:34 +02:00
gsell
338c5a4f91
libpbuild.bash: bugfix in installing shared libs
2023-07-14 17:38:00 +02:00
gsell
5d6f53b7d4
build in overlays fixed
2023-04-27 16:54:28 +02:00
gsell
9558522bba
pick changes from version 1.0
2023-04-05 16:23:58 +02:00
gsell
05306765c2
modbuild: bugfix in writing the dependencies files
2022-10-21 14:11:50 +02:00
gsell
0af6ef37c4
modbuild: declare and export the build root in BUILD_ROOT
2022-10-21 14:10:45 +02:00
gsell
46a56688f8
modbuild: bugfix in installing doc files
2022-10-21 13:43:39 +02:00
gsell
5b706a7ec7
API function pbuild::unpack() added
2022-10-21 13:32:11 +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
c8b61bbf5f
libpbuild: pbuild::supported_os removed
2022-07-29 14:50:25 +02:00
gsell
06c41be687
modbuild/libpbuild: print warnings if deprecated functions are used
2022-07-29 14:47:33 +02:00
gsell
fa84196a04
libpbuild.bash: fix in comment
2022-07-15 18:20:53 +02:00
gsell
3b0ed98524
libpbuild.bash: create $PREFIX dir before install target
...
The directory $PREFIX should not created to early. If $PREFIX is
created at the beginning and a build target fails, the next build
attempt will skip all build targets.
2022-07-15 18:15:34 +02:00
gsell
18284822f8
libpbuild.bash: curl on RHEL7 doesn't support the opt '--remove-on-error'
2022-07-15 18:14:26 +02:00
gsell
2112a05dea
modbuild: issues with nounset fixed
2022-07-15 18:07:05 +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
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
bf17ee6075
modbuild: cleanup modulefiles must be done after building all variants
2022-07-01 16:26:58 +02:00
gsell
7d9e32f633
modbuild/libpbuild: some code polishing
2022-06-30 18:41:26 +02:00
gsell
423a5dea67
modbuild:libpbuild.bash: setting the full module name and prefix reviewed
2022-06-30 10:46:42 +02:00
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