@@ -124,6 +124,9 @@ Common common-options
124
124
Default-Language : Haskell2010
125
125
GHC-Options : -rtsopts
126
126
-- GHC-Prof-Options: -auto-all
127
+ Build-Depends :
128
+ -- GHC >=9.2 && <9.13
129
+ base >= 4.16 && < 4.22
127
130
128
131
Common exe-options
129
132
Import : common-options
@@ -140,8 +143,6 @@ Library
140
143
Build-Depends :
141
144
aeson >= 1.4.2.0 && < 2.3 ,
142
145
array >= 0.5 ,
143
- -- GHC >=9.2 && <9.13
144
- base >= 4.16 && < 4.22 ,
145
146
bytestring >= 0.9.2.1 && < 0.13 ,
146
147
bytestring-builder,
147
148
bytestring-encoding >= 0.1.1.0 ,
@@ -397,7 +398,6 @@ Executable toysolver
397
398
HS-Source-Dirs : app
398
399
Build-Depends :
399
400
array,
400
- base >= 4.16 && < 4.22 ,
401
401
containers,
402
402
data-default-class,
403
403
filepath,
@@ -416,7 +416,6 @@ Executable toysat
416
416
HS-Source-Dirs : app/toysat
417
417
Build-Depends :
418
418
array,
419
- base >= 4.16 && < 4.22 ,
420
419
bytestring,
421
420
containers,
422
421
clock,
@@ -439,6 +438,7 @@ Executable toysat
439
438
CPP-Options : "-DWITH_ZLIB"
440
439
441
440
Foreign-Library toysat-ipasir
441
+ import : common-options
442
442
type : native-shared
443
443
if !flag(BuildForeignLibraries)
444
444
buildable : False
@@ -448,7 +448,6 @@ Foreign-Library toysat-ipasir
448
448
if os(Linux)
449
449
ld-options : -Wl,--version-script=app/toysat-ipasir/ipasir.map
450
450
build-depends :
451
- base >= 4.16 && < 4.22 ,
452
451
containers,
453
452
toysolver
454
453
hs-source-dirs : app/toysat-ipasir
@@ -475,7 +474,6 @@ Executable toysmt
475
474
Smtlib.Syntax.Syntax,
476
475
Smtlib.Syntax.ShowSL
477
476
Build-Depends :
478
- base >= 4.16 && < 4.22 ,
479
477
containers,
480
478
-- TODO: remove intern dependency
481
479
intern,
@@ -496,7 +494,6 @@ Executable toyqbf
496
494
Main-is : toyqbf.hs
497
495
HS-Source-Dirs : app
498
496
Build-Depends :
499
- base >= 4.16 && < 4.22 ,
500
497
containers,
501
498
data-default-class,
502
499
optparse-applicative,
@@ -511,8 +508,7 @@ Executable toyfmf
511
508
HS-Source-Dirs : app
512
509
If flag(BuildToyFMF)
513
510
Build-Depends :
514
- base >= 4.16 && < 4.22 ,
515
- containers,
511
+ containers,
516
512
intern,
517
513
logic-TPTP >= 0.4.6.0 && < 0.7 ,
518
514
optparse-applicative,
@@ -527,7 +523,6 @@ Executable toyconvert
527
523
HS-Source-Dirs : app
528
524
Build-Depends :
529
525
aeson,
530
- base >= 4.16 && < 4.22 ,
531
526
bytestring,
532
527
bytestring-builder,
533
528
containers,
@@ -560,7 +555,6 @@ Executable sudoku
560
555
HS-Source-Dirs : samples/programs/sudoku
561
556
Build-Depends :
562
557
array,
563
- base >= 4.16 && < 4.22 ,
564
558
toysolver
565
559
566
560
Executable nonogram
@@ -571,7 +565,6 @@ Executable nonogram
571
565
HS-Source-Dirs : samples/programs/nonogram
572
566
Build-Depends :
573
567
array,
574
- base >= 4.16 && < 4.22 ,
575
568
containers,
576
569
toysolver
577
570
@@ -583,7 +576,6 @@ Executable nqueens
583
576
HS-Source-Dirs : samples/programs/nqueens
584
577
Build-Depends :
585
578
array,
586
- base >= 4.16 && < 4.22 ,
587
579
toysolver
588
580
589
581
Executable numberlink
@@ -594,7 +586,6 @@ Executable numberlink
594
586
HS-Source-Dirs : samples/programs/numberlink
595
587
Build-Depends :
596
588
array,
597
- base >= 4.16 && < 4.22 ,
598
589
bytestring,
599
590
containers,
600
591
data-default-class,
@@ -609,7 +600,6 @@ Executable knapsack
609
600
Main-is : knapsack.hs
610
601
HS-Source-Dirs : samples/programs/knapsack
611
602
Build-Depends :
612
- base >= 4.16 && < 4.22 ,
613
603
toysolver
614
604
615
605
Executable assign
@@ -620,7 +610,6 @@ Executable assign
620
610
HS-Source-Dirs : samples/programs/assign
621
611
Build-Depends :
622
612
attoparsec,
623
- base >= 4.16 && < 4.22 ,
624
613
bytestring,
625
614
containers,
626
615
toysolver,
@@ -633,7 +622,6 @@ Executable shortest-path
633
622
Main-is : shortest-path.hs
634
623
HS-Source-Dirs : samples/programs/shortest-path
635
624
Build-Depends :
636
- base >= 4.16 && < 4.22 ,
637
625
bytestring,
638
626
containers,
639
627
unordered-containers,
@@ -646,7 +634,6 @@ Executable htc
646
634
Main-is : htc.hs
647
635
HS-Source-Dirs : samples/programs/htc
648
636
Build-Depends :
649
- base >= 4.16 && < 4.22 ,
650
637
containers,
651
638
toysolver
652
639
@@ -657,7 +644,6 @@ Executable svm2lp
657
644
Main-is : svm2lp.hs
658
645
HS-Source-Dirs : samples/programs/svm2lp
659
646
Build-Depends :
660
- base >= 4.16 && < 4.22 ,
661
647
containers,
662
648
data-default-class,
663
649
MIP,
@@ -673,7 +659,6 @@ Executable survey-propagation
673
659
Main-is : survey-propagation.hs
674
660
HS-Source-Dirs : samples/programs/survey-propagation
675
661
Build-Depends :
676
- base >= 4.16 && < 4.22 ,
677
662
data-default-class,
678
663
toysolver
679
664
GHC-Options : -rtsopts
@@ -685,7 +670,6 @@ Executable probsat
685
670
Main-is : probsat.hs
686
671
HS-Source-Dirs : samples/programs/probsat
687
672
Build-Depends :
688
- base >= 4.16 && < 4.22 ,
689
673
clock,
690
674
data-default-class,
691
675
mwc-random,
@@ -702,7 +686,6 @@ Executable pigeonhole
702
686
Main-is : pigeonhole.hs
703
687
HS-Source-Dirs : app
704
688
Build-Depends :
705
- base >= 4.16 && < 4.22 ,
706
689
bytestring,
707
690
containers,
708
691
pseudo-boolean,
@@ -716,7 +699,6 @@ Executable maxsatverify
716
699
HS-Source-Dirs : app
717
700
Build-Depends :
718
701
array,
719
- base >= 4.16 && < 4.22 ,
720
702
toysolver
721
703
722
704
Executable pbverify
@@ -727,7 +709,6 @@ Executable pbverify
727
709
HS-Source-Dirs : app
728
710
Build-Depends :
729
711
array,
730
- base >= 4.16 && < 4.22 ,
731
712
pseudo-boolean,
732
713
toysolver
733
714
@@ -739,7 +720,6 @@ Test-suite TestPolynomial
739
720
HS-Source-Dirs : test
740
721
Main-is : TestPolynomial.hs
741
722
Build-depends :
742
- base >= 4.16 && < 4.22 ,
743
723
containers,
744
724
data-interval,
745
725
finite-field >= 0.7.0 && < 1.0.0 ,
@@ -803,7 +783,6 @@ Test-suite TestSuite
803
783
Build-depends :
804
784
aeson,
805
785
array,
806
- base >= 4.16 && < 4.22 ,
807
786
bytestring,
808
787
bytestring-builder,
809
788
containers,
@@ -850,7 +829,6 @@ Benchmark BenchmarkSATLIB
850
829
main-is : BenchmarkSATLIB.hs
851
830
build-depends :
852
831
array,
853
- base >= 4.16 && < 4.22 ,
854
832
criterion >= 1.0 && < 1.7 ,
855
833
data-default-class,
856
834
toysolver
@@ -861,7 +839,6 @@ Benchmark BenchmarkKnapsack
861
839
hs-source-dirs : benchmarks
862
840
main-is : BenchmarkKnapsack.hs
863
841
build-depends :
864
- base >= 4.16 && < 4.22 ,
865
842
criterion >= 1.0 && < 1.7 ,
866
843
toysolver
867
844
@@ -871,7 +848,6 @@ Benchmark BenchmarkSubsetSum
871
848
hs-source-dirs : benchmarks
872
849
main-is : BenchmarkSubsetSum.hs
873
850
build-depends :
874
- base >= 4.16 && < 4.22 ,
875
851
criterion >= 1.0 && < 1.7 ,
876
852
toysolver,
877
853
vector
0 commit comments