Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add custom easyblock for flook that includes install step #3034

Merged
merged 5 commits into from
Nov 15, 2023

Conversation

ahkole
Copy link
Contributor

@ahkole ahkole commented Nov 15, 2023

The software flook (https://github.com/ElectronicStructureLibrary/flook) has an unconventional build system. It doesn't have a configure script and requires a manual config file, but it does have an install step. The currently available flook easyconfig uses the MakeCp generic easyblock which works fine in most cases but it doesn't automatically install the pkgconf that might be needed by other software to automatically detect that flook has been installed. This PR adds a new easyblock for flook that also performs the install step so that the pkgconf file is generated and installed.

@ahkole
Copy link
Contributor Author

ahkole commented Nov 15, 2023

The easyblock is used in easybuilders/easybuild-easyconfigs#19238

Copy link
Member

@ocaisa ocaisa left a comment

Choose a reason for hiding this comment

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

LGTM

@ocaisa
Copy link
Member

ocaisa commented Nov 15, 2023

EasyBlock tests are in easybuilders/easybuild-easyconfigs#19238 and works great, thanks a lot @ahkole!

@ocaisa ocaisa merged commit d9ecd18 into easybuilders:develop Nov 15, 2023
47 checks passed
@boegel boegel added the new label Nov 22, 2023
@boegel boegel added this to the next release (4.9.0?) milestone Nov 22, 2023
@boegel boegel changed the title Added easyblock for flook that includes install step add custom easyblock for flook that includes install step Nov 22, 2023
@boegel
Copy link
Member

boegel commented Nov 22, 2023

@ahkole Would it make sense to also update the existing flook easyconfigs to use this easyblock (at least the ones using a supported toolchain, see also https://docs.easybuild.io/policies/toolchains)?

@ahkole
Copy link
Contributor Author

ahkole commented Nov 22, 2023

@ahkole Would it make sense to also update the existing flook easyconfigs to use this easyblock (at least the ones using a supported toolchain, see also https://docs.easybuild.io/policies/toolchains)?

@boegel I think this would make sense yes. Looking at the other flook easyconfigs they only differ in the toolchain used and the new version properly installs the pkgconfig file which makes it detectable by build systems like cmake. The other easyconfigs could also benefit from this. Should I open a PR for this?

@boegel
Copy link
Member

boegel commented Dec 28, 2023

@ahkole Would it make sense to also update the existing flook easyconfigs to use this easyblock (at least the ones using a supported toolchain, see also https://docs.easybuild.io/policies/toolchains)?

@boegel I think this would make sense yes. Looking at the other flook easyconfigs they only differ in the toolchain used and the new version properly installs the pkgconfig file which makes it detectable by build systems like cmake. The other easyconfigs could also benefit from this. Should I open a PR for this?

@ahkole Please do!

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