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

Set supported platforms by go-version #7927

Merged
merged 1 commit into from
Feb 25, 2021

Conversation

hannahhoward
Copy link
Contributor

@hannahhoward hannahhoward commented Feb 19, 2021

Looks like darwin-386 is in the list of supported platforms still as of 0.8.0, which won't compile on go-1.15 and up. And now there's darwin-arm64 (native Apple M1) starting on Go 1.16

This PR set supported platforms correctly by go version (no darwin-386 for >=1.15, no darwin-arm64 unless >=1.16)

It also makes a change to check-version as + is interpreted literally for expr on several POSIX systems including Mac.
License: MIT
Signed-off-by: hannahhoward hannah@hannahhoward.net

Set supported platforms correctly by go version (no darwin-386 for >=1.15, no darwin-arm64 unless
>=1.16), make check-go-version work on mac

License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
Comment on lines +21 to +23
ifeq ($(shell bin/check_go_version "1.15.0" 2>/dev/null; echo $$?),1)
SUPPORTED_PLATFORMS += darwin-386
endif
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd drop support for this entirely, but we can do that later.

@Stebalien Stebalien merged commit 6527675 into master Feb 25, 2021
@Stebalien Stebalien deleted the feat/use-correct-supported-platforms branch February 25, 2021 20:59
@aschmahmann aschmahmann mentioned this pull request May 14, 2021
71 tasks
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

Successfully merging this pull request may close these issues.

3 participants