Commit Graph

  • 5e832324f8 getopt/build - there is no need to patch the Makefile (why?) 0.99.8 gsell 2017-01-19 11:15:49 +01:00
  • f13fcdf7d8 Pmodules/modulecmd.bash.in - do not add Pmodules bin and sbin directories to PATH gsell 2017-01-10 17:13:03 +01:00
  • f2dee3a65f Pmodules/modmanage.bash.in - add Pmodules sbin directory to PATH gsell 2017-01-10 17:11:55 +01:00
  • ce0eb43f6e Pmodules/libpmodules.bash: - set variable 'sbindir' if not set gsell 2017-01-10 17:11:14 +01:00
  • e0423db6f4 implement/fix issue #2: move additional binaries to "$PMODULES_HOME/sbin" gsell 2017-01-09 17:25:51 +01:00
  • 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) 0.99.7 gsell 2017-01-09 12:14:09 +01:00
  • b23f939948 Pmodules/bash - unset BASH_ENV in module function gsell 2017-01-09 12:06:37 +01:00
  • c3e769dbe0 gettext/build - download gzipped file, old tar's cannot handle .xz extension/compression gsell 2016-11-25 18:25:48 +01:00
  • 09ef46439b config/versions.conf - version of Pmodules set to 0.99.7 gsell 2016-11-25 18:24:34 +01:00
  • 48ef3b37ed config/environment.bash.psi - version of Pmodules set to 0.99.7 gsell 2016-11-25 18:24:11 +01:00
  • e3b3b5ed57 Pmodules/modulecmd - shebang set to '#!/bin/sh' gsell 2016-11-25 18:23:13 +01:00
  • 8ca46d57f1 Pmodules/libpbuild.bash - find_tarball(): almost rewritten gsell 2016-11-25 18:22:40 +01:00
  • 7bc064a2cd Pmodules/modbuild - add options to specify system and dedicated variants file gsell 2016-11-10 06:23:26 -08:00
  • 631f99b2c8 Pmodules/libpbuild.bash - find_tarball(): do not check certificate while wget'ing - load_build_dependencies(): check OS variants first gsell 2016-11-10 06:22:11 -08:00
  • ffe73b9b30 compile_pmodules.sh - '--debug' option added gsell 2016-10-27 10:07:15 -07:00
  • cdb18ac96b configure - more verbose usage - bugfix in parsing options gsell 2016-10-27 10:06:47 -07:00
  • 5fdd656a18 config/versions.conf - use dialog 1.3-20160828 - use Tcl 8.6.6 gsell 2016-10-27 10:06:08 -07:00
  • 9b965bbf8b getopt/Makefile.patch - added gsell 2016-10-27 10:05:10 -07:00
  • 81f7fbd681 getopt/build - SOURCE_URL added - patch to Makefile added to get linking right gsell 2016-10-27 10:04:29 -07:00
  • d16ff5c078 {Tcl,bash,coreutils,dialog,gettext}/build - SOURCE_URL added gsell 2016-10-27 10:03:31 -07:00
  • ad5ea27f67 Pmodules/libpbuild.bash - find_tarball() download if not locally available and SOURCE_URL is set gsell 2016-10-27 10:02:12 -07:00
  • c118c2eb28 install_pmodules.sh - create empty group 'Libraries' gsell 2016-10-14 13:37:59 +02:00
  • 7570f5916e compile_pmodules: - do cleanup build and source directory by default - opt '--disable_cleanup' added - installation of modulecmd-binary added to post-install section of Module/build gsell 2016-10-14 13:37:01 +02:00
  • e08072c22e Pmoules/modulecmd.bash.in - bugfix in subcommand_avail(): resan_groups() was called without args - get_group_deth2(): return 0 if group is empty gsell 2016-10-14 13:34:13 +02:00
  • 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 gsell 2016-10-14 13:32:17 +02:00
  • 57ffd77fbb Modules/build - installation of modulecmd-binary added to post_install gsell 2016-10-14 13:30:31 +02:00
  • 6e2fdcbca0 Pmodules/modulecmd.bash.in - subcommand_avail(): rescan groups, if called with option --all gsell 2016-10-13 13:05:23 +02:00
  • 5202249bff Pmodules/libpbuild.bash - build_dependencies(): unsupported args removed gsell 2016-10-13 13:02:15 +02:00
  • 74ef0b7225 install_pmodules.sh - install configuration files in Pmodules root/config gsell 2016-10-12 18:30:18 +02:00
  • 82a2dbdebf config/environment.bash.psi - use ${USERS} in tmp dir gsell 2016-10-12 18:29:25 +02:00
  • 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 gsell 2016-10-12 18:28:32 +02:00
  • 10eb4bd67a .gitignore - tclIndex added gsell 2016-10-12 15:34:49 +02:00
  • 4d83e4431a getopt/build - set C_INCLUDE_PATH and LIBRARY_PATH to Pmodules installation directories +include and +lib gsell 2016-10-12 15:33:24 +02:00
  • addc88e19f configure - simple script to setup configuration gsell 2016-10-12 15:22:24 +02:00
  • 460072df83 config/environment.bash.in - added gsell 2016-10-12 15:21:32 +02:00
  • 2dbd21e08a bootstrap.sh - exit if something went wrong gsell 2016-10-12 15:20:54 +02:00
  • 7d87a91186 Pmodules/libpbuild.bash - find_tarball() must be top-level scope (not a nested function) 0.99.6 Achim Gsell 2016-10-11 22:54:14 +02:00
  • 8e36c8ab5f bootstrap - bugfixes Achim Gsell 2016-10-11 22:53:36 +02:00
  • 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() gsell 2016-09-07 14:54:36 +02:00
  • f1983f4226 Pmodules/modulecmd.bash.in: - global variable 'HierarchyDepths' renamed to 'GroupDepths' gsell 2016-09-07 14:24:25 +02:00
  • 84041fc0cc Pmodules/modulecmd.bash.in - bugfix in handling illegal arguments to sub-command search - some comment lines added gsell 2016-09-07 14:21:52 +02:00
  • 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 gsell 2016-08-30 16:42:21 +02:00
  • 4ce643f29a Merge branch 'master' of gitlab.psi.ch:Pmodules/src gsell 2016-07-27 19:24:37 +02:00
  • f33f62332b Pmodules/modulecmd.bash.in: - pbuild::save_env(): PMODULES_USED_GROUPS added gsell 2016-07-27 19:24:16 +02:00
  • 6280d76767 Pmodules/modulecmd.bash.in - bugfix in pbuild::export_env() gsell 2016-07-27 18:46:55 +02:00
  • 1b61be996b Pmodules/libpbuild.bash - use release from variants file if there is no other constraint - minor changes in comments gsell 2016-07-27 18:46:07 +02:00
  • a4a5dc4e02 Pmodules/modulecmd.bash: - export_env() renamed to pbuild::export_env() and rewritten gsell 2016-07-25 20:13:04 +02:00
  • 127130d043 Pmodules/libpbuild.bash: - pbuild::prep(): call to pbuild::patch_sources() added gsell 2016-07-25 20:11:24 +02:00
  • 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 gsell 2016-06-03 17:47:11 +02:00
  • 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 gsell 2016-06-03 17:42:35 +02:00
  • 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 gsell 2016-06-03 17:37:32 +02:00
  • be3e7f513e Merge branch 'master' of git.psi.ch:Pmodules/src gsell 2016-05-21 18:51:36 +02:00
  • f9821b03ff Pmodules/modbuild: cleanup some unused code gsell 2016-05-21 18:51:11 +02:00
  • 07f212fd18 Pmodules/libpbuild.bash: print warning if Xquarz is not installed if OS is Mac OS X gsell 2016-05-21 18:50:33 +02:00
  • 784f92e042 Pmodules/modulecmd.bash.in: subcommand avail: option to output all modules added, 'machine' readable output added gsell 2016-05-19 15:42:51 +02:00
  • 1fff2f2420 Pmodules/libpbuild.bash: handling of build dependencies improved gsell 2016-05-19 15:40:49 +02:00
  • b62a284b16 Pmodules/libpbuild.bash: handling of build dependencies improved gsell 2016-05-19 15:40:22 +02:00
  • 4ee94a2632 Pmodules/modbuild: some white-space removed gsell 2016-04-21 15:03:22 +02:00
  • da9b1db458 Pmodules/libpbuild: write_build_dependencies(): bugfix gsell 2016-04-21 14:57:45 +02:00
  • 5cdd8ab8fd Pmodules/libpbuild: write_build_dependencies(): do not exit if no modules are loaded gsell 2016-04-21 14:10:53 +02:00
  • 990c97295f Pmodiules/modbuild: bugfix in extracting dependencies from variant file gsell 2016-04-21 14:09:35 +02:00
  • f932a6da83 Pmoudles/Pmodules/modbuild: bugfix gsell 2016-04-21 11:57:39 +02:00
  • 120e02285f Pmodule/libpbuild.bash: - pbuild::set_release(): die if release is not valid gsell 2016-03-23 11:24:07 +01:00
  • 9842252a8b Pmodules/modmanage: - do not check PMODULES_ROOT if sub-command is 'init' gsell 2016-03-22 18:31:00 +01:00
  • 8706097494 Pmodules/libpbuild.bash: - install_modulefile(): bugfix. create target directory if it doesn't already exist. gsell 2016-03-22 18:29:56 +01:00
  • 13a569c546 install_pmodules.sh: - installation of 'modulecmd.tcl' added gsell 2016-03-09 17:26:23 +01:00
  • f03c0482e1 compile_pmodules.sh: - set '--bootsstrap' option in modbuild call - install modulecmd from original env. modules as modulecmd.bin gsell 2016-03-09 17:25:33 +01:00
  • 6b10b11f93 config/environment.bash.psi: - set PMODULES_VERSION to 0.99.6 gsell 2016-03-09 17:22:37 +01:00
  • f233d19df6 Pmodules/modulecmd: - use '#!/bin/bash --noprofile' as shebang gsell 2016-03-09 17:21:25 +01:00
  • 9f632996c3 Pmodules/modbuild: - add '--bootsstrap' option and appropriate code adapted - minor changes gsell 2016-03-09 17:20:24 +01:00
  • 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 gsell 2016-03-09 17:18:20 +01:00
  • 2870e4437b Pmodules/libmodules.tcl: - loading dependencies from $PREFIX/.dependencies removed. This is now implemented in modulecmd.bash. gsell 2016-03-09 17:14:25 +01:00
  • 46ade63b8f .gitignore: - modulecmd.tcl added gsell 2016-03-09 17:12:10 +01:00
  • 25b5accaf1 Pmodules/modulecmd.tcl.in: - pure Tcl replacement for modulecmd added, but not yet used gsell 2016-03-09 17:11:40 +01:00
  • 4362318086 config/version.conf: - set version of Pmodules to 0.99.6 gsell 2016-03-09 16:56:59 +01:00
  • fc5cebd935 Pmodules/modbuild: - options -V|--version added gsell 2016-03-09 16:53:13 +01:00
  • 8a15d6a74f Pmodules/modbuild: - pbuild::make_all(): use $P/$V as default full module name gsell 2016-03-09 16:52:22 +01:00
  • e3fe62d26f Pmodules/modulecmd.bash.in: - review comments for 'is_available()' 0.99.5 gsell 2015-11-25 15:31:37 +01:00
  • b349dc6600 Pmodules/modulecmd: - use /bin/sh as shebang. /bin/bash does not work on GFA systems. Must be fixed! gsell 2015-11-25 15:30:45 +01:00
  • 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 gsell 2015-11-24 16:38:32 +01:00
  • 08b0749f86 Pmodules/libpbuild.bash - pbuild::compile_in_sourcetree() added - search for source-tarbal in directory of build-block gsell 2015-11-19 17:49:53 +01:00
  • f86656d396 Pmodules/modbuild: - define default number of parallel jobs here, so it can be overwritten in the build-block gsell 2015-11-19 17:47:34 +01:00
  • 8837aa6151 Pmodules/modmanage,modulecmd: shebang to /bin/bash gsell 2015-11-18 17:27:34 +01:00
  • 2dea669055 Pmodules/modmanage: - sub-command 'search' added - option '--debug' added gsell 2015-10-15 14:09:25 +02:00
  • 0e797b7933 Pmodules/modbuild: - adapted to new location of buildblocks gsell 2015-10-14 18:31:45 +02:00
  • f15d65568c Pmodules/modbuild - PMODULES_TMPDIR and PMODULES_DISTFILESDIR cannot be set read-only gsell 2015-10-14 18:00:10 +02:00
  • 5961c59208 PMODULES_DISTDIR renamed to PMODULES_DISTFILESDIR gsell 2015-10-14 17:41:50 +02:00
  • 49dbe30269 Pmodules/modbuild - fix bug(s) in initializing the environment like purging modules, setting the right PATH etc - opt '--debug' sets -x now gsell 2015-10-13 16:44:17 +02:00
  • ec15f44eb7 Pmodules/libpbuild.bash - pbuild::set_initial_path() added gsell 2015-10-13 16:41:40 +02:00
  • 508e5f596b Pmodules/libpbuild.bash - in cleanup_env(): unset CC, CXX etc gsell 2015-10-13 16:28:38 +02:00
  • 5338afc46e install_pmodules.sh - bugfix in sed cmd gsell 2015-10-05 18:53:51 +02:00
  • 2f3c2373ae Pmodules/modbuild: - bugfix in declaring 'PMODULES_TMPDIR' and 'PMODULES_DISTDIR' gsell 2015-10-05 18:53:32 +02:00
  • fbbcf9ee97 .gitignore: - 'Downloads' and 'tmp' added gsell 2015-10-05 18:52:40 +02:00
  • 018fa873ad - BUILD_DOWNLOADSDIR renamed to PMODULES_DISTDIR - BUILD_TMPDIR rename to PMODULES_TMPDIR - both above can be configured via command line or config file gsell 2015-10-05 17:41:07 +02:00
  • 8834c5760e Pmodules/modbuild - fix bug in handling --release option gsell 2015-09-30 17:06:51 +02:00
  • c3eca545e6 Merge branch 'master' of gitorious.psi.ch:pmodules/src gsell 2015-09-29 14:28:15 +02:00
  • 67dece3064 Pmodules/modulecmd.bash.in: minor changes in usage text gsell 2015-09-29 14:28:07 +02:00
  • 11c9ef82e9 Pmodules/modulecmd.bash.in - handle options --help, --version in subcomand_help() gsell 2015-09-29 13:47:42 +02:00
  • 4120a8d39b bash init file: add comment gsell 2015-09-29 13:26:37 +02:00
  • cc5da6d98e Pmodules: - templates moved to ${module_group}/${PMODULES_TEMPLATE_DIR} gsell 2015-09-28 17:45:30 +02:00