Skip to content

add custom easyconfig parameter 'buildtype' to generic CMakeMake easyblock#1915

Merged
boegel merged 1 commit intoeasybuilders:developfrom
Flamefire:cmake_build_type
Jan 14, 2020
Merged

add custom easyconfig parameter 'buildtype' to generic CMakeMake easyblock#1915
boegel merged 1 commit intoeasybuilders:developfrom
Flamefire:cmake_build_type

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

@Flamefire Flamefire commented Jan 13, 2020

Heavily based on code from Ward Poelmans from #911

IMO setting the buildtype is valuable to not have to work with the quite verbose configopts.

Note that configopts is passed AFTER this option so it can still override CMAKE_BUILD_TYPE and that there is NO change to the default behavior: Nothing is added unless buildtype is set

note: renamed to build_type in #1922

Comment thread easybuild/easyblocks/b/bamtools.py Outdated
Heavily based on code from Ward Poelmans
@Flamefire
Copy link
Copy Markdown
Contributor Author

@wpoely86 Hope you don't mind me taking this, I added your name to the commit message

I also made it more minimal and simpler

@wpoely86
Copy link
Copy Markdown
Member

No problem!

@Flamefire
Copy link
Copy Markdown
Contributor Author

Follow-up: Replace and validate all usages of CMAKE_BUILD_TYPE in EBs, I've seen "release" and "RELEASE" which is likely wrong

@boegel boegel changed the title Add buildtype option to CMake EB add custom easyconfig parameter 'buildtype' to generic CMakeMake easyblock Jan 14, 2020
@boegel boegel added this to the next release (4.1.1) milestone Jan 14, 2020
Copy link
Copy Markdown
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@boegel boegel merged commit 4dcdd6f into easybuilders:develop Jan 14, 2020
@Flamefire Flamefire deleted the cmake_build_type branch January 14, 2020 10:12
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.

4 participants