Skip to content

Keep symlinks when copying build dirs of failed installations#4933

Merged
boegel merged 1 commit intoeasybuilders:developfrom
Flamefire:20250623100013_new_pr_KdArwDbECV
Jul 3, 2025
Merged

Keep symlinks when copying build dirs of failed installations#4933
boegel merged 1 commit intoeasybuilders:developfrom
Flamefire:20250623100013_new_pr_KdArwDbECV

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

@Flamefire Flamefire commented Jun 23, 2025

(created using eb --new-pr)

Especially TensorFlow and PyTorch heavily use symlinks in the build folder (e.g. Bazel creates "virtual dirs" to recreate fixed folder structures).
For PyTorch this just failed for me due to recursive symlinks (couldn't check which one).

I don't see a reason to resolve symlinks which results in at least more space used and such failures as above at worst, so let's just keep the symlinks which also more closely resembles the build dir.

Copy link
Copy Markdown
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 boegel added this to the 5.1.1 milestone Jul 3, 2025
@boegel boegel added the bug fix label Jul 3, 2025
@boegel boegel merged commit e343bf2 into easybuilders:develop Jul 3, 2025
46 of 47 checks passed
@Flamefire Flamefire deleted the 20250623100013_new_pr_KdArwDbECV branch July 3, 2025 06:39
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