Re: [easybuild] Specifying greater than for builddependencies

2018-05-18 Thread Kenneth Hoste

Dear André,

On 16/05/2018 12:37, André Gemünd wrote:

Dear EasyBuilders,

another question that has cropped up for us is how to specify the minimum required CMake 
version as builddependency. In our view its unnecessary to install CMake for specific 
toolchains, and also to specify any fixed version. We just need to specify "CMake > 
2.8.12", replicating the often used cmake_minimum_required macro in CMakeLists.txt. Of 
course, it would even be nicer to do this from the CMakeMake easyblock and automatically 
find the required version in the CMakeLists.txt, but the first idea would be enough for now 
I think. Is it possible?


Right now you can only specify strict versions of (build) dependencies 
in easyconfig files.


The idea to loosen this a bit to also support version ranges has existed 
for a while (see 
https://github.com/easybuilders/easybuild-framework/issues/746), but i) 
nobody has stepped up yet to actually go and implement it, ii) it's also 
a bit of a can of worms (and open-ended "CMake > 2.8.12" is probably a 
bad idea in the long run, taking into account CMake 3.x, 4.x, etc.; 
sooner or later the easyconfig is going to start failing...).


That said, we should definitely support it especially for tools like 
CMake. But someone will need to find the time to come up with a spec and 
implement it...



regards,

Kenneth



Best Greetings



[easybuild] Specifying greater than for builddependencies

2018-05-16 Thread André Gemünd
Dear EasyBuilders,

another question that has cropped up for us is how to specify the minimum 
required CMake version as builddependency. In our view its unnecessary to 
install CMake for specific toolchains, and also to specify any fixed version. 
We just need to specify "CMake > 2.8.12", replicating the often used 
cmake_minimum_required macro in CMakeLists.txt. Of course, it would even be 
nicer to do this from the CMakeMake easyblock and automatically find the 
required version in the CMakeLists.txt, but the first idea would be enough for 
now I think. Is it possible?

Best Greetings
-- 
André Gemünd
Fraunhofer-Institute for Algorithms and Scientific Computing
andre.gemu...@scai.fraunhofer.de
Tel: +49 2241 14-2193
/C=DE/O=Fraunhofer/OU=SCAI/OU=People/CN=Andre Gemuend