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

check goreleaser supported archs - 386 unsupported, win arm64 unimplemented #494

Open
YOU54F opened this issue Jan 23, 2025 · 0 comments
Open

Comments

@YOU54F
Copy link
Member

YOU54F commented Jan 23, 2025

I think this might be a goreleaser option, but we haven't supported 32 bits builds in libpact_ffi for a while now

There is also an arm64 build for windows, although we don't support it in our lib.go build flags.

I've not tested if it works, on win arm64, if we provide our own flags.

  • #cgo darwin,arm64 LDFLAGS: -L/tmp -L/usr/local/lib -Wl,-rpath -Wl,/tmp -Wl,-rpath -Wl,/usr/local/lib -lpact_ffi
    #cgo darwin,amd64 LDFLAGS: -L/tmp -L/usr/local/lib -Wl,-rpath -Wl,/tmp -Wl,-rpath -Wl,/usr/local/lib -lpact_ffi
    #cgo windows,amd64 LDFLAGS: -lpact_ffi
    #cgo linux,amd64 LDFLAGS: -L/tmp -L/opt/pact/lib -L/usr/local/lib -Wl,-rpath -Wl,/opt/pact/lib -Wl,-rpath -Wl,/tmp -Wl,-rpath -Wl,/usr/local/lib -lpact_ffi
    #cgo linux,arm64 LDFLAGS: -L/tmp -L/opt/pact/lib -L/usr/local/lib -Wl,-rpath -Wl,/opt/pact/lib -Wl,-rpath -Wl,/tmp -Wl,-rpath -Wl,/usr/local/lib -lpact_ffi

Image

@YOU54F YOU54F changed the title architecture 386 should be removed from releases check goreleaser supported archs - 386 unsupported, win arm64 unimplemented Jan 23, 2025
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

1 participant