Giter Site home page Giter Site logo

Comments (10)

membphis avatar membphis commented on September 26, 2024

Which cloud platform do you use for ARM compilation?

from apisix-build-tools.

Fuchange avatar Fuchange commented on September 26, 2024

@membphis I build it on my local ARM server.

If I build it locally, it's OK.

from apisix-build-tools.

imjoey avatar imjoey commented on September 26, 2024

Which cloud platform do you use for ARM compilation?

Hi @membphis , we are using a physical server with Kunpeng 920.

from apisix-build-tools.

membphis avatar membphis commented on September 26, 2024

@idbeta do you have time to look at this issue?

from apisix-build-tools.

idbeta avatar idbeta commented on September 26, 2024

@idbeta do you have time to look at this issue?

Yes, but I don’t have this kind of environment now, I will verify after finding the environment.

from apisix-build-tools.

idbeta avatar idbeta commented on September 26, 2024

I note that apisix-2.1 provided a noarch rpm package,

But it contains some binaries files built on X86_64 and caused the apifix command cant find the file at ARM system.

Like apache/apisix#issue-691844591.

# file ./local/apisix/deps/lib/lua/5.1/lfs.so
./local/apisix/deps/lib/lua/5.1/lfs.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=5de2ad9d73ddbdaa91151ddfee3eef545a010902, not stripped

Would you like to add some options to fpm in run.sh to buind different arch packages?
Or I can provided an spec file to build packages by rpmbuild command ?

I got your point, the RPM package provided now is indeed not noarch, the name needs to be changed. @moonming

from apisix-build-tools.

imjoey avatar imjoey commented on September 26, 2024

I note that apisix-2.1 provided a noarch rpm package,
But it contains some binaries files built on X86_64 and caused the apifix command cant find the file at ARM system.
Like apache/apisix#issue-691844591.

# file ./local/apisix/deps/lib/lua/5.1/lfs.so
./local/apisix/deps/lib/lua/5.1/lfs.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=5de2ad9d73ddbdaa91151ddfee3eef545a010902, not stripped

Would you like to add some options to fpm in run.sh to buind different arch packages?
Or I can provided an spec file to build packages by rpmbuild command ?

I got your point, the RPM package provided now is indeed not noarch, the name needs to be changed. @moonming

@idbeta yep, exactly. We are supposed to make independent rpms for each cpu arch platforms, x86_64 and aarch64 for now.

I guess @Fuchange and I could help to commit a pr to fix this issue.

@idbeta We are working to bring OpenResty as well as APISIX to openEuler community, please refer to https://gitee.com/openeuler/community/pulls/1240 for details. Welcome to join us.

from apisix-build-tools.

idbeta avatar idbeta commented on September 26, 2024

@idbeta yep, exactly. We are supposed to make independent rpms for each cpu arch platforms, x86_64 and aarch64 for now.

I guess @Fuchange and I could help to commit a pr to fix this issue.

@idbeta We are working to bring OpenResty as well as APISIX to openEuler community, please refer to https://gitee.com/openeuler/community/pulls/1240 for details. Welcome to join us.

Thanks, I will go to your community to learn.

from apisix-build-tools.

Fuchange avatar Fuchange commented on September 26, 2024

@membphis @idbeta

Hello everyone ,I submitted a pr(#4) to fix it ,pls have a look~

from apisix-build-tools.

membphis avatar membphis commented on September 26, 2024

nice, many thx @Fuchange

from apisix-build-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.