Skip to content

Commit 0f76f26

Browse files
committed
Make cabal check happy
It refuses to accept -O0 now. Also add lower bound to `random`
1 parent ce39ac5 commit 0f76f26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vector/vector.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ common testlib
189189
, base-orphans >= 0.6
190190
, vector
191191
, primitive
192-
, random
192+
, random >= 1.2
193193
, QuickCheck >= 2.9 && < 2.15
194194
, tasty
195195
, tasty-hunit
@@ -220,7 +220,7 @@ library tests-O0
220220
Tests.Vector.Unboxed
221221
Tests.Vector.UnitTests
222222
Utilities
223-
Ghc-Options: -O0
223+
Ghc-Options: --disable-optimization
224224

225225
library tests-O2
226226
import: testlib
@@ -249,7 +249,7 @@ test-suite vector-tests-O0
249249
import: tests-exe
250250
type: exitcode-stdio-1.0
251251
Main-Is: Main.hs
252-
Ghc-Options: -O0 -threaded
252+
Ghc-Options: --disable-optimization -threaded
253253
Build-Depends: vector:tests-O0
254254

255255
test-suite vector-tests-O2

0 commit comments

Comments
 (0)