Skip to content

fix(docker):add cflag to avoid build errors #3514

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

Merged
merged 2 commits into from
Oct 20, 2022

Conversation

Genysys
Copy link
Contributor

@Genysys Genysys commented Oct 19, 2022

Motivation

This closes #3513

Solution

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

@@ -1,17 +1,19 @@
FROM alpine AS build-environment
FROM alpine as build-environment
ENV CFLAGS=-mno-outline-atomics
Copy link
Member

Choose a reason for hiding this comment

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

can we make this aarch64 only?

@Genysys
Copy link
Contributor Author

Genysys commented Oct 19, 2022 via email

@mattsse
Copy link
Member

mattsse commented Oct 19, 2022

this seems to be only a problem on aarch64 platforms, so I think we should only set this only for aarch64

@Genysys
Copy link
Contributor Author

Genysys commented Oct 20, 2022

bumping this up as I dont understand why we should check for arch86. The container uses an alpine which is arch86.. is there something I am missing?

@mattsse
Copy link
Member

mattsse commented Oct 20, 2022

I see, should be fine.

@mattsse mattsse merged commit d896050 into foundry-rs:master Oct 20, 2022
@Genysys Genysys deleted the fix/docker branch October 20, 2022 18:16
@mattsse mattsse mentioned this pull request Oct 25, 2022
2 tasks
iFrostizz pushed a commit to iFrostizz/foundry that referenced this pull request Nov 9, 2022
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.

Foundry docker image couldn't be built
3 participants