Coder Social home page Coder Social logo

Comments (6)

liusheng avatar liusheng commented on May 30, 2024 1

Hi @nilslice Thank for quickly reply and support for this proposal.
I have tried compiling protolock on my ARM64 server by simple go get -u github.com/nilslice/protolock/..., everything looks OK, the protolock binary can be successfully compiled and can executed. According to your above suggestion, I have also tried modifying the release.sh by adding a line of build linux arm64 on a x86 server with Ubuntu 18.04+go1.15.2, the arm binary can be also sucessfully generated, then I have also copied it to ARM server and verified. But it seems the windows and darwin os + arm64 arch still have support issues. see:

cmd/go: unsupported GOOS/GOARCH pair windows/arm64
tar: protolock.exe: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

So maybe for now we can only support linux+arm64 now as it is common usage ?
I have submitted a simple PR.

from protolock.

liusheng avatar liusheng commented on May 30, 2024 1

Hi @nilslice , Thank you for so quick release! Yes, I have just confirmed the arm64 binary in newest release on ARM server, everything is OK. thank you.

from protolock.

nilslice avatar nilslice commented on May 30, 2024

Hi @liusheng - thanks for bringing this to my attention!

I would be happy to cut a new release that includes the additional target. I don't have the free cycles right now to modify & test the builds, but if you need this soon and can help, I'd suggest taking a look at the release.sh script. There, you'll likely need to add a new target arch, but may also need to modify how the build function works a bit.

from protolock.

nilslice avatar nilslice commented on May 30, 2024

@liusheng that sounds like a good plan, as I don't think Go has support for windows on arm64 yet: golang/go#36439

I will review your PR and cut a release including the new build, then ping you here once it can be downloaded from the release page. It would be helpful if you could test that the binary works after downloaded.

Thanks!

from protolock.

nilslice avatar nilslice commented on May 30, 2024

@liusheng, please find the arm64 build on the latest release: https://github.com/nilslice/protolock/releases/tag/v0.15.1

If you are able to, confirm that the build works for you. Much appreciated! I will close this issue for now, but please re-open if you have any problems.

from protolock.

nilslice avatar nilslice commented on May 30, 2024

Great, thanks again!

from protolock.

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.