Skip to content

Commit 0952034

Browse files
authored
Remove dependency cycle hack from benchmark suite (#268)
1 parent c03be06 commit 0952034

File tree

2 files changed

+4
-50
lines changed

2 files changed

+4
-50
lines changed

benchmarks/unordered-containers-benchmarks.cabal

Lines changed: 0 additions & 33 deletions
This file was deleted.

unordered-containers.cabal

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -185,26 +185,14 @@ test-suite strictness-properties
185185
cpp-options: -DASSERTS
186186

187187
benchmark benchmarks
188-
-- We cannot depend on the unordered-containers library directly as
189-
-- that creates a dependency cycle.
190-
hs-source-dirs: . benchmarks
191-
188+
hs-source-dirs: benchmarks
192189
main-is: Benchmarks.hs
193190
type: exitcode-stdio-1.0
194191

195192
other-modules:
196-
Data.HashMap.Array
197-
Data.HashMap.Base
198-
Data.HashMap.Lazy
199-
Data.HashMap.Strict
200-
Data.HashMap.Strict.Base
201-
Data.HashMap.Unsafe
202-
Data.HashMap.UnsafeShift
203-
Data.HashSet
204-
Data.HashSet.Base
205193
Util.ByteString
206-
Util.Int
207194
Util.String
195+
Util.Int
208196

209197
build-depends:
210198
base >= 4.8.0,
@@ -216,12 +204,11 @@ benchmark benchmarks
216204
hashable >= 1.0.1.1,
217205
hashmap,
218206
mtl,
219-
random
207+
random,
208+
unordered-containers
220209

221210
default-language: Haskell2010
222211
ghc-options: -Wall -O2 -rtsopts -fwarn-tabs -ferror-spans
223-
if flag(debug)
224-
cpp-options: -DASSERTS
225212

226213
source-repository head
227214
type: git

0 commit comments

Comments
 (0)