Reputation: 4590
When I install vector
with:
cabal install vector
I get lots of SpecConstr
limit warnings which would go away if I could specify -fspec-constr-count=SOMETHING-HIGHER
.
Would
cabal install vector -fspec-constr-count=HIGH
work?
If X
depends on vector
, is there a way to say in X.cabal
I depend on vector
with preferably (in case X
is not yet already installed) -fpsec-constr-count=HIGH
?
Is vector
still maintained or is there now a more recommendable alternative?
Upvotes: 12
Views: 4658
Reputation: 139840
You can pass extra options to programs run by Cabal by using --PROG-options=OPTS
.
cabal install vector --ghc-options=-fspec-constr-count=HIGH
Upvotes: 21