Commit Graph

310 Commits

Author SHA1 Message Date
gsell 130c51518b get_release(): comment added 2020-05-25 10:32:10 +02:00
gsell d795e3213b in sub-command 'search': error in printing header fixed
option '--no-header' was ignored in default output
2020-05-25 10:17:48 +02:00
gsell d3c0f3cb90 sub-command 'unuse': fixes and refactoring
* MODULEPATH was not updated after un-using an overlay
2020-05-25 10:15:04 +02:00
gsell 9c255b21d5 refactor sub-command ' use' 2020-05-25 10:13:19 +02:00
gsell c187ac01a3 do not reset MODULEPATH and used groups in sub-command 'purge' 2020-05-25 10:00:44 +02:00
gsell 5c795efc6f modulecmd.bash.in: fixes 2020-04-14 17:49:44 +02:00
gsell 284e3c0c21 libmodules.tcl: remove trailing slash in overlay 2020-04-14 17:48:59 +02:00
gsell 240dce31dd function to compare versions added 2020-04-14 17:48:02 +02:00
gsell 818240cb6a error in handling option --overlay= fixed, typo fixed 2020-04-14 17:46:56 +02:00
gsell 9af4b62bdc changes from master merged 2020-04-02 18:08:41 +02:00
gsell fe1ab6d35c bugfix: broken sub-cmd unload fixed 2020-01-15 13:01:41 +01:00
gsell 47ed9cda1b bugfix: handle empty list of be installed shared libs 2020-01-07 17:21:07 +01:00
gsell aefdd4a711 fix: broken module load with csh 2020-01-06 15:02:51 +01:00
gsell 4a7c3f7122 fix: prepend Pmodules bin directory to PATH 2020-01-06 14:59:01 +01:00
gsell 965ab75ce7 fix: support for shell 'sh' added 2020-01-06 14:53:34 +01:00
gsell cd13cfb33c modulecmd: missing newline at end of warning fixed 2019-09-27 10:52:17 +02:00
gsell 77275b9c66 modbuild: bootstrapping error fixed 2019-09-27 10:41:00 +02:00
gsell 611aae3b1b modulecmd: log loaded modules to syslog 2019-09-24 16:15:07 +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 1c82df4b10 modbuild: '.*' is now a valid version argument 2019-09-19 13:23:12 +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 de95904aad bugfix in finding variants files with two dots 2019-09-04 14:41:31 +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 f5dd0aa60a modbuild.in: debug echo statement removed 2019-07-25 11:09:37 +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 7df9fe7111 libstd.bash: list of possible OS ID's reviewed 2019-07-24 17:26:37 +02:00
gsell c4a7c48dd9 libstd.bash: fix issue in getting OS release
- try to get the OS release via lsb_release first
- then via /etc/os-release
- abort if both fail
2019-07-24 16:51:20 +02:00
gsell 38a09a8ba3 fixes for issues #57 and #58
- fixes building dependencies on macOS (#57)
- fixes errors in parsing arguments (#58)
2019-07-23 17:49:54 +02:00
gsell 85fc352f10 libstd.bash: setting of unused variable OS removed 2019-07-23 17:48:11 +02:00
gsell 52648a3274 libpbuild: missing targets added (#56) 2019-07-23 17:47:31 +02:00
gsell 74db99c87e fixes for isses 52 to 55
- ignore multiple load commands (#52)
- do not print empty line if output to stderr is empty (#53)
- loading dependencies review (#54)
- rescan group in 'use' sub-command if newly created group is requested
2019-07-23 17:20:09 +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 fb28efc834 function to get OS releases for Linux and macOS added to libstd 2019-07-19 17:01:15 +02:00
gsell 23f1862e32 Merge remote-tracking branch 'origin/master' into 32-overlay-implementation 2019-07-12 11:25:04 +02:00
gsell eb488b2274 options for help command fixed 2019-07-11 17:55:42 +02:00
gsell 7e10814469 echo text to stderr in subcommand load 2019-07-10 17:35:56 +02:00