-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcgroup-rts-threads.cabal
87 lines (76 loc) · 2.45 KB
/
cgroup-rts-threads.cabal
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
cabal-version: 3.0
name: cgroup-rts-threads
version: 0.2.1.1
synopsis:
A container-/cgroup-aware substitute for the GHC RTS `-N` flag
description:
This library provides a container-/cgroup-aware substitute for the GHC RTS
`-N` flag. See the README for details.
homepage: https://github.com/cnr/cgroup-rts-threads
bug-reports: https://github.com/cnr/cgroup-rts-threads/issues
license: MPL-2.0
license-file: LICENSE
category: Concurrency
author: Connor James
maintainer: [email protected]
extra-source-files:
CHANGELOG.md
README.md
test/System/CGroup/**/*.max
test/System/CGroup/**/*.cfs_period_us
test/System/CGroup/**/*.cfs_quota_us
test/System/CGroup/V1/testdata-controller/direct/mountinfo
test/System/CGroup/V1/testdata-controller/indirect/cgroup
test/System/CGroup/V1/testdata-controller/indirect/mountinfo
test/System/CGroup/V1/testdata-controller/realworld/cgroup
test/System/CGroup/V1/testdata-controller/realworld/mountinfo
test/System/CGroup/V2/testdata-cgroup/nested/cgroup
test/System/CGroup/V2/testdata-cgroup/nested/mountinfo
test/System/CGroup/V2/testdata-cgroup/root/cgroup
test/System/CGroup/V2/testdata-cgroup/root/mountinfo
source-repository head
type: git
location: https://github.com/cnr/cgroup-rts-threads.git
common lang
default-language: Haskell2010
default-extensions:
OverloadedStrings
ScopedTypeVariables
ghc-options:
-Wall -Wincomplete-uni-patterns -Wcompat
-Wincomplete-record-updates -Wmissing-home-modules
-Wmissing-export-lists -Wredundant-constraints
library
import: lang
-- cabal-fmt: expand src
exposed-modules:
Control.Concurrent.CGroup
System.CGroup.Types
System.CGroup.V1.CPU
System.CGroup.V1.Controller
System.CGroup.V2.CGroup
System.CGroup.V2.CPU
build-depends:
, base >=4.13 && <5
, directory ^>=1.3.4.0
, megaparsec >=8 && <10
, path >=0.7 && <0.10
, text
hs-source-dirs: src
test-suite test
import: lang
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
System.CGroup.V1.CPUSpec
System.CGroup.V1.ControllerSpec
System.CGroup.V2.CGroupSpec
System.CGroup.V2.CPUSpec
build-depends:
, base
, cgroup-rts-threads
, hspec-core ^>=2.8.3
, hspec-expectations ^>=0.8.2
, path
, path-io