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

make sure that CMakeMakeCp uses correct build dir #2748

Merged
merged 1 commit into from
Jun 15, 2022

Conversation

boegel
Copy link
Member

@boegel boegel commented Jun 15, 2022

When the CMakeMakeCp easyblock is used to install a bundle component while other components also use the CMakeMake easyblock (or one that derives from it), blindly using the easybuild_obj build directory is wrong, since that was already created for another component.

The CMakeMake easyblock is aware of this, and ensure creating a unique build directory via create_unused_dir, but this was not taken into account in the CMakeMakeCp easyblock which hardcoded 'easybuild_obj'...

Copy link
Contributor

@akesandgren akesandgren 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
Copy link
Member Author

boegel commented Jun 15, 2022

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS openCARP-8.2-foss-2021a.eb
  • SUCCESS RAxML-NG-0.9.0-gompi-2019b.eb
  • SUCCESS Vampire-4.5.1-GCCcore-10.2.0.eb
  • SUCCESS ModelTest-NG-0.1.7-gompi-2021b.eb

Build succeeded for 4 out of 4 (4 easyconfigs in total)
node2680.swalot.os - Linux RHEL 8.4, x86_64, Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz (haswell), Python 3.6.8
See https://gist.github.com/a4bf4dea1b5282226c4212cae1c603d4 for a full test report.

@akesandgren
Copy link
Contributor

Going in, thanks @boegel!

@akesandgren akesandgren merged commit 0e25e3a into easybuilders:develop Jun 15, 2022
@boegel boegel deleted the fix_cmakemakecp branch June 15, 2022 14:49
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.

2 participants