Skip to content
Snippets Groups Projects
Unverified Commit 9bb4f58e authored by Hécate's avatar Hécate Committed by GitHub
Browse files

Disable arch-native flag when building releases that we distribute (#10142)

* Disable arch-native flag when building releases that we distribute

* Use the constraints stanza

* Also disable the flag in cabal.validate.project
parent c39022a2
No related branches found
No related tags found
No related merge requests found
Pipeline #97322 passed
...@@ -2,4 +2,7 @@ import: project-cabal/pkgs/cabal.config ...@@ -2,4 +2,7 @@ import: project-cabal/pkgs/cabal.config
import: project-cabal/pkgs/install.config import: project-cabal/pkgs/install.config
import: project-cabal/pkgs/tests.config import: project-cabal/pkgs/tests.config
constraints:
hashable -arch-native
index-state: hackage.haskell.org 2024-06-17T00:00:01Z index-state: hackage.haskell.org 2024-06-17T00:00:01Z
...@@ -7,3 +7,8 @@ tests: True ...@@ -7,3 +7,8 @@ tests: True
write-ghc-environment-files: never write-ghc-environment-files: never
program-options program-options
ghc-options: -Werror ghc-options: -Werror
-- This project file is used to distribute the cabal-head binary,
-- as such we cannot enable "-march=native".
constraints:
hashable -arch-native
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment