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?
您可以使用--PROG-options=OPTS
将额外选项传递给Cabal运行的程序。
cabal install vector --ghc-options=-fspec-constr-count=HIGH
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.