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

增加ARM版本支持 #183

Closed
chenjian24 opened this issue May 26, 2023 · 3 comments
Closed

增加ARM版本支持 #183

chenjian24 opened this issue May 26, 2023 · 3 comments

Comments

@chenjian24
Copy link

能否增加arm版本的可执行版本

@HDT3213
Copy link
Owner

HDT3213 commented May 28, 2023

没怎么用过 arm 设备, 请问 arm 版本具体是指 Apple m1 吗?

@chenjian24
Copy link
Author

没怎么用过 arm 设备, 请问 arm 版本具体是指 Apple m1 吗?

arm设备编译出来的应该是通用的。
现在这边提供的两个版本都是x86的

[root@localhost godis]# file godis-linux

godis-linux: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
[root@localhost godis]# file godis-darwin

godis-darwin: Mach-O 64-bit x86_64 executable

在arm机器下,会执行失败

无法执行二进制文件: 可执行文件格式错误

@HDT3213
Copy link
Owner

HDT3213 commented Jun 5, 2023

https://github.com/HDT3213/godis/releases/tag/v1.2.9

godis 是 pure go 写的, 直接 go build 就行

@HDT3213 HDT3213 closed this as completed Sep 9, 2023
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

2 participants