申威在编译python等三方库由于架构问题导致编译失败,搜了很多没有相关资料,适配了一些国产uos、kylin系统,简单写下解决编译greenlet的问题
问题报错:
src/greenlet/greenlet_slp_switch.hpp:69:6: 错误:#error "greenlet needs to be ported to this platform, or taught how to detect your compiler properly."
69 | # error \
| ^~~~~
In file included from src/greenlet/greenlet.cpp:31:
src/greenlet/TGreenlet.cpp: 在成员函数‘virtual greenlet::Greenlet::switchstack_result_t greenlet::Greenlet::g_switchstack()’中:
src/greenlet/TGreenlet.cpp:183:15: 错误:‘slp_switch’ was not declared in this scope; did you mean ‘g_switch’?

4876

被折叠的 条评论
为什么被折叠?



