Repository navigation
Commit 56958d6
committed
fix(bench): give the xmake arm both the toolchain and CC/CXX
两者管的不是同一段构建,缺一不可:
--toolchain=mcpp-* 工程自己的 target(payload 编译器 + 它的 -B/--sysroot)
CC / CXX xrepo 构建的依赖包 —— xmake **不会**把工程工具链应用到
它们身上
只给 toolchain,依赖包就用 PATH 上第一个 `cc`。在这个仓库里那是 workspace 的
xlings shim,它的 include 路径缺内核 UAPI 头,于是每个包都死在三层之下的头文件里:
.../xim-x-glibc/2.39/include/bits/local_lim.h:38:10:
fatal error: linux/limits.h: No such file or directory
> in src/lua.c
手工跑同一条命令看着是好的 —— 只是因为那些包已在 xrepo 缓存里、根本没重建。
加上 CC/CXX 后 `install lua v5.4.8 .. ok`。
1 parent dee8eac commit 56958d6
1 file changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
60 | 77 | | |
61 | 78 | | |
62 | 79 | | |
63 | 80 | | |
64 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
65 | 96 | | |
66 | 97 | | |
67 | 98 | | |
| |||
0 commit comments