-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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?
Wdym?
…On Wed, 19 Oct 2022 at 15:16, Matthias Seitz ***@***.***> wrote:
***@***.**** commented on this pull request.
ty.
ref rust-lang/rust#81808 <rust-lang/rust#81808>
------------------------------
In Dockerfile
<#3514 (comment)>:
> @@ -1,17 +1,19 @@
-FROM alpine AS build-environment
+FROM alpine as build-environment
+ENV CFLAGS=-mno-outline-atomics
can we make this aarch64 only?
—
Reply to this email directly, view it on GitHub
<#3514 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH773DQPDI6BLXZ2ESKEBBTWD7KB5ANCNFSM6AAAAAARI6RAUA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
this seems to be only a problem on aarch64 platforms, so I think we should only set this only for aarch64 |
bumping this up as I dont understand why we should check for |
I see, should be fine. |
Co-authored-by: Genysys <[email protected]>
Motivation
This closes #3513
Solution