Skip to content

Add EasyBlock for CMake#1936

Merged
akesandgren merged 3 commits intoeasybuilders:developfrom
Flamefire:cmake_eb
Feb 14, 2020
Merged

Add EasyBlock for CMake#1936
akesandgren merged 3 commits intoeasybuilders:developfrom
Flamefire:cmake_eb

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

@Flamefire Flamefire commented Jan 21, 2020

Handles all custom parameters that are currently passed to configure so CMake ECs can be simpler

Handles non-loaded modules gracefully instead of passing -DZLIB_LIBRARY_RELEASE=$EBROOTZLIB/lib/libz.so which results in
-DZLIB_LIBRARY_RELEASE=/lib/libz.so if e.g. filter-deps=zlib is used

FollowUp: Use this in all CMake ECs

Handles all custom parameters that are currently passed to configure so CMake ECs can be simpler
Handles non-loaded modules gracefully instead of passing -DZLIB_LIBRARY_RELEASE=$EBROOTZLIB/lib/libz.so which results in
-DZLIB_LIBRARY_RELEASE=/lib/libz.so if e.g. filter-deps=zlib is used
@Flamefire
Copy link
Copy Markdown
Contributor Author

Ccing @boegel @pescobar, see Slack

Comment thread easybuild/easyblocks/c/cmake.py Outdated
Comment thread easybuild/easyblocks/c/cmake.py
Comment thread easybuild/easyblocks/c/cmake.py Outdated
Comment thread easybuild/easyblocks/c/cmake.py Outdated
@boegel boegel added the new label Feb 13, 2020
@boegel boegel added this to the 4.x milestone Feb 13, 2020
@boegel
Copy link
Copy Markdown
Member

boegel commented Feb 13, 2020

@Flamefire Please also open a PR for a CMake easyconfig that uses this, so we have something to test with (either update latest CMake easyconfig, or create a new one for latest CMake on top of GCCcore/9.2.0)

@Flamefire
Copy link
Copy Markdown
Contributor Author

@akesandgren
Copy link
Copy Markdown
Contributor

Going in, thanks @Flamefire!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants