Skip to content

Add option to CMakeMake to specify name of build directory#3786

Merged
boegel merged 2 commits intoeasybuilders:developfrom
Flamefire:cmake-build-dir
Aug 8, 2025
Merged

Add option to CMakeMake to specify name of build directory#3786
boegel merged 2 commits intoeasybuilders:developfrom
Flamefire:cmake-build-dir

Conversation

@Flamefire
Copy link
Contributor

@Flamefire Flamefire commented Jun 18, 2025

Especially for Bundle easyconfigs one might want to refer to the build directory of a previous build step.
Using the auto-generated name is not reliable as it might change. Enhance separate_build_dir to accept a string in addition to True/False to specify a specific directory.

Example is Triton:
https://github.com/easybuilders/easybuild-easyconfigs/blob/9a1462f0120bee1ed8230b18948e689a7513d3b7/easybuild/easyconfigs/t/Triton/Triton-3.1.0-foss-2024a-CUDA-12.6.0.eb#L71-L74

Test: easybuilders/easybuild-easyconfigs#23119 (comment)

Especially for `Bundle` easyconfigs one might want to refer to the build
directory of a previous build step.
Using the auto-generated name is not reliable as it might change.
Enhance `separate_build_dir` to accept a string in addition to
True/False to specify a specific directory.
@boegel boegel changed the title Add option to CMakeMake to specify name of build directory Add option to CMakeMake to specify name of build directory Aug 8, 2025
Copy link
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
Copy link
Member

boegel commented Aug 8, 2025

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS zlib-ng-2.2.4-GCCcore-14.2.0.eb
  • SUCCESS libspng-0.7.4-GCCcore-14.3.0.eb
  • SUCCESS SVDSS2-2.0.0-alpha.3-GCC-12.3.0.eb
  • SUCCESS x265-3.6-GCCcore-13.3.0.eb
  • SUCCESS Salmon-1.10.3-GCC-13.3.0.eb
  • SUCCESS FlexiBLAS-3.4.4-GCC-13.3.0.eb
  • SUCCESS JasPer-4.2.4-GCCcore-13.3.0.eb

Build succeeded for 7 out of 7 (7 easyconfigs in total)
node3559.doduo.os - Linux RHEL 9.4, x86_64, AMD EPYC 7552 48-Core Processor (zen2), Python 3.9.18
See https://gist.github.com/boegel/617facd8dedee7a498ed44bb2fd799aa for a full test report.

@boegel boegel merged commit 77e2538 into easybuilders:develop Aug 8, 2025
17 checks passed
@Flamefire Flamefire deleted the cmake-build-dir branch August 8, 2025 10:20
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