Skip to content

PoC: Fix python+rust builds on haswell nodes with 2025.06 - #329

Open
Crivella wants to merge 1 commit into
EESSI:mainfrom
Crivella:feature-rustc_2025_hook
Open

Crivella wants to merge 1 commit into
EESSI:mainfrom
Crivella:feature-rustc_2025_hook

Conversation

@Crivella

@Crivella Crivella commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Ugly but working fix for issue observed in:

Should also work for:

if the failures are truly random and just rerunning the build multiple times will cause it to succeed.
In this case we leverage the fact that re-running the pip install command will skip already installed crates and just process the not yet compiled ones

Manually tested by running it 3 times successfully on top of EESSI/software-layer#1871
The last iteration with the print of the failures failed 3 times before succeeding.

TODO

  • Cleanup comments (i've left them there for now to show some of the things that have been tried)
  • Potentially properly find the source of the failure but i think it is something very specific to our nodes + Rust/LLVM version combination. This failure does not seem to occur in our 2026.1 builds and i assume was never observed in the 2023.06 ones, or on other haswell machines with the same software stack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant