Skip to content

Commit 78b5ecb

Browse files
committed
fix(e2e): 234 must pin a toolchain per platform, not only default
macOS 上直接死在第一步: [xlings] 'xim:gcc@16.1.0' not in current index 而测试把它报成「build with bmi_schedule=on failed」—— 完全是另一个诊断。 补上和目录里其他 e2e 一样的三行(macos = llvm@22.1.8 / windows = llvm@20.1.7)。 在 clang 上策略是 two-phase、没有信号量,测试本来就会跳过第 3、4 节并说明原因, 所以这三行让它在三个平台上各测各该测的,而不是只在 Linux 上有意义。
1 parent 32a770f commit 78b5ecb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/e2e/234_bmi_schedule_on.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,21 @@ TMP=$(mktemp -d)
4646
trap "rm -rf $TMP" EXIT
4747
cd "$TMP"
4848

49+
# ⚠️ PIN PER PLATFORM, not just `default`. A bare `default = "gcc@16.1.0"` sends
50+
# macOS and Windows looking for a gcc payload that does not exist for them, and
51+
# the whole test dies at step 1 with `'xim:gcc@16.1.0' not in current index` —
52+
# reported as "the build with bmi_schedule=on failed", which is a completely
53+
# different diagnosis. Same three-line block every other e2e in this directory
54+
# uses.
4955
cat > mcpp.toml <<'EOF'
5056
[package]
5157
name = "schedon"
5258
version = "0.1.0"
5359
5460
[toolchain]
5561
default = "gcc@16.1.0"
62+
macos = "llvm@22.1.8"
63+
windows = "llvm@20.1.7"
5664
5765
[build]
5866
bmi_schedule = "on"

0 commit comments

Comments
 (0)