这是indexloc提供的服务,不要输入任何密码
Skip to content

Make support for PowerPC (ppc64) #59

@LuThaiHoc

Description

@LuThaiHoc

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

How to build server and client support Power PC architure?

Suggested solution / 实现思路

I added lines in ./scripts/build.server.sh

export GOARCH=ppc64
go build -ldflags "-s -w -X 'Spark/server/config.COMMIT=$COMMIT'" -tags=jsoniter -o ./releases/server_linux_ppc64 Spark/server

It was success build but when I run on my ppc64 architure computer, I got error: Illegal instruction
image

Additional information / 附加说明

uname -a
Linux MY-MACHINE-NAME SMP Thu Dec 9 14:27:55 +07 2021 ppc64 ppc64 ppc64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions