Skip to content

Commit 1888a6f

Browse files
16bit-ykikoclaude
andcommitted
fix(ci): add lld to test-run env for macOS integration tests
Integration tests use CMake with toolchain.cmake which requires -fuse-ld=lld. Without lld in the test-run environment, CMake's compiler check fails on macOS cross-compile test runners. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 19d034f commit 1888a6f

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

pixi.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pixi.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,18 @@ scripts = ["scripts/activate_cross_linux.sh"]
8181
[feature.test.dependencies]
8282
python = ">=3.13"
8383

84-
# clice discovers toolchain flags by running `clang++ -###`. On macOS, the
85-
# system Apple clang emits vendor-specific flags that upstream LLVM cannot
86-
# parse, causing unit test failures. Providing upstream clang in PATH
87-
# prevents fallback to /usr/bin/clang++.
84+
# On macOS, the system Apple clang emits vendor-specific flags that upstream
85+
# LLVM cannot parse. Providing upstream clang + lld in PATH prevents
86+
# fallback to /usr/bin/clang++ and satisfies toolchain.cmake's -fuse-ld=lld.
8887
[feature.test.target.osx-64.dependencies]
8988
clang = "==20.1.8"
9089
clangxx = "==20.1.8"
90+
lld = "==20.1.8"
9191

9292
[feature.test.target.osx-arm64.dependencies]
9393
clang = "==20.1.8"
9494
clangxx = "==20.1.8"
95+
lld = "==20.1.8"
9596

9697
[feature.test.pypi-dependencies]
9798
pytest = "*"

0 commit comments

Comments
 (0)