Skip to content

Fix build_container_common.sh for non-x86_64 builds#168

Merged
phlax merged 1 commit intoenvoyproxy:mainfrom
MarkusTeufelberger:patch-1
Mar 16, 2022
Merged

Fix build_container_common.sh for non-x86_64 builds#168
phlax merged 1 commit intoenvoyproxy:mainfrom
MarkusTeufelberger:patch-1

Conversation

@MarkusTeufelberger
Copy link

Th Ubuntu build script sources this file, but it would exit instead of return causing some later parts of the build script not to run on non-x86_64 builds.

@MarkusTeufelberger MarkusTeufelberger requested a review from a team as a code owner March 16, 2022 13:08
@MarkusTeufelberger
Copy link
Author

Friggin GitHub Web interface... Re-doing the commit for the DCO.

The Ubuntu build script sources this file, but it would exit instead of return causing some later parts of the build script not to run on non-x86_64 builds.

Signed-off-by: Markus Teufelberger <mteufelberger@mgit.at>
@MarkusTeufelberger
Copy link
Author

https://dev.azure.com/cncf/envoy/_build/results?buildId=103856&view=logs&j=61711cda-f957-54e2-0b96-512b22e92cc3&t=b4ce43a0-cf0d-5605-7e86-dd35d793099e&l=11440

update-alternatives: using /usr/bin/aarch64-linux-gnu-gcc-9 to provide /usr/bin/aarch64-linux-gnu-gcc (aarch64-linux-gnu-gcc) in auto mode

🥳

@phlax
Copy link
Member

phlax commented Mar 16, 2022

cool, ill build this locally, push it to a temp dockerhub repo, and take it for a spin in Envoy CI

it will take a while, as its not fast to build - but looks promising - thanks @MarkusTeufelberger for working on this

Copy link
Member

@phlax phlax left a comment

Choose a reason for hiding this comment

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

checking through CI - i think you are correct and the fix is good

lets just land it and test directly from published version

thanks @MarkusTeufelberger this fix is really appreciated - and apologies if my pushback was unhelpful

lgtm

@phlax phlax merged commit 142e6d5 into envoyproxy:main Mar 16, 2022
@phlax
Copy link
Member

phlax commented Mar 16, 2022

as a follow up do you want to update the images in Envoy ?

we will need to wait for the images to be published and the toolchains to be rebuilt

an example PR to do similar can be seen here...

envoyproxy/envoy@d4ca429

htuch pushed a commit that referenced this pull request Mar 16, 2022
  [skip ci]
  Fix build_container_common.sh for non-x86_64 builds (#168)

The Ubuntu build script sources this file, but it would exit instead of return causing some later parts of the build script not to run on non-x86_64 builds.

Signed-off-by: Markus Teufelberger <mteufelberger@mgit.at>
htuch pushed a commit that referenced this pull request Mar 16, 2022
  [skip ci]
  Regenerate linux toolchains from 142e6d5

  [skip ci]
  Fix build_container_common.sh for non-x86_64 builds (#168)

The Ubuntu build script sources this file, but it would exit instead of return causing some later parts of the build script not to run on non-x86_64 builds.

Signed-off-by: Markus Teufelberger <mteufelberger@mgit.at>
@MarkusTeufelberger
Copy link
Author

Ah sorry, seems like you did that PR then: envoyproxy/envoy#20391

Got a bit late yesterday, I'm glad it helped and hopefully makes envoy packages now also available on ARM64 right from the start! :-)

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.

2 participants