@@ -120,7 +120,7 @@ common bench-depends
120120 -- Core libraries shipped with ghc, the min and max
121121 -- constraints of these libraries should match with
122122 -- the GHC versions we support
123− base >= 4.9 && < 4.17
123+ base >= 4.9 && < 4.18
124124 , deepseq >= 1.4.1 && < 1.5
125125 , mtl >= 2.2 && < 2.3
126126
@@ -133,7 +133,7 @@ common bench-depends
133133 , process >= 1.4 && < 1.7
134134 , directory >= 1.2.2 && < 1.4
135135 , filepath >= 1.4.1 && < 1.5
136− , ghc-prim >= 0.4 && < 0.9
136+ , ghc-prim >= 0.4 && < 0.10
137137
138138 if flag(bench-core)
139139 build-depends: streamly-core
@@ -155,9 +155,8 @@ common bench-depends
155155 build-depends:
156156 fusion-plugin >= 0.2 && < 0.3
157157 if flag(inspection)
158− build-depends: template-haskell >= 2.14 && < 2.17
158+ build-depends: template-haskell >= 2.14 && < 2.20
159159 , inspection-testing >= 0.4 && < 0.5
160− , ghc-prim >= 0.2 && < 0.9
161160 -- Array uses a Storable constraint in dev build making several inspection
162161 -- tests fail
163162 if flag(dev) && flag(inspection)
@@ -582,6 +581,8 @@ benchmark FileSystem.Handle
582581 other-modules:
583582 Handle.Read
584583 , Handle.ReadWrite
584+ if flag(limit-build-mem)
585+ ghc-options: +RTS -M1000M -RTS
585586 if flag(bench-core)
586587 buildable: False
587588 else
@@ -596,6 +597,8 @@ benchmark Unicode.Stream
596597 type: exitcode-stdio-1.0
597598 hs-source-dirs: Streamly/Benchmark/Unicode
598599 main-is: Stream.hs
600+ if flag(limit-build-mem)
601+ ghc-options: +RTS -M1000M -RTS
599602 if flag(bench-core)
600603 buildable: False
601604 else