mirror of
https://github.com/envmodules/modules.git
synced 2026-06-10 00:56:30 +08:00
Introduce '--enable-compat-version' configure argument to configure and build compatibility (C) version in addition to main version. This compatibility version is located in the 'compat' directory, which is automatically populated with 'c-master' git branch if we work in the git repository. 'configure' script is adapted to run the compatibility version relative configure script. Unknown command-line arguments are passed down to this script, which raise error if these arguments are not known there either. Some compatibility version configure script argument are also incompatible in this dual installation mode, so an error is raised (--enable-versioning for instance). Build process will generate and install modulecmd-compat, module-compat.1 and modulefile-compat.4 from this compatibility version. 'compat' suffix enables clear distinction with main version files. Acknowledgment: this development has been made and funded within the framework of the PRACE Fifth Implementation Phase (PRACE-5IP) project (http://www.prace-ri.eu/). PRACE-5IP receives funding from the EU's Horizon 2020 research and innovation programme (2014-2020) under grant agreement no. 730913.