ci: link libm on the Linux runner, which float code needs
glibc keeps sinf/sqrtf/floorf and the rest in libm, which macOS links implicitly; examples/lang/floats.ludic failed to link on the Linux build-and-test job. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
b055fc2496
commit
bd542bd6e4
4 changed files with 4 additions and 4 deletions
|
|
@ -63,7 +63,7 @@ jobs:
|
|||
# tiny C-free IR shim supplying the Darwin stdout/stderr globals over
|
||||
# glibc's, injected through LUDIC_CC. docs-gen is a pure CLI (no
|
||||
# windowing), so the C-free bootstrap is all it needs.
|
||||
export LUDIC_CC="clang-16 $(pwd)/tools/ci/linux_stdio_shim.ll"
|
||||
export LUDIC_CC="clang-16 $(pwd)/tools/ci/linux_stdio_shim.ll -lm"
|
||||
export LUDIC_HOME="$(pwd)"
|
||||
mkdir -p bin
|
||||
clang-16 tools/ci/linux_stdio_shim.ll selfhost/ludicc.seed.ll -o bin/ludicc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue