Skip to content

set $CMAKE_*_PATH when CMake is loaded in PythonPackage easyblock#1398

Merged
boegel merged 1 commit intoeasybuilders:developfrom
wpoely86:cmakepython
May 8, 2018
Merged

set $CMAKE_*_PATH when CMake is loaded in PythonPackage easyblock#1398
boegel merged 1 commit intoeasybuilders:developfrom
wpoely86:cmakepython

Conversation

@wpoely86
Copy link
Copy Markdown
Member

It's is not a great nor a final solution but it already helps.

We should think how to handle this in the generic case? Wrapper for CMake in the PythonPackage block?

@boegel
Copy link
Copy Markdown
Member

boegel commented May 8, 2018

@wpoely86 How does this relate to the CMakePythonPackage generic easyblock we already have? Isn't that a better approach?

@wpoely86
Copy link
Copy Markdown
Member Author

wpoely86 commented May 8, 2018

It's different (I think) in the sense that you never directly call cmake. For the outside, it's an ordinary python package but internally it calls cmake. The CMakePythonPackage actually runs cmake itself directly.

@boegel
Copy link
Copy Markdown
Member

boegel commented May 8, 2018

Makes sense, thanks for clarifying @wpoely86.

I gave this a quick test with easyconfigs that could potentially be affected by this change (i.e. ones that combine PythonPackage with CMake as (build) dependency), but didn't see any problems, so good to go, thanks!

@boegel boegel merged commit ca28321 into easybuilders:develop May 8, 2018
@wpoely86 wpoely86 deleted the cmakepython branch May 8, 2018 18:45
@boegel boegel changed the title Set CMake patch when it's loaded in PythonPackage set $CMAKE_*_PATH when CMake is loaded in PythonPackage easyblock May 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants