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
|
|
@ -48,7 +48,7 @@ jobs:
|
|||
# LUDIC_CC so every clang invocation — the seed bootstrap, `ludic-dev build`,
|
||||
# and each compiled test program — picks it up. Absolute path so it
|
||||
# still resolves if a step changes directory.
|
||||
echo "LUDIC_CC=clang-16 $(pwd)/tools/ci/linux_stdio_shim.ll" >> "$GITHUB_ENV"
|
||||
echo "LUDIC_CC=clang-16 $(pwd)/tools/ci/linux_stdio_shim.ll -lm" >> "$GITHUB_ENV"
|
||||
echo "LUDIC_HOME=$(pwd)" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Bootstrap the toolchain from the IR seed (clang only)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue