Closed RekiDunois closed 1 month ago
由于 Nuitka 工作原理限制,对于非容器化的构建,只能在原生架构上进行,意思是不可以直接从 x86_64 环境交叉编译 riscv64 的二进制。您需要首先以 qemu-linux-user 等方式提供 riscv64 的运行环境才能进行 riscv64 的构建。
感谢,另外我想请问一下,我发现 ghcr.io/ruyisdk/ruyi-python-dist 不是公开状态,无法拉取,这一点是不是在构建文档中加以说明比较好?
感谢,另外我想请问一下,我发现 ghcr.io/ruyisdk/ruyi-python-dist 不是公开状态,无法拉取,这一点是不是在构建文档中加以说明比较好?
这不是预期的,后续我们看下怎么把它公开出来
感谢,另外我想请问一下,我发现 ghcr.io/ruyisdk/ruyi-python-dist 不是公开状态,无法拉取,这一点是不是在构建文档中加以说明比较好?
这不是预期的,后续我们看下怎么把它公开出来
已调整:https://github.com/ruyisdk/ruyi/pkgs/container/ruyi-python-dist 现已公开访问。
$ ./scripts/dist.sh foo64
warning: Docker-based dist builds for architecture foo64 is not supported
error: cross building is not possible with Nuitka
info: to our knowledge, foo64 is not the same as amd64
info: please retry with foo64 hardware / emulation / sysroot instead
在最新分支中设置
$RUYI_DIST_INNER
使./script/dist.sh riscv64
命令使用非docker构建方式进行构建。构建停止于以下错误:所使用的构建的riscv工具链版本为:
python版本为:
系统环境:
不知道我这样设置变量的做法有没有什么问题。
对于这个报错我的疑问是:
manylinux_2_5_x86_64
?按照 manylinux 的定义:这里的报错
manylinux_2_5_x86_64
意味着它需要 glibc 大于等于 2.5,但是 glibc 尚未更新到这个版本号。这个 manylinux 的 ABI target 是由什么决定的?pip install pygit2
而不是自己编译?