VZIKL
VZIKL
m1是arm架构的,姑且添加了相关的支持,麻烦测试一下其他部分还有没有问题 @roczpwu https://github.com/VZIKL/incubator-brpc/commit/110d67077929222c627ff95310ea9ec8d76e7a15
没注意类型,我重新更新了一下代码 找了台arm机编译测试了一下,跑了个基本的echo example看起来挺正常的 麻烦验证一下 @likunyao https://github.com/VZIKL/incubator-brpc/commit/55a6d100a9aeaa8253d380afe218dab43ab85637
@likunyao 麻烦提供一下构建参数以及相关命令 我这边arm机器上使用 sh config_brpc.sh --headers=/usr/include --libs=/usr/lib && make -j64 是正常可用的 (用gcc/g++编译)
@likunyao 看了下目前context的实现应该是只针对mac x86有编写 我先直接用宏隔开这部分代码 麻烦测试一下 https://github.com/VZIKL/incubator-brpc/commit/3c350c5ed7c00e3ff9ca40af40edb9e9124100a7
还是应该实现一下arm mac context的部分 我晚点写一下 @likunyao
https://github.com/VZIKL/incubator-brpc/commit/49db58dac288a7b145438af21ad30a57d19b54be @likunyao 帮忙测试一下看看有没有啥问题 借鉴了boost的context部分 也没啥太大改动 (说不定直接copy上面arm64的也能用
@likunyao 瞎了(少删了一行endif 看看呗应该可以了 主要是没机器测试 https://github.com/VZIKL/incubator-brpc/commit/46ab26de83b6ce6213488b657feb27ae759059d3
@likunyao @roczpwu https://github.com/VZIKL/incubator-brpc/commit/6bafcca7e53460fcb9269c748a0b89f57a3b2e4c 这个版本在m1正常构建 (感谢 https://github.com/shiptux 提供的m1 mac air环境) 就是跑好像有点问题 进程popen打开就掉进了ferror 771 src/butil/popen.cpp:173] Encountered error while reading for the pipe
@likunyao 是的 我看到了 这个问题得查一下 跟上面的context部分应该是没啥关系的
use gcc isn't error :D