Commit Graph

284 Commits

Author SHA1 Message Date
gsell c5012be804 fixes in libpbuild.bash
- create prefix directory after compilation succeeded
- path to 'true(1)' fixed
2019-03-12 14:52:31 +01:00
gsell d69dae78b8 define version as constant in modbuild, bugfix in reading configuration
modbuild must now be created with build configure
2019-03-12 14:48:03 +01:00
gsell 8ef4537aa9 bugfixes and cleanup/review of build system 1.0.0rc2 2019-03-08 17:04:49 +01:00
gsell fc9e554a9d no need to call pbuild::make_all in the build-scripts 2019-03-08 16:57:13 +01:00
gsell b3c52357ec set version to 1.0.0rc2 2019-03-08 16:56:24 +01:00
gsell 93a3e13477 export PMODULES_VERSION in master build script 2019-03-08 16:55:58 +01:00
gsell fec633cc99 major review of build systems, building of multiple version implemented
- option '--all-variants' added, if this option is set, all variants matching
  the given version(s) will be build
- the build-system uses the release specified in the variants file. If a
  dependency have an improper release, the build stops
- the library is now better isolated from the "main" programm.
- several variables and function have been refactored
1.0.0rc1
2019-02-22 16:16:54 +01:00
gsell b9c940600b bugfix in std::log(): do not append newline to format. 2019-02-22 16:04:21 +01:00
gsell 43a63f2967 missing line-feeds in calls of 'std::info' added 2019-02-17 18:07:06 +01:00
gsell 77c6af265f Pmodules/libpbuild: new release 'removed' added
If the release of a module is set to 'removed', modbuild checks whether
the module is still available and removes it if yes.
2019-01-21 17:27:09 +01:00
gsell faa8075d67 Pmodules/modbuild: minor changes in printing error messages 2019-01-21 17:24:00 +01:00
gsell cc79c7f602 libpbuild: function to install required shared libs added 2019-01-14 13:11:12 +01:00
gsell 3861002868 Pmodules/modulecmd.bash.in: bugfixes in subcommand_load()
- bug fixed in testing availability of module.
- bug fieed in loading dependencies: we must echo the output of the load
  command!
