Repository navigation
Disable arch-native flag when building releases that we distribute - #10142
Merged
mergify[bot] merged 3 commits intoJun 24, 2024
Merged
Conversation
mpickering
reviewed
Jun 24, 2024
Kleidukos
force-pushed
the
disable-march-native-flag
branch
from
June 24, 2024 12:51
031971c to
4244fb5
Compare
geekosaur
approved these changes
Jun 24, 2024
ulysses4ever
approved these changes
Jun 24, 2024
Collaborator
|
We probably need to fast-track this to not hold back the release, don't we? |
Member
Author
|
@ulysses4ever Probably yes |
Collaborator
|
Seems likely, yes. |
18 tasks done
Collaborator
|
@mergify backport 3.12 |
Contributor
✅ Backports have been createdDetails
|
mergify Bot
added a commit
that referenced
this pull request
Jun 24, 2024
…10142) (#10144) * Disable arch-native flag when building releases that we distribute * Use the constraints stanza * Also disable the flag in cabal.validate.project (cherry picked from commit 9bb4f58) Co-authored-by: Hécate <[email protected]>
erikd
pushed a commit
to erikd/cabal
that referenced
this pull request
Jan 9, 2025
…askell#10142) * Disable arch-native flag when building releases that we distribute * Use the constraints stanza * Also disable the flag in cabal.validate.project
erikd
pushed a commit
to erikd/cabal
that referenced
this pull request
Jan 9, 2025
…askell#10142) * Disable arch-native flag when building releases that we distribute * Use the constraints stanza * Also disable the flag in cabal.validate.project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We don't want to accidentally create binaries that contain CPU instructions only available in some machines. Hashable has this flag that enables the usage of
-march=nativefor its FFI C code, so we have to disable it explicitly.The
cabal.validate.projectfile is also concerned because we use it to build thecabal-headbinary that we distribute.