Skip to content

Commit de1b6d5

Browse files
sbryngelsonclaude
andcommitted
Set SETUPTOOLS_SCM_PRETEND_VERSION for hardlink source copies
Hardlink copies (cp -al / rsync --link-dest) share the same .git/index inode across all config directories. When parallel builds invoke setuptools_scm, concurrent git status calls on the shared index cause timeouts on Lustre. Bypass git entirely by setting the pretend version. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e5ce527 commit de1b6d5

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/scripts/run_frontier_all_benchmarks.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ for cfg in "${configs[@]}"; do
4646
done
4747

4848
# --- Phase 2: Build all configs on login node in parallel ---
49+
# Avoid setuptools_scm git conflicts in hardlink copies (shared .git/index)
50+
export SETUPTOOLS_SCM_PRETEND_VERSION=0.0.0
51+
4952
MAX_PARALLEL=2
5053

5154
echo ""

.github/scripts/run_frontier_all_tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ for cfg in "${configs[@]}"; do
5151
done
5252

5353
# --- Phase 2: Build all configs on login node in parallel ---
54+
# Avoid setuptools_scm git conflicts in hardlink copies (shared .git/index)
55+
export SETUPTOOLS_SCM_PRETEND_VERSION=0.0.0
56+
5457
MAX_PARALLEL=2
5558

5659
echo ""

0 commit comments

Comments
 (0)