Commit Graph
211 Commits
Author SHA1 Message Date
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
gsell 0f21df5b40 install dependencies implemented
install dependencies are dependencies which are required at run.time
but must not be loaded. Use-cases are for example are Intel and PGI
compiler.
2020-07-02 10:28:43 +02:00
gsell a7d72c0905 Merge branch 'master' into 32-overlay-implementation 2020-05-25 17:34:32 +02:00
gsell 94d57557b4 bug in installing shared libs fixed 2020-05-25 17:27:01 +02:00
gsell 240dce31dd function to compare versions added 2020-04-14 17:48:02 +02:00
gsell 9af4b62bdc changes from master merged 2020-04-02 18:08:41 +02:00
gsell 47ed9cda1b bugfix: handle empty list of be installed shared libs 2020-01-07 17:21:07 +01:00
gsell 77275b9c66 modbuild: bootstrapping error fixed 2019-09-27 10:41:00 +02:00
gsell 83dc1a3de6 libpbuild: limit parallel make jobs to 10, unless specified on cmd line 2019-09-24 10:10:38 +02:00
gsell e9e1268137 modbuild: typo in definition of pbuild::supported_compilers fixed 2019-09-19 13:00:06 +02:00
gsell 7fe59f99e2 libpbuild.bash: check supported system, os and compiler
- functions pbuild::supported_os() and pbuild::supported_compiler() added
- bugfix in check of supported system
2019-09-17 13:54:41 +02:00
gsell 46bfc351dd modbuild: compute default number of parallel make jobs from number of cores 2019-09-12 17:44:42 +02:00
gsell 0214be689c modbuild: error writing dependencies fixed, debug output removed 2019-09-06 17:56:20 +02:00
gsell 593d00357d modbuild: implementation of system and OS specific targets 2019-09-04 15:49:52 +02:00
gsell 22ee989ad2 modbuild: rmdir on macOS doesn't support --ignore-fail-on-non-empty option fixed 2019-09-04 15:34:10 +02:00
gsell a32070a658 modbuild: slash removed from PREFIX 2019-09-04 15:27:24 +02:00
gsell 1dc54d0264 use System group in build environment 2019-08-22 16:40:25 +02:00
gsell a2d9f6a665 missing quote in libpbuild.bash fixed 2019-08-21 13:21:20 +02:00
gsell 24424304d4 Merge branch '65-function-to-make-a-target-cannot-be-called-in-a-pipe' into 'master'
Resolve "function to make a target cannot be called in a pipe"

Closes #65

See merge request Pmodules/src!30
2019-08-20 16:59:21 +02:00
gsell b706e1002b do not use functions in pipes 2019-08-20 16:58:58 +02:00
gsell c89c2c4238 unsetting variables like C_INCLUDE_PATH before loading dependencies 2019-08-20 14:33:54 +02:00
gsell b2f2ebe061 abort build on error in a target 2019-08-16 15:27:03 +02:00
gsell 695fe498b4 fix not called 'post_install_linux()' 2019-08-09 17:32:46 +02:00
gsell 47723622cb load runtime dependencies before sourcing the build-script 2019-08-09 16:51:53 +02:00
gsell 98fac76798 libpbuild.bash: do not use declare for global variables inside functions. 2019-07-25 11:09:10 +02:00
gsell a1697cd0c5 libpbuild: option -g is not supported in declare on RHEL/SL 6 2019-07-24 17:34:40 +02:00
gsell 52648a3274 libpbuild: missing targets added (#56) 2019-07-23 17:47:31 +02:00
gsell 58359b837e review 'system' feature
- 'system' and 'OS' have different meaning now
  'system' defaults to a string derived from the Linux distribution
  (like rhel7) or on Mac to the macOS version (like macOS10.14)
- OS is equivalent to the output of 'uname -s'
- move dynamically created functions to new library libpbuild_dyn.bash
- do not set defaults in libpbuild.bash
- use the string returned by std::get_os_release() as system string
  if not passed as argument
-
2019-07-19 17:17:23 +02:00
gsell 828a93de3e Merge branch 'master' into 32-overlay-implementation
# Conflicts:
#	Pmodules/modbuild.in
2019-05-29 17:27:54 +02:00
gsell 0cf32137b5 sources can be unpacked in user defined directories
- requires BASH >= 4 (associative arrays)
- pbuild::set_unpack_dir() added
- required changes to pbuild::prep() implemented
2019-05-29 17:25:57 +02:00
gsell 2aa283b210 implement overlay support in build-system 2019-05-14 14:52:13 +02:00
gsell 3024047514 libpbuild: fixed issue in building dependencies, abort if a target fails 2019-04-09 17:16:17 +02:00
gsell 18cc1506a2 modbuild: various fixes and improvments
- option '--all-variants' is not required any more, a version can be passed
  as regex
- supress output from un-tar, configure, compile and install if not in
  verbose mode
- option '--enable-cleanup' added
- remove src directory after successful build by default
- an equal sign ('=') may prepend a version number passed as argument
- various fixes
- issue with using 'pbuild::use_{autotools,cmake}' outside a "prep"-
  function fixed
- installing depending shared libs improved
- abort if a target fails
2019-03-28 16:23:29 +01:00
gsell c5012be804 fixes in libpbuild.bash
- create prefix directory after compilation succeeded
- path to 'true(1)' fixed
2019-03-12 14:52:31 +01:00
gsell 8ef4537aa9 bugfixes and cleanup/review of build system 2019-03-08 17:04:49 +01:00
gsell fec633cc99 major review of build systems, building of multiple version implemented
- option '--all-variants' added, if this option is set, all variants matching
  the given version(s) will be build
- the build-system uses the release specified in the variants file. If a
  dependency have an improper release, the build stops
- the library is now better isolated from the "main" programm.
- several variables and function have been refactored
2019-02-22 16:16:54 +01:00