cabal sdist refuses to build with -O1
Sigh, disabled the full fix. What we have now will work once the ghc bug is fixed, but not currently.
This commit is contained in:
parent
4af5507889
commit
bc1d56bdfd
2 changed files with 5 additions and 1 deletions
|
@ -45,6 +45,7 @@ git-annex (6.20180316) upstream; urgency=medium
|
|||
* Include amount of data transferred in progress display.
|
||||
* Dial back optimisation when building on arm, which prevents
|
||||
ghc and llc from running out of memory when optimising some files.
|
||||
(Unfortunately this fix is incomplete due to a ghc bug.)
|
||||
|
||||
-- Joey Hess <id@joeyh.name> Fri, 16 Mar 2018 12:10:40 -0400
|
||||
|
||||
|
|
|
@ -379,8 +379,11 @@ Executable git-annex
|
|||
if flag(Production)
|
||||
-- Lower memory systems can run out of memory with -O2, so
|
||||
-- optimise slightly less.
|
||||
-- This needs -O1 before the -optlo, due to this bug:
|
||||
-- https://ghc.haskell.org/trac/ghc/ticket/14821
|
||||
-- But unfortunately, hackage currently refuses to accept -O1
|
||||
if arch(arm)
|
||||
GHC-Options: -O1 -optlo-O2
|
||||
GHC-Options: -optlo-O2
|
||||
else
|
||||
GHC-Options: -O2
|
||||
|
||||
|
|
Loading…
Reference in a new issue