File: solver-benchmarks.cabal

package info (click to toggle)
ghc 9.10.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 169,260 kB
  • sloc: haskell: 713,564; ansic: 84,184; cpp: 30,255; javascript: 9,003; sh: 7,870; fortran: 3,527; python: 3,228; asm: 2,523; makefile: 2,329; yacc: 1,570; lisp: 532; xml: 196; perl: 111; csh: 2
file content (64 lines) | stat: -rw-r--r-- 1,626 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
cabal-version:  2.2
name:          solver-benchmarks
version:       3
copyright:     2003-2024, Cabal Development Team (see AUTHORS file)
license:       BSD-3-Clause
license-file:  LICENSE
author:        Cabal Development Team <cabal-devel@haskell.org>
maintainer:    cabal-devel@haskell.org
homepage:      http://www.haskell.org/cabal/
bug-reports:   https://github.com/haskell/cabal/issues
synopsis:      Benchmarks for the cabal dependency solver
description:
  This package contains benchmarks that test cabal's dependency solver by running the cabal executable.
category:       Distribution
build-type:     Simple

extra-source-files:
  README.md

source-repository head
  type:     git
  location: https://github.com/haskell/cabal/
  subdir:   solver-benchmarks

library
  ghc-options: -Wall -fwarn-tabs
  exposed-modules:
    HackageBenchmark
  build-depends:
    async >=2.2.2 && <2.3,
    base,
    bytestring,
    containers,
    Cabal-syntax ^>= 3.12.1.0,
    directory,
    filepath,
    optparse-applicative,
    process,
    time,
    statistics >= 0.14 && < 0.17,
    vector
  default-language: Haskell2010

executable hackage-benchmark
  main-is: hackage-benchmark.hs
  hs-source-dirs: main
  ghc-options: -threaded -Wall -fwarn-tabs
  build-depends:
    base,
    solver-benchmarks
  default-language: Haskell2010

test-suite unit-tests
  type: exitcode-stdio-1.0
  main-is: HackageBenchmarkTest.hs
  hs-source-dirs: tests
  ghc-options: -threaded -Wall -fwarn-tabs
  build-depends:
    base,
    solver-benchmarks,
    statistics >= 0.14 && < 0.17,
    tasty,
    tasty-hunit
  default-language: Haskell2010