/
ide-backend-server.cabal
112 lines (105 loc) · 4.56 KB
/
ide-backend-server.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
name: ide-backend-server
version: 0.10.0
synopsis: An IDE backend server
description: Server executable used internally by the ide-backend library.
license: MIT
license-file: LICENSE
author: Duncan Coutts, Mikolaj Konarski, Edsko de Vries
maintainer: Duncan Coutts <duncan@well-typed.com>
copyright: (c) 2015 FP Complete
category: Development
build-type: Custom
cabal-version: >=1.10
extra-tmp-files: embedded-rts, embedded-rts.tgz
-- This directory will be created by the custom setup
-- and should be removed on clean up.
extra-source-files: ide-backend-rts/ide-backend-rts.cabal,
ide-backend-rts/LICENSE,
ide-backend-rts/Setup.hs,
ide-backend-rts/IdeBackendRTS.hs
Flag pty-support
Description: Enable PTY support
Default: True
executable ide-backend-server
main-is: ide-backend-server.hs
other-modules: IdPropCaching
Server
Debug
HsWalk
Break
FilePathCaching
Run
Conv
TraceMonad
Haddock
GhcShim.API
GhcShim
RTS
build-depends: base < 10,
ghc == 7.4.* || == 7.8.* || == 7.10.* || == 7.11.*,
containers >= 0.4.1 && < 1,
bytestring >= 0.9.2 && < 1,
data-accessor >= 0.2 && < 0.3,
data-accessor-mtl >= 0.2 && < 0.3,
async >= 2.0 && < 2.1,
unix >= 2.5 && < 2.8,
text >= 0.11 && < 1.3,
directory >= 1.1 && < 1.3,
filepath >= 1.3 && < 1.5,
process >= 1.1 && < 1.3,
transformers >= 0.3 && < 0.5,
-- mtl 2.2 is broken
mtl == 2.1.* || (>= 2.2.1 && < 2.3),
unordered-containers >= 0.2.3 && < 0.3,
filemanip >= 0.3.6.2 && < 0.4,
array >= 0.4 && < 0.6,
temporary >= 1.1.2.4 && < 1.3,
tar >= 0.3 && < 0.5,
zlib >= 0.5.3 && < 0.7,
file-embed >= 0.0 && < 0.1,
ide-backend-common >= 0.10 && < 0.11
-- The standard macros don't give us 7.6.x granularity
-- We _could_ add support for 7.6, 7.6.1 specifically is broken (#7548)
if impl(ghc == 7.6.1)
cpp-options: -DGHC_761
if impl(ghc == 7.4.2.*)
build-depends: old-time >= 1.1 && < 1.2,
haddock >= 2.11 && < 2.12,
-- use whatever version came with ghc
Cabal
cpp-options: -DGHC_742
other-modules: GhcShim.GhcShim742
if impl(ghc == 7.8.*)
build-depends: time == 1.4.*,
haddock-api == 2.15.*,
-- use whatever version came with ghc
Cabal
cpp-options: -DGHC_78
ghc-options: -dynamic
other-modules: GhcShim.GhcShim78
if impl(ghc == 7.10.*) || impl(ghc == 7.11.*)
build-depends: time == 1.5.*,
haddock-api == 2.16.*,
-- although from 7.10 basic datatypes are defined in
-- bin-package-db rather than Cabal, we still need Cabal for
-- parsing functionality; use whatever version came with ghc
Cabal
cpp-options: -DGHC_710
ghc-options: -dynamic
other-modules: GhcShim.GhcShim710
if impl(ghc > 7.10.1)
cpp-options: -DGHC_AFTER_710_1
if flag(pty-support)
cpp-options: -DPTY_SUPPORT
other-modules: Posix
default-language: Haskell2010
default-extensions: MonoLocalBinds,
BangPatterns, RecordWildCards, NamedFieldPuns
other-extensions: TemplateHaskell
ghc-options: -Wall
-threaded
-rtsopts
-- use the compacting GC:
-with-rtsopts=-c
-- disable idle GC
-with-rtsopts=-I0