Skip to contentSkip to conversation

kubernetes: set COMPATIBLE_HOST

PATCH In review Chen Qi 2 participants 2 messages Aug 1, 2019

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 kubernetes: set COMPATIBLE_HOST

Currently kubernetes does not build for qemux86, qemumips, qemumips64, qemuppc. So set COMPATIBLE_HOST to make this clear. Otherwise we get build failure when trying to build like below.

fatal error: bits/long-double-64.h: No such file or directory

---
 recipes-containers/kubernetes/kubernetes_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-containers/kubernetes/kubernetes_git.bb +2 -0
index ea34719..5b4c3a9 100644
@@ -28,6 +28,8 @@ inherit systemd
 inherit go
 inherit goarch
 
+COMPATIBLE_HOST = '(x86_64.*|arm.*|aarch64.*)-linux'
+
 do_compile() {
 	export GOARCH="${TARGET_GOARCH}"
 	export GOOS="${TARGET_GOOS}"
Signature · 1 line
2.17.1
#1 lore raw

merged.

Bruce

Quoted 34 lines · Chen Qi

Currently kubernetes does not build for qemux86, qemumips, qemumips64, qemuppc. So set COMPATIBLE_HOST to make this clear. Otherwise we get build failure when trying to build like below.

fatal error: bits/long-double-64.h: No such file or directory

---
 recipes-containers/kubernetes/kubernetes_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-containers/kubernetes/kubernetes_git.bb +2 -1
index ea34719..5b4c3a9 100644
@@ -28,6 +28,8 @@ inherit systemd
 inherit go
 inherit goarch
 
+COMPATIBLE_HOST = '(x86_64.*|arm.*|aarch64.*)-linux'
+
 do_compile() {
        export GOARCH="${TARGET_GOARCH}"
        export GOOS="${TARGET_GOOS}"
--

2.17.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II