2018-12-27 18:01:11 +01:00
gsell 7918fe8680 bugfix in libpbuild.bash
bug fixed in function pbuild::module_is_avail(): set 'uvar' to '__unused__'
if second argument is empty/unset
2018-12-27 17:57:24 +01:00
gsell 1fac0d19aa config/versions.conf: set version to 1.0.0rc1 2018-10-26 15:25:00 +02:00
gsell 1387c36253 build: handle new option to pass modbuild configuration file 2018-10-26 15:24:34 +02:00
gsell f90736f879 Tools/getopt/Makefile.patch: fix position of LDFLAGS in linker command 2018-10-26 15:23:51 +02:00
gsell c73ac30b7a Pmodules/modulecmd.bash.in: subcommand_load(): do not print the error message from modulecmd.bin 2018-10-26 15:21:51 +02:00
gsell 1a81a2879e Pmodules/modbuild: option added to pass the modbuild configuration file 2018-10-26 15:19:47 +02:00
gsell a83fcf0cb1 Pmodules/libpbuild.bash: fixes in coding style 2018-10-26 15:18:41 +02:00
gsell a6c76140e5 bugfix in getopt build-script 2018-10-16 16:04:01 +02:00
gsell 1bcefaf287 Pmodules/modbuild:
- bugfix in setting the version strings
2018-10-16 14:39:34 +02:00
gsell 28f787cf83 Pmodules/modulecmd.bash.in
- bugfix in subcommand_load(): modules may write something to stderr while loading.
2018-10-16 14:38:58 +02:00
gsell 0623f2d0ab Pmodules/libmodules.tcl
- support for use-flags added
2018-10-16 14:37:27 +02:00
gsell 5ac6de9df7 set version back to 0.99.16 2018-10-16 14:36:30 +02:00
gsell 4020ca9812 version set to 1.0.0rc1 2018-10-15 14:20:11 +02:00
gsell a4663d81cc fixes in Tools/{getopt,Tcl} build-scripts 2018-10-15 14:19:52 +02:00
gsell 19ba95e43f Pmodules/libpbuild.bash: bugfix in 'check_supported_systems()' 0.99.16 2018-10-12 19:45:37 +02:00
gsell 73dc9e7293 Pmodules/modulecmd.bash.in
- support for use-flags implemented/fixed
2018-10-11 17:41:24 +02:00
gsell 9360296bb5 Pmodules/modbuild
- libpbuild.bash is sourced after parsing command line arguments
- use-flags implemented
2018-10-11 17:40:40 +02:00
gsell b450e72555 Pmodules/libpbuild.bash
- supported_os() renamed to supported_systems(), check is done in make_all
- supported_compilers() removed, obsolete since all variants must be defined in the variants-file
- set_download_url() cannot be used to pass SHA256 sums
- set_sha256sum() added
2018-10-11 17:37:47 +02:00
gsell fb2f4898d5 Pmodules/modulecmd.bash.in
- support for architecture specific modules added
- cleanup
2018-10-05 16:17:33 +02:00
gsell 9895c77a17 Pmodules/modbuild
- usage reviewed
- more general "system" concept implemented, replacing $OS and $variant_flavor
- option '--install-modulefile' replaced with '--update-modulefiles' to install the module and the release file
2018-10-05 16:15:38 +02:00
gsell 4a6f2f63c2 Pmodules/libpbuild.bash:
- more general concept of systems implemented, replacing OS specific stuff
- bugfix in 'install_pmodules_files()'
- install modulefile and release file together
2018-10-05 16:12:50 +02:00
gsell 1477614f64 Pmodules/modulecmd.bash.in
- in subcommand_search(): option to print variants file style output removed
2018-09-28 17:57:49 +02:00
gsell 526a825d40 build envoronment:
- specifying a variants file has been replaced by a more flexible 'flavor' implementation
- 'ModuleGroup' has been renamed to 'GROUP'
- bugfix in setting 'PREFIX'
- a variants file must exist
- '--with' arguments are used to select a variant only not to load a module
- a SHA256 hash-sum can now be passed as second argument to set_download_url()
- a (relative) output file-name can now be passed as third argument to set_download_url()
- '{set,add}_docfile*()' have been replaced by 'install_docfiles()'
- build dependencies are now written to the doc-directory
- build script and variants file are installed in doc-directory
2018-09-28 17:56:34 +02:00
gsell 6d4367a1cc Pmodules/libmodules.tcl:
- set variable 'GROUP'
- prepend dir to CMAKE_MODULE_PATH or PKG_CONFIG_PATH if corresponding directory exist
2018-09-28 17:46:52 +02:00
gsell ecb5217572 build:
- create directories in PMODULES_HOME before compiling anything
2018-09-14 17:01:46 +02:00
gsell 5e81afe8ce Tools/getopt/build
- bugfix
2018-09-14 17:00:23 +02:00
gsell 23b4c37bc7 Pmodules/modulecmd.bash.in
- bugfix in subcommand_load(): LOADEDMODULES were not set correct: the output of "modulecmd ...
2018-09-14 16:59:45 +02:00
gsell 88d8ee9a38 Pmodules/libpbuild.bash
- install modulefile to doc-dir
- make sure BUILD_DIR exist
2018-09-14 16:59:01 +02:00
gsell b83f876289 Pmodules/bash:
- std::append_path() and std::replace_path(): bugfix: spaces in directory names were not handled correctly
2018-09-14 16:52:36 +02:00
gsell b17d9a2878 Pmodules/modulecmd.bash.in:
- bugfixes in subcommand_load()
2018-08-30 11:12:07 +02:00
gsell c682f53e15 Pmodules/libpbuild.bash
- auto-detect whether to use autotools or CMake
- pbuild::use_autotools() and pbuild::use_cmake() added, with these function you can select the to be used configuration tool if script for both are provided
2018-08-30 11:10:43 +02:00
gsell 7b637e97b2 Pmodules/libmodules.tcl:
- set P,V, V_{MAJOR,MINOR,PATCHLVL,RELEASE,PKG} as global variable, so they are available in modulesfiles
2018-08-30 11:07:06 +02:00
gsell b2dec43b71 Pmodules/modulecmd.bash.in: bugfixes in subcommand_load() 2018-08-16 18:01:52 +02:00
gsell 8e59782759 Pmodules/modbuild: bugfix in set_full_module_name_and_prefix(): missing slash in build PREFIX added 2018-08-16 17:59:56 +02:00
gsell 4b00643ae2 Pmodules/modulecmd.bash.in: subcommand_load(): load modules with absolut path; use 'module show' to test availability and to get absolut module file name and module PREFIX; adapt to changed 'get_options()'; use 'std::upvar()' where reasonable 2018-08-15 16:39:39 +02:00
gsell 3335499a70 Pmodules/libmodules.tcl: prepend dir to MODULEPATH in case of a herarchical group 2018-08-15 16:33:16 +02:00
gsell ca99e9a3bc Pmodules/libpmodules.bash: pmodules::get_options() uses std::upvar() now 2018-08-15 16:31:42 +02:00