@@ -120,7 +120,7 @@ common bench-depends
120 -- Core libraries shipped with ghc, the min and max
120 -- Core libraries shipped with ghc, the min and max
121 -- constraints of these libraries should match with
121 -- constraints of these libraries should match with
122 -- the GHC versions we support
122 -- the GHC versions we support
123− base >= 4.9 && < 4.17
123+ base >= 4.9 && < 4.18
124 , deepseq >= 1.4.1 && < 1.5
124 , deepseq >= 1.4.1 && < 1.5
125 , mtl >= 2.2 && < 2.3
125 , mtl >= 2.2 && < 2.3
@@ -133,7 +133,7 @@ common bench-depends
133 , process >= 1.4 && < 1.7
133 , process >= 1.4 && < 1.7
134 , directory >= 1.2.2 && < 1.4
134 , directory >= 1.2.2 && < 1.4
135 , filepath >= 1.4.1 && < 1.5
135 , filepath >= 1.4.1 && < 1.5
136− , ghc-prim >= 0.4 && < 0.9
136+ , ghc-prim >= 0.4 && < 0.10
138 if flag(bench-core)
138 if flag(bench-core)
139 build-depends: streamly-core
139 build-depends: streamly-core
@@ -155,9 +155,8 @@ common bench-depends
155 build-depends:
155 build-depends:
156 fusion-plugin >= 0.2 && < 0.3
156 fusion-plugin >= 0.2 && < 0.3
157 if flag(inspection)
157 if flag(inspection)
158− build-depends: template-haskell >= 2.14 && < 2.17
158+ build-depends: template-haskell >= 2.14 && < 2.20
159 , inspection-testing >= 0.4 && < 0.5
159 , inspection-testing >= 0.4 && < 0.5
160− , ghc-prim >= 0.2 && < 0.9
161 -- Array uses a Storable constraint in dev build making several inspection
160 -- Array uses a Storable constraint in dev build making several inspection
162 -- tests fail
161 -- tests fail
163 if flag(dev) && flag(inspection)
162 if flag(dev) && flag(inspection)
@@ -582,6 +581,8 @@ benchmark FileSystem.Handle
582 other-modules:
581 other-modules:
583 Handle.Read
582 Handle.Read
584 , Handle.ReadWrite
583 , Handle.ReadWrite
584+ if flag(limit-build-mem)
585+ ghc-options: +RTS -M1000M -RTS
585 if flag(bench-core)
586 if flag(bench-core)
586 buildable: False
587 buildable: False
@@ -596,6 +597,8 @@ benchmark Unicode.Stream
596 type: exitcode-stdio-1.0
597 type: exitcode-stdio-1.0
597 hs-source-dirs: Streamly/Benchmark/Unicode
598 hs-source-dirs: Streamly/Benchmark/Unicode
598 main-is: Stream.hs
599 main-is: Stream.hs
600+ if flag(limit-build-mem)
601+ ghc-options: +RTS -M1000M -RTS
599 if flag(bench-core)
602 if flag(bench-core)
600 buildable: False
603 buildable: False