Commit Graph

79 Commits

Author SHA1 Message Date
gsell addc88e19f configure
- simple script to setup configuration
2016-10-12 15:22:24 +02:00
gsell 460072df83 config/environment.bash.in
- added
2016-10-12 15:21:32 +02:00
gsell 2dbd21e08a bootstrap.sh
- exit if something went wrong
2016-10-12 15:20:54 +02:00
Achim Gsell 7d87a91186 Pmodules/libpbuild.bash
- find_tarball() must be top-level scope (not a nested function)
0.99.6
2016-10-11 22:54:14 +02:00
Achim Gsell 8e36c8ab5f bootstrap
- bugfixes
2016-10-11 22:53:36 +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 13a569c546 install_pmodules.sh:
- installation of 'modulecmd.tcl' added
2016-03-09 17:26:23 +01:00
gsell f03c0482e1 compile_pmodules.sh:
- set '--bootsstrap' option in modbuild call
- install modulecmd from original env. modules as modulecmd.bin
2016-03-09 17:25:33 +01:00
gsell 6b10b11f93 config/environment.bash.psi:
- set PMODULES_VERSION to 0.99.6
2016-03-09 17:22:37 +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 46ade63b8f .gitignore:
- modulecmd.tcl added
2016-03-09 17:12:10 +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 4362318086 config/version.conf:
- set version of Pmodules to 0.99.6
2016-03-09 16:56:59 +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
gsell e3fe62d26f Pmodules/modulecmd.bash.in:
- review comments for 'is_available()'
0.99.5
2015-11-25 15:31:37 +01:00
gsell b349dc6600 Pmodules/modulecmd:
- use /bin/sh as shebang. /bin/bash does not work on GFA systems. Must be fixed!
2015-11-25 15:30:45 +01:00
gsell b34507b10e Pmodules/modbuild:
- version must be specified on command line
- write list of loaded modules as build dependencies
- for run-time modules: derive module version from loaded modules if not defined
2015-11-24 16:38:32 +01:00
gsell 08b0749f86 Pmodules/libpbuild.bash
- pbuild::compile_in_sourcetree() added
- search for source-tarbal in directory of build-block
2015-11-19 17:49:53 +01:00
gsell f86656d396 Pmodules/modbuild:
- define default number of parallel jobs here, so it can be
  overwritten in the build-block
2015-11-19 17:47:34 +01:00
gsell 8837aa6151 Pmodules/modmanage,modulecmd: shebang to /bin/bash 2015-11-18 17:27:34 +01:00