Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

build: add support for more architectures at configure time #2907

Merged
merged 3 commits into from
Jul 13, 2016
Merged

build: add support for more architectures at configure time #2907

merged 3 commits into from
Jul 13, 2016

Conversation

glevand
Copy link
Contributor

@glevand glevand commented Jul 11, 2016

Fixes #2898

[x86_64], [RKT_ACI_ARCH=amd64; GOARCH=amd64;],
[AC_MSG_ERROR([*** unsupported host architecture specified: ${host_cpu}])])
[aarch64], [RKT_ACI_ARCH=aarch64; GOARCH=arm64;],
[armv7l], [RKT_ACI_ARCH=unsupported; GOARCH=arm; GOARM=7;],
Copy link
Member

Choose a reason for hiding this comment

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

I see what's the logic behind this (finding supported stage1 arch) but I find the use of RKT_ACI_ARCH for it quite confusing. I think this variable should instead mirror the labels at https://github.com/appc/spec/blob/master/schema/types/labels.go#L24 and the unsupported check should be self-contained in the AS_VAR_IF check later on.

@lucab lucab self-assigned this Jul 12, 2016
@lucab lucab added this to the v1.11.0 milestone Jul 12, 2016
@lucab lucab changed the title Expand build architectures build: add support for more architectures at configure time Jul 12, 2016
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
Used for 32 bit ARM builds.

Signed-off-by: Geoff Levand <geoff@infradead.org>
@glevand
Copy link
Contributor Author

glevand commented Jul 12, 2016

Rebased to latest, split setting of variables and checking of support.

@lucab
Copy link
Member

lucab commented Jul 13, 2016

LGTM now. I see we are still dropping ppc64 due to the lack of corresponding appc labels. I've submitted appc/spec#639 for that, and we may consider re-adding ppc64 after the next appc/spec bump.

/cc @onlyjob as this may require a removal from Debian testing for ppc64el until that is sorted out, to let new versions properly migrate in the meanwhile.

@lucab lucab merged commit 6fe3e90 into rkt:master Jul 13, 2016
@glevand
Copy link
Contributor Author

glevand commented Jul 13, 2016

@lucab yeah, I think it worthwhile to prepare for powerpc support. There was some work towards a ppc64le port of CoreOS.

@glevand glevand deleted the for-merge-arches branch July 15, 2016 16:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants