Commit Graph
209 Commits
Author SHA1 Message Date
gsell 5b54a5f1f8 Merge branch '356-build-system-add-key-in-yaml-config-in-which-the-functions-required-to-build-a-module-variant' into 'master'
Resolve "build-system: add key in YAML config in which the functions required to build a module/variant can be set"

Closes #356

See merge request Pmodules/src!359

(cherry picked from commit b74839e1ef)

70252320 build-system: configurable build functions to use per module/variant

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-09 12:09:52 +02:00
gsell 347ca7bc06 Merge branch '355-build-system-cleanup-legacy-build-functions' into 'master'
Resolve "build-system: cleanup legacy build functions"

Closes #355

See merge request Pmodules/src!357

(cherry picked from commit b0bdb83cdc)

a88f76f5 build-system: cleanup legacy build functions

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-09 11:37:40 +02:00
gsell 6c13b4eaa2 Merge branch '354-build-system-cleanup-refactor-check-whether-a-variant-has-to-be-built' into 'master'
Resolve "build-system: cleanup, refactor check whether a variant has to be built"

Closes #354

See merge request Pmodules/src!355

(cherry picked from commit 9bdfc49a8c)

b2ec1e46 build-system: cleanup and refactor which variants to build

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-09 11:32:18 +02:00
gsell 595fb6b56e Merge branch '351-build-system-loading-overlays-fails-if-more-than-one-overlay-has-to-be-loaded' into 'master'
Resolve "build-system: loading overlays fails if more than one overlay has to be loaded"

Closes #351

See merge request Pmodules/src!349

(cherry picked from commit fdc09cdbbc)

3237a5b1 build-system: bugfix in loading required overlays

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-05 17:03:06 +02:00
gsell e6771cf1ec Merge branch '345-build-system-review-and-refactor-installation-of-module-and-config-files' into 'master'
Resolve "build-system: review and refactor installation of module- and config-files"

Closes #345

See merge request Pmodules/src!333

(cherry picked from commit 18eb56ab1a)

73ccb05a build-system: installation of modulefile and config files reviewed

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-29 15:16:09 +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 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 7477e3997e build-system: pbuild::add_configure_args() is not deprecated 2024-08-14 14:44:46 +02:00
gsell 63b971432a build-system: bugfix: building multiple versions and/or variants 2024-08-13 17:33:01 +02:00
gsell 74b0d14d01 build-system: cleanup 2024-08-12 16:14:47 +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 0a1d81946b modulecmd & build-system: code review with shellcheck 2024-07-24 16:53:13 +02:00
gsell 546a3cf53e build-system: set RPATH in elf objects to /opt/psi/lib64 2024-07-15 18:55:34 +02:00
gsell 2776065544 build-system: $PREFIX can now be used in YAML config file 2024-07-15 18:14:13 +02:00
gsell b44fd094ee libpbuild: refactor variable name 'file' to 'fname' 2024-07-12 10:52:24 +02:00
gsell e185d92bca build-system: support for different unpackers added 2024-06-13 17:17:34 +02:00
gsell d29916166d build-system: code cleanup 2024-05-03 10:27:50 +02:00
gsell 9b3e303a64 build-system: check-mode added 2024-05-02 17:32:10 +02:00
gsell 712912eb6a build-system: unused/duplicate code removed 2024-05-02 16:50:23 +02:00
gsell 39fc69928b build-system: sub-packages implemented 2024-05-02 16:08:39 +02:00
gsell 5c128f8e4d build-system: BUGFIX: arguments to CMake/autotools must be quoted 2024-04-17 15:04:49 +02:00
gsell 9c906834c8 build-system: substitute env variables if used in configure args 2024-04-16 16:34:43 +02:00
gsell 21215d39e6 build-system: configurable number directory components to be strip
The tar command is called with the option --strip-components. Till now
the value was 1 and hardcoded. In some cases more or less components
must be removed. This can now be configured in the YAML file.
2024-04-16 15:58:59 +02:00
gsell 955d97a1f1 build-system: clean install option added 2024-04-10 17:28:24 +02:00
gsell 8cf790744a Resolve "build-system: add CMake/autotools options and patch files to YAML config file" 2024-04-10 15:55:43 +02:00
gsell 671d4ff7cc build-system: error in cleanup
Cleanup before building fails if ${BUILD_DIR}/../.. doesn't exist.
2024-04-09 09:43:05 +02:00
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