Skip to content

Show directory that was searched for source directory in Clang easyblock#3960

Open
Flamefire wants to merge 1 commit intoeasybuilders:developfrom
Flamefire:20251015161653_new_pr_clang
Open

Show directory that was searched for source directory in Clang easyblock#3960
Flamefire wants to merge 1 commit intoeasybuilders:developfrom
Flamefire:20251015161653_new_pr_clang

Conversation

@Flamefire
Copy link
Contributor

(created using eb --new-pr)

@Flamefire
Copy link
Contributor Author

Flamefire commented Oct 15, 2025

Test report by @Flamefire

Overview of tested easyconfigs (in order)

Build succeeded for 0 out of 1 (1 easyconfigs in total)
i8019 - Linux Rocky Linux 9.6, x86_64, AMD EPYC 7352 24-Core Processor (zen2), 8 x NVIDIA NVIDIA A100-SXM4-40GB, 580.65.06, Python 3.9.21
See https://gist.github.com/Flamefire/3591197f273c26dea82d85cb9b5bcb22 for a full test report.

This shows the change in a purposely failing build

== 2025-10-15 16:17:37,723 build_log.py:226 ERROR EasyBuild encountered an error (at easybuild/base/exceptions.py:126 in init): Failed to find exactly one source directory in /dev/shm/s3248973-EasyBuild1947937/Clang/13.0.1/GCCcore-11.3.0/libunwind-13.0.1.src for pattern ['compiler-rt-*']: [] (at easybuild/easyblocks/clang.py:261 in find_source_dir)

raise EasyBuildError("Failed to find exactly one source directory for pattern %s: %s", globpatterns,
glob_src_dirs)
raise EasyBuildError("Failed to find exactly one source directory in %s for pattern %s: %s",
os.getcwd(), globpatterns, glob_src_dirs)
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to worry about this directory potentially not existing?

If so, we can use os.getenv('PWD') instead of os.getcwd()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't see how it is possible for this directory to get removed while we are in the top of the extract step

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