Commit Graph
111 Commits
Author SHA1 Message Date
gsell db616ce790 Pmodules/modbuild
- bugfix in setting target option
- define variable 'V_PKG' as version of the source package
2017-08-08 14:11:48 +02:00
gsell 43d85f96ab Pmodules/libstd.bash
- std::upvar(), std::upvars() added
2017-08-08 14:09:04 +02:00
gsell cebf145ef1 Pmodules/libpbuild.bash
- source/build directory changed to "${PMODULES_TMPDIR}/{src,build}/$P-$V"
- function to find/download sources rewritten, specifing SOURCE_URL in
  build block is now required.
- we now have pre_ and post_ function for all build stages
2017-08-08 14:08:13 +02:00
gsell a7637d4c52 Pmodules/modbuild
- bugfix: 'local' used in global scope
2017-06-09 12:27:24 +02:00
gsell dac5885500 - configuration file 'environment.bash' merged into 'profile.bash'
- OS dependent build configuration is now in 'modbuild.conf'
- set PATH before sourcing 'modbuild.conf'
- installation path of modulefile fixed
- go through all build steps if nothing else is specified on command line
2017-06-09 10:36:05 +02:00
gsell cb29cba552 Pmodules/lib/libpbuild.bash
- modulesfile-templates are not used any more
2017-05-31 15:26:28 +02:00
gsell b80f27d2e3 - merge scripts 'configure', 'compile_pmodules' and 'install_pmodules'
into new script 'build'
- merge 'environment.{bash,csh}.in' into 'profile.{bash,csh}.in'
- set version to 0.99.12
2017-05-31 15:22:48 +02:00
gsell 8e18b46ed2 Merge branch 'master' of gitlab.psi.ch:Pmodules/src 2017-05-17 12:57:35 +02:00
gsell 1d4b3de94c Pmodules/libpbuild
- search_variante_file(): set 'variants_file' to empty string if none found
- load_build_dependencies():
  * here we don't have to look for a variants file  any more
  * bugfix in testing prefix 'b:' and 'r:' for build- or runtime dependency
2017-05-17 10:33:35 +02:00
gsell 43171df80f Pmodules/modbuild
- don't search for a variants file while bootstrapping
2017-05-17 10:30:05 +02:00
Achim Gsell 1daace6713 OS specific build settings moved to configuration file 2017-05-09 23:34:16 +02:00
Achim Gsell c9e1f74557 Pmodules/modbuild
- first attempt to get latest version from a variants file (still broken)
2017-05-09 01:41:20 +02:00
Achim Gsell f1f9ae775c Pmodules/libpbuild.bash
- if OS == Darwin: do not add path to Xquarz
- function documentation improved
- some download problems fixed
2017-05-09 01:39:24 +02:00
gsell ce283bddea Pmodules/modulecmd.bash.in
- is_modulefile(): typo fixed
2017-04-20 14:45:46 +02:00
gsell 2739df53ec Pmodules/modulecmd.bash.in
- accept shebangs like '#%Module17.3' for traditional modulefile
- accept shebang '#%Pmodule' for modulefiles using Pmodules extensions (fixing #18)
- stub added for printing CSV output in search command (see issue #19)
2017-04-20 11:28:33 +02:00
gsell c621f7233a Pmodules/modmange.bash.in:
- bugfix in initializing a new module environment, fixes #16
2017-03-30 14:32:21 +02:00
gsell f219e40460 Pmodules/modmanage.bash.in
- fix bug in 'get_group_depth()', fixing issue #15
2017-03-29 18:52:37 +02:00
gsell 706b11b812 Pmodules/modulecmd.tcl.in
- Extended procedure for Pmodules implemented in the pure Tcl variant,
  closing issue #12
2017-03-22 15:13:36 +01:00
gsell d491c3046e Pmodules/modulecmd.bash.in
- libmodules.tcl moved to $PMODULES_HOME/lib/Pmodules
- revert removing PSI_LIBMODULES, there are still some old modulefiles
- bugfix in sub-command 'purge' fixing issue #10
2017-03-22 15:07:46 +01:00
gsell 3bd6c9c1b4 Pmodules/modulecmd.tcl.in
- indentation changed to 8 spaces
- avoid needless nesting
2017-03-01 14:08:17 +01:00
gsell 972c0cdcdd Pmodules/modulecmd.bash.in
- missing sub-command 'help' added to dictionary
2017-03-01 14:05:27 +01:00
gsell 0cd1c02775 Pmodules/libmodules.tcl:
- prefix global variables with 'g_'
2017-03-01 14:04:36 +01:00
gsell 8f1c469a98 Pmodules/modbuild
- erroneously inserted 'i' removed
2017-02-15 16:55:02 +01:00
gsell 1e33fc439c Pmodules/modulecmd.bash.in
- bug-fix in get_available_modules() if Tcl implementation of modulecmd is used
2017-02-15 15:25:36 +01:00
gsell e3ef0f1b8d Pmodules/modulecmd.bash.in:
- PMODULES_USED_GROUPS removed from PMODULES_ENV (close #9)
2017-02-09 11:15:41 +01:00
gsell d7dbccd0e4 Pmodules/bash
- bug-fix in passing options to modulecmd (issue #8)
2017-02-07 17:54:51 +01:00
gsell ef2df8ea3d Pmodules/modulecmd.bash.in:
- bug-fix in loading dependencies (issue #6}
- enhance handling of sub-commands(issue #7)
2017-02-07 17:44:07 +01:00
gsell 3f4b5ed2e7 Pmodules/dialog.bash removed (issue #5) 2017-01-24 11:25:37 +01:00
gsell aae257b7f6 dialog based module installation removed (see also issue #5) 2017-01-24 11:13:32 +01:00
gsell f13fcdf7d8 Pmodules/modulecmd.bash.in
- do not add Pmodules bin and sbin directories to PATH
2017-01-10 17:13:03 +01:00
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