Coder Social home page Coder Social logo

ARM flags GOARM about goreleaser HOT 8 CLOSED

goreleaser avatar goreleaser commented on May 17, 2024 4
ARM flags GOARM

from goreleaser.

Comments (8)

caarlos0 avatar caarlos0 commented on May 17, 2024

OK, so, here, we would have to add a goarm option together with goos and goarch, is that it?

from goreleaser.

denji avatar denji commented on May 17, 2024

@caarlos0 That's right, with GOARCH=arm64 do not need to set a variable GOARM (only with GOARCH=arm)

from goreleaser.

caarlos0 avatar caarlos0 commented on May 17, 2024

hmm, can't we just assume GOARM=7 all the times GOARCH=arm ?

from goreleaser.

denji avatar denji commented on May 17, 2024
  • GOOS=<CROSS> GOARM=5 GOARCH=arm - use software floating point; when CPU doesn't have VFP co-processor
  • GOOS=<CROSS> GOARM=6 GOARCH=arm - use VFPv1 only; default if cross compiling; usually ARM11 or better cores (VFPv2 or better is also supported)
  • GOOS=<CROSS> GOARM=7 GOARCH=arm - use VFPv3; usually Cortex-A cores
  • GOOS=<CROSS> GOARCH=arm64 - All ARMv8-A processors.

  • GOOS=linux GOARCH=ppc64 - Big-endian 64-bit PowerPC (linux/ppc64) only requires the POWER5 architecture.
  • GOOS=linux GOARCH=ppc64le - The experimental port to Linux on little-endian 64-bit PowerPC (linux/ppc64le) now requires the POWER8 architecture or later.

  • GOOS=<CROSS> GOARCH=mips64 - MIPS III or higher. Builder is using MIPS64r2.
  • GOOS=<CROSS> GOARCH=mips64le - MIPS III or higher in little endian mode. Builders are using Loongson 2E/2F.

  • GOOS=<CROSS> GOARCH=mips - MIPS32r1 (big endian), with FPU or kernel FPU emulation.
  • GOOS=<CROSS> GOARCH=mipsle - MIPS32r1 (little endian), with FPU or kernel FPU emulation.

  • GOOS=<CROSS> GOARCH=s390x - z196+

from goreleaser.

caarlos0 avatar caarlos0 commented on May 17, 2024

OK, so, no.

So, we can do something like this:

build:
  goos:
    - linux
   goarch:
    - arm
    - arm64
   goarm:
    - 5
    - 6
    - 7

which would generate:

  • linux-arm64
  • linux-arm-v5
  • linux-arm-v6
  • linux-arm-v7

Does that work for you?

from goreleaser.

caarlos0 avatar caarlos0 commented on May 17, 2024

Check #213 please...

from goreleaser.

caarlos0 avatar caarlos0 commented on May 17, 2024

@denji can you check v0.14.0 please?

from goreleaser.

github-actions avatar github-actions commented on May 17, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from goreleaser.

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.