Skip to content

Simplifier ticks exhausted when doing cabal install of hmatrix-tests with ghc 8.6.5

Summary

Simplifier ticks exhausted when doing cabal install of hmatrix-tests

Steps to reproduce

"cabal install hmatrix-tests" results in

[3 of 4] Compiling Numeric.LinearAlgebra.Tests ( src/Numeric/LinearAlgebra/Tests.hs, dist/build/Numeric/LinearAlgebra/Tests.p_o ) Simplifier ticks exhausted When trying UnfoldingDone $j_s1mHR To increase the limit, use -fsimpl-tick-factor=N (default 100).

When I tried: cabal install hmatrix-tests --ghc-options="-fsimpl-tick-factor=1000 -ddump-simpl-stats"

I had to kill the program after its virtual memory use got to 25 gb.

Expected behavior

I expect the install to succeed.

Environment

MacMini

  • GHC version used: 8.6.5

Optional:

  • Operating System: MacOS 10.14.5
  • System Architecture:
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information