Commit e7d236a
committed
Fix native CI: use leanc for ABI-compatible FFI build
Lean's linker uses its own sysroot + libc++. Building the FFI library
with system GCC (libstdc++) causes ABI mismatches (__libc_csu_fini,
std::__cxx11::basic_string undefined symbols).
- CI: use leanc as cmake compiler with STATIC_LIBRARY try-compile
- lakefile.lean: remove -lstdc++/-lgcc_s, add -lzmq for system ZMQ1 parent 2913fff commit e7d236a
2 files changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
49 | | - | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | | - | |
52 | 55 | | |
53 | | - | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
0 commit comments