Skip to content

Conversation

@boegel
Copy link
Member

@boegel boegel commented Nov 13, 2025

Follow-up for #5041 (which was a follow-up for #5023) to fix another problem when using --search-path-cpp-headers=include_paths, as we're doing in EESSI.

Without this, the configure step for `` (see ) fails with:

configure: error: --with-mpi was given, but test for MPI failed

config.log shows:

conftest.c:13:10: fatal error: mpi.h: No such file or directory
   13 | #include <mpi.h>
      |          ^~~~~~~
compilation terminated.

if dep.get("external_module", False):
# collect software install prefixes for toolchain components + dependencies
dep_roots = []
for dep in deps + self.tcdeps:
Copy link
Member Author

Choose a reason for hiding this comment

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

Just to point it out: here's the actual fix.

Everything else that was changed in easybuild/* is basically (very minor) code style improvement...

Copy link
Contributor

@bedroge bedroge left a comment

Choose a reason for hiding this comment

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

Lgtm

@bedroge bedroge merged commit 7805471 into easybuilders:develop Nov 13, 2025
39 checks passed
@Flamefire
Copy link
Contributor

Flamefire commented Nov 14, 2025

This caused major issues that prevent building anything now. See the backtrace in #5047 I used as an example caused by e.g eb LLVM-20.1.8-GCCcore-14.3.0.eb

Fix: #5048

Flamefire added a commit to Flamefire/easybuild-framework that referenced this pull request Nov 14, 2025
In easybuilders#5042 `tcdeps` is actually used to get the software roots.
Those are only available for *runtime* dependencies of the toolchain
module. So it will fail for build dependencies which are however
included by EasyConfig.toolchain.
@boegel boegel deleted the fix_toolchain_add_dependency_variables_toolchain_components branch November 16, 2025 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix EESSI Related to EESSI project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants