Tencent / Tendis

Tendis is a high-performance distributed storage system fully compatible with the Redis protocol.
http://tendis.cn
Other
2.87k stars 317 forks source link

是否有计划对linux ARM 架构支持 #270

Open KwanFaiLau opened 4 weeks ago

KwanFaiLau commented 4 weeks ago

目前描述只支持Linux X64, 是否有计划对linux ARM 架构支持

raffertyyu commented 4 weeks ago

暂时没。编译上还有些待兼容的问题。

takenliu commented 3 weeks ago

arm架构源码编译tendisplus最新版本2.7.0,改动: (示例使用的cpu为鲲鹏,架构:aarch64架构,型号:kunpeng-920)

  1. gcc安装升级到11.3.0版本
  2. tendis/Tendis/src/tendisplus/utils/base64.cpp,44行,“static const char DecodeTable[] = {”,char改为signed char。
  3. tendis/Tendis/src/tendisplus/utils/base64.cpp,62行,“char ch;” char改为signed char。
  4. src/tendisplus/tools/CMakeLists.txt文件,将"-mno-avx-mno-avx2",改为"-march=native"。

以上内容由QQ社区群里的绿光同学测试通过,感谢绿光同学的分享~🌹

KwanFaiLau commented 3 weeks ago

arm架构源码编译tendisplus最新版本2.7.0,改动: (示例使用的cpu为鲲鹏,架构:aarch64架构,型号:kunpeng-920)

  1. gcc安装升级到11.3.0版本
  2. tendis/Tendis/src/tendisplus/utils/base64.cpp,44行,“static const char DecodeTable[] = {”,char改为signed char。
  3. tendis/Tendis/src/tendisplus/utils/base64.cpp,62行,“char ch;” char改为signed char。
  4. build/src/tendisplus/tools/CMakeFiles/ldb_tendis.dir/link.txt 文件,删除"-mno-avx-mno-avx2",改为"-march=native"。

以上内容由QQ社区群里的绿光同学测试通过,感谢绿光同学的分享~🌹

谢谢🌹,我试验一遍