gsell
f2dee3a65f
Pmodules/modmanage.bash.in
...
- add Pmodules sbin directory to PATH
2017-01-10 17:11:55 +01:00
gsell
ce0eb43f6e
Pmodules/libpmodules.bash:
...
- set variable 'sbindir' if not set
2017-01-10 17:11:14 +01:00
gsell
e0423db6f4
implement/fix issue #2 : move additional binaries to "$PMODULES_HOME/sbin"
2017-01-09 17:25:51 +01:00
gsell
c8899ef733
Pmodules/modulecmd
...
- quote argument for dirname(1)
- do NOT use 'declare -r' the variable 'bindir' (not all
bourne-compatible shells are supporting this keyword)
2017-01-09 12:14:09 +01:00
gsell
b23f939948
Pmodules/bash
...
- unset BASH_ENV in module function
2017-01-09 12:06:37 +01:00
gsell
e3b3b5ed57
Pmodules/modulecmd
...
- shebang set to '#!/bin/sh'
2016-11-25 18:23:13 +01:00
gsell
8ca46d57f1
Pmodules/libpbuild.bash
...
- find_tarball(): almost rewritten
2016-11-25 18:22:40 +01:00
gsell
7bc064a2cd
Pmodules/modbuild
...
- add options to specify system and dedicated variants file
2016-11-10 06:23:26 -08:00
gsell
631f99b2c8
Pmodules/libpbuild.bash
...
- find_tarball(): do not check certificate while wget'ing
- load_build_dependencies(): check OS variants first
2016-11-10 06:22:11 -08:00
gsell
ad5ea27f67
Pmodules/libpbuild.bash
...
- find_tarball() download if not locally available and SOURCE_URL is set
2016-10-27 10:02:12 -07:00
gsell
e08072c22e
Pmoules/modulecmd.bash.in
...
- bugfix in subcommand_avail(): resan_groups() was called without args
- get_group_deth2(): return 0 if group is empty
2016-10-14 13:34:13 +02:00
gsell
5f3f5677df
Pmodules/libpbuild.bahs
...
- pbuild::module_is_available() renamed to pbuild::module_exists()
- pbuild::module_exists() use search sub-command to test whether a module exists
2016-10-14 13:32:17 +02:00
gsell
6e2fdcbca0
Pmodules/modulecmd.bash.in
...
- subcommand_avail(): rescan groups, if called with option --all
2016-10-13 13:05:23 +02:00
gsell
5202249bff
Pmodules/libpbuild.bash
...
- build_dependencies(): unsupported args removed
2016-10-13 13:02:15 +02:00
gsell
0e898d6754
Pmodules/modulecmd.bash.in
...
- get_hierarchy_depth() renamed to get_group_depth()
- new function get_group_depth() to compute depth of a single group
- is_group() and subcommand_use() are now able to handle groups which are not yet cached
2016-10-12 18:28:32 +02:00
Achim Gsell
7d87a91186
Pmodules/libpbuild.bash
...
- find_tarball() must be top-level scope (not a nested function)
2016-10-11 22:54:14 +02:00
gsell
0669f64604
Pmodules/modmanage.bash.in:
...
- better documentation of functions
- global variable 'HierarchyDepths' renamed to 'GroupDepths'
- function get_hierarchy_depths() renamed to get_group_depths()
- pass relative directory with module-files as argument in
get_group() and get_group_depths()
2016-09-07 14:54:36 +02:00
gsell
f1983f4226
Pmodules/modulecmd.bash.in:
...
- global variable 'HierarchyDepths' renamed to 'GroupDepths'
2016-09-07 14:24:25 +02:00
gsell
84041fc0cc
Pmodules/modulecmd.bash.in
...
- bugfix in handling illegal arguments to sub-command search
- some comment lines added
2016-09-07 14:21:52 +02:00
gsell
afbc872140
Pmodules/modbuild,libpbuild.bash
...
- variables we do not need here moved to libpbuild.bash
- unset XXX_PATH, XFLAGS etc variables used by compiler and linker
instead of setting them to empty string
- pbuild::set:initial_env() and pbuild::cleanupenv() removed, code moved
to global scope
- start to use camel-case for global variables
- rename several non-constant capitalized variables to camel-case
- improve documentation
- pbuild::set_{build,runtime}_dependencies() removed
- cleanup
2016-08-30 16:42:21 +02:00
gsell
4ce643f29a
Merge branch 'master' of gitlab.psi.ch:Pmodules/src
2016-07-27 19:24:37 +02:00
gsell
f33f62332b
Pmodules/modulecmd.bash.in:
...
- pbuild::save_env(): PMODULES_USED_GROUPS added
2016-07-27 19:24:16 +02:00
gsell
6280d76767
Pmodules/modulecmd.bash.in
...
- bugfix in pbuild::export_env()
2016-07-27 18:46:55 +02:00
gsell
1b61be996b
Pmodules/libpbuild.bash
...
- use release from variants file if there is no other constraint
- minor changes in comments
2016-07-27 18:46:07 +02:00
gsell
a4a5dc4e02
Pmodules/modulecmd.bash:
...
- export_env() renamed to pbuild::export_env() and rewritten
2016-07-25 20:13:04 +02:00
gsell
127130d043
Pmodules/libpbuild.bash:
...
- pbuild::prep(): call to pbuild::patch_sources() added
2016-07-25 20:11:24 +02:00
gsell
70b7a4161c
Pmodules/modulecmd.bash.in:
...
- subcommand_avail(), subcommand_search(): variables used to handle
options renamed to 'opt_xyz'
- subcommand_search(): option to output variants added
- --debug option added
2016-06-03 17:47:11 +02:00
gsell
d915f07cbb
Pmodules/modbuild:
...
- alias definitions for 'data', 'install' and 'readlink' removed
- do not export BUILD_BLOCK, BUILD_BLOCK_DIR, BUILD_BASEDIR and
some other variables
2016-06-03 17:42:35 +02:00
gsell
4b9a1d1b48
Pmodules/libpbuild.bash
...
- introduce new functions 'pbuild::prep()' and 'build::patch_sources()'
- pbuild::build(): special handling of Darwin removed
- fixes and improvements in building dependencies
- reading file with versions removed
2016-06-03 17:37:32 +02:00
gsell
be3e7f513e
Merge branch 'master' of git.psi.ch:Pmodules/src
2016-05-21 18:51:36 +02:00
gsell
f9821b03ff
Pmodules/modbuild: cleanup some unused code
2016-05-21 18:51:11 +02:00
gsell
07f212fd18
Pmodules/libpbuild.bash: print warning if Xquarz is not installed if OS is Mac OS X
2016-05-21 18:50:33 +02:00
gsell
784f92e042
Pmodules/modulecmd.bash.in: subcommand avail: option to output all modules added, 'machine' readable output added
2016-05-19 15:42:51 +02:00
gsell
1fff2f2420
Pmodules/libpbuild.bash: handling of build dependencies improved
2016-05-19 15:40:49 +02:00
gsell
b62a284b16
Pmodules/libpbuild.bash: handling of build dependencies improved
2016-05-19 15:40:22 +02:00
gsell
4ee94a2632
Pmodules/modbuild: some white-space removed
2016-04-21 15:03:22 +02:00
gsell
da9b1db458
Pmodules/libpbuild: write_build_dependencies(): bugfix
2016-04-21 14:57:45 +02:00
gsell
5cdd8ab8fd
Pmodules/libpbuild: write_build_dependencies(): do not exit if no modules are loaded
2016-04-21 14:10:53 +02:00
gsell
990c97295f
Pmodiules/modbuild: bugfix in extracting dependencies from variant file
2016-04-21 14:09:35 +02:00
gsell
f932a6da83
Pmoudles/Pmodules/modbuild: bugfix
2016-04-21 11:57:39 +02:00
gsell
120e02285f
Pmodule/libpbuild.bash:
...
- pbuild::set_release(): die if release is not valid
2016-03-23 11:24:07 +01:00
gsell
9842252a8b
Pmodules/modmanage:
...
- do not check PMODULES_ROOT if sub-command is 'init'
2016-03-22 18:31:00 +01:00
gsell
8706097494
Pmodules/libpbuild.bash:
...
- install_modulefile(): bugfix. create target directory if it doesn't already exist.
2016-03-22 18:29:56 +01:00
gsell
f233d19df6
Pmodules/modulecmd:
...
- use '#!/bin/bash --noprofile' as shebang
2016-03-09 17:21:25 +01:00
gsell
9f632996c3
Pmodules/modbuild:
...
- add '--bootsstrap' option and appropriate code adapted
- minor changes
2016-03-09 17:20:24 +01:00
gsell
783da99fa4
Pmodules/modulecmd.bash.in:
...
- use pure Tcl implementation of modulecmd, if PMODULES_PURETCL is set to 'yes'
- load dependencies listed in $PREFIX/.dependencies
- minor fixes/changes
2016-03-09 17:18:20 +01:00
gsell
2870e4437b
Pmodules/libmodules.tcl:
...
- loading dependencies from $PREFIX/.dependencies removed.
This is now implemented in modulecmd.bash.
2016-03-09 17:14:25 +01:00
gsell
25b5accaf1
Pmodules/modulecmd.tcl.in:
...
- pure Tcl replacement for modulecmd added, but not yet used
2016-03-09 17:11:40 +01:00
gsell
fc5cebd935
Pmodules/modbuild:
...
- options -V|--version added
2016-03-09 16:54:09 +01:00
gsell
8a15d6a74f
Pmodules/modbuild:
...
- pbuild::make_all(): use $P/$V as default full module name
2016-03-09 16:52:22 +01:00