Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KwanFaiLau opened this issue Jun 4, 2024 · 3 comments
Open

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

KwanFaiLau opened this issue Jun 4, 2024 · 3 comments

Comments

@KwanFaiLau
Copy link

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

@raffertyyu
Copy link
Contributor

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

@takenliu
Copy link
Collaborator

takenliu commented Jun 12, 2024

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
Copy link
Author

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社区群里的绿光同学测试通过,感谢绿光同学的分享~🌹

谢谢🌹,我试验一遍

This was referenced Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants