forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ghc-lib.cabal
699 lines (697 loc) · 15.4 KB
/
ghc-lib.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
cabal-version: 1.12
build-type: Simple
name: ghc-lib
version: 0.20190204
license: BSD3
license-file: LICENSE
category: Development
author: The GHC Team and Digital Asset
maintainer: Digital Asset
synopsis: The GHC API, decoupled from GHC versions
description: A package equivalent to the @ghc@ package, but which can be loaded on many compiler versions.
homepage: https://github.com/digital-asset/ghc-lib
bug-reports: https://github.com/digital-asset/ghc-lib/issues
data-dir: ghc-lib/stage1/lib
data-files:
settings
llvm-targets
llvm-passes
platformConstants
extra-source-files:
ghc-lib/generated/ghcautoconf.h
ghc-lib/generated/ghcplatform.h
ghc-lib/generated/ghcversion.h
ghc-lib/generated/DerivedConstants.h
ghc-lib/generated/GHCConstantsHaskellExports.hs
ghc-lib/generated/GHCConstantsHaskellType.hs
ghc-lib/generated/GHCConstantsHaskellWrappers.hs
ghc-lib/stage1/compiler/build/ghc_boot_platform.h
ghc-lib/stage1/compiler/build/primop-can-fail.hs-incl
ghc-lib/stage1/compiler/build/primop-code-size.hs-incl
ghc-lib/stage1/compiler/build/primop-commutable.hs-incl
ghc-lib/stage1/compiler/build/primop-data-decl.hs-incl
ghc-lib/stage1/compiler/build/primop-fixity.hs-incl
ghc-lib/stage1/compiler/build/primop-has-side-effects.hs-incl
ghc-lib/stage1/compiler/build/primop-list.hs-incl
ghc-lib/stage1/compiler/build/primop-out-of-line.hs-incl
ghc-lib/stage1/compiler/build/primop-primop-info.hs-incl
ghc-lib/stage1/compiler/build/primop-strictness.hs-incl
ghc-lib/stage1/compiler/build/primop-tag.hs-incl
ghc-lib/stage1/compiler/build/primop-vector-tycons.hs-incl
ghc-lib/stage1/compiler/build/primop-vector-tys-exports.hs-incl
ghc-lib/stage1/compiler/build/primop-vector-tys.hs-incl
ghc-lib/stage1/compiler/build/primop-vector-uniques.hs-incl
ghc-lib/stage1/compiler/build/Config.hs
includes/*.h
includes/CodeGen.Platform.hs
includes/rts/*.h
includes/rts/storage/*.h
includes/rts/prof/*.h
compiler/nativeGen/*.h
compiler/utils/*.h
compiler/*.h
tested-with:GHC==8.4.3
source-repository head
type: git
location: git://git.haskell.org/ghc.git
library
default-language: Haskell2010
default-extensions: NoImplicitPrelude
include-dirs:
ghc-lib/generated
ghc-lib/stage1/compiler/build
compiler
compiler/utils
ghc-options: -fobject-code -package=ghc-boot-th -optc-DTHREADED_RTS
cc-options: -DTHREADED_RTS
cpp-options: -DSTAGE=2 -DTHREADED_RTS -DGHCI -DGHC_IN_GHCI
if !os(windows)
build-depends: unix
else
build-depends: Win32
build-depends:
ghc-prim > 0.2 && < 0.6,
base >= 4.11 && < 4.14,
containers >= 0.5 && < 0.7,
bytestring >= 0.9 && < 0.11,
binary == 0.8.*,
filepath >= 1 && < 1.5,
directory >= 1 && < 1.4,
array >= 0.1 && < 0.6,
deepseq >= 1.4 && < 1.5,
pretty == 1.1.*,
time >= 1.4 && < 1.10,
transformers == 0.5.*,
process >= 1 && < 1.7,
hpc == 0.6.*
build-tools: alex >= 3.1, happy >= 1.19.4
other-extensions:
BangPatterns
CPP
DataKinds
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
DisambiguateRecordFields
ExistentialQuantification
ExplicitForAll
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
InstanceSigs
MagicHash
MultiParamTypeClasses
NamedFieldPuns
NondecreasingIndentation
RankNTypes
RecordWildCards
RoleAnnotations
ScopedTypeVariables
StandaloneDeriving
Trustworthy
TupleSections
TypeFamilies
TypeSynonymInstances
UnboxedTuples
UndecidableInstances
c-sources:
compiler/cbits/genSym.c
compiler/ghci/keepCAFsForGHCi.c
compiler/parser/cutils.c
hs-source-dirs:
compiler
compiler/backpack
compiler/basicTypes
compiler/cmm
compiler/codeGen
compiler/coreSyn
compiler/deSugar
compiler/ghci
compiler/hieFile
compiler/hsSyn
compiler/iface
compiler/llvmGen
compiler/main
compiler/nativeGen
compiler/parser
compiler/prelude
compiler/profiling
compiler/rename
compiler/simplCore
compiler/simplStg
compiler/specialise
compiler/stgSyn
compiler/stranal
compiler/typecheck
compiler/types
compiler/utils
ghc-lib/stage1/compiler/build
libraries/ghc-boot
libraries/ghc-boot-th
libraries/ghc-heap
libraries/ghci
libraries/template-haskell
autogen-modules:
Paths_ghc_lib
exposed-modules:
Paths_ghc_lib
Annotations
ApiAnnotation
Ar
AsmCodeGen
AsmUtils
Avail
Bag
BasicTypes
BinFingerprint
BinIface
Binary
Bitmap
BkpSyn
BlockId
BlockLayout
BooleanFormula
BufWrite
BuildTyCl
ByteCodeAsm
ByteCodeGen
ByteCodeInstr
ByteCodeItbls
ByteCodeLink
ByteCodeTypes
CFG
CLabel
CPrim
CSE
CallArity
CgUtils
Check
Class
ClsInst
CmdLineParser
Cmm
CmmBuildInfoTables
CmmCallConv
CmmCommonBlockElim
CmmContFlowOpt
CmmExpr
CmmImplementSwitchPlans
CmmInfo
CmmLayoutStack
CmmLex
CmmLint
CmmLive
CmmMachOp
CmmMonad
CmmNode
CmmOpt
CmmParse
CmmPipeline
CmmProcPoint
CmmSink
CmmSwitch
CmmType
CmmUtils
CoAxiom
CodeGen.Platform
CodeGen.Platform.ARM
CodeGen.Platform.ARM64
CodeGen.Platform.NoRegs
CodeGen.Platform.PPC
CodeGen.Platform.SPARC
CodeGen.Platform.X86
CodeGen.Platform.X86_64
CodeOutput
Coercion
ConLike
Config
Constants
Convert
CoreArity
CoreFVs
CoreLint
CoreMap
CoreMonad
CoreOpt
CorePrep
CoreSeq
CoreStats
CoreSubst
CoreSyn
CoreTidy
CoreToStg
CoreUnfold
CoreUtils
CostCentre
CostCentreState
Coverage
Ctype
DataCon
Debug
Debugger
Demand
Desugar
Digraph
DmdAnal
DriverBkp
DriverMkDepend
DriverPhases
DriverPipeline
DsArrows
DsBinds
DsCCall
DsExpr
DsForeign
DsGRHSs
DsListComp
DsMeta
DsMonad
DsUsage
DsUtils
Dwarf
Dwarf.Constants
Dwarf.Types
DynFlags
DynamicLoading
Elf
Encoding
EnumSet
ErrUtils
Exception
Exitify
ExtractDocs
FV
FamInst
FamInstEnv
FastFunctions
FastMutInt
FastString
FastStringEnv
FieldLabel
FileCleanup
Finder
Fingerprint
FiniteMap
FlagChecker
FloatIn
FloatOut
ForeignCall
Format
FunDeps
GHC
GHC.Exts.Heap
GHC.Exts.Heap.ClosureTypes
GHC.Exts.Heap.Closures
GHC.Exts.Heap.Constants
GHC.Exts.Heap.InfoTable
GHC.Exts.Heap.InfoTable.Types
GHC.Exts.Heap.InfoTableProf
GHC.Exts.Heap.Utils
GHC.ForeignSrcLang
GHC.ForeignSrcLang.Type
GHC.HandleEncoding
GHC.LanguageExtensions
GHC.LanguageExtensions.Type
GHC.Lexeme
GHC.PackageDb
GHC.Serialized
GHCi
GHCi.BinaryArray
GHCi.BreakArray
GHCi.CreateBCO
GHCi.FFI
GHCi.InfoTable
GHCi.Message
GHCi.ObjLink
GHCi.RemoteTypes
GHCi.ResolvedBCO
GHCi.Run
GHCi.Signals
GHCi.StaticPtrTable
GHCi.TH
GHCi.TH.Binary
GhcMake
GhcMonad
GhcPlugins
GraphBase
GraphColor
GraphOps
GraphPpr
HaddockUtils
HeaderInfo
HieAst
HieBin
HieDebug
HieTypes
HieUtils
Hooks
Hoopl.Block
Hoopl.Collections
Hoopl.Dataflow
Hoopl.Graph
Hoopl.Label
HsBinds
HsDecls
HsDoc
HsDumpAst
HsExpr
HsExtension
HsImpExp
HsInstances
HsLit
HsPat
HsSyn
HsTypes
HsUtils
HscMain
HscStats
HscTypes
IOEnv
Id
IdInfo
IfaceEnv
IfaceSyn
IfaceType
Inst
InstEnv
Instruction
InteractiveEval
InteractiveEvalTypes
Json
Kind
KnownUniques
Language.Haskell.TH
Language.Haskell.TH.LanguageExtensions
Language.Haskell.TH.Lib
Language.Haskell.TH.Lib.Internal
Language.Haskell.TH.Ppr
Language.Haskell.TH.PprLib
Language.Haskell.TH.Quote
Language.Haskell.TH.Syntax
Lexeme
Lexer
LiberateCase
Linker
ListSetOps
ListT
Literal
Llvm
Llvm.AbsSyn
Llvm.MetaData
Llvm.PpLlvm
Llvm.Types
LlvmCodeGen
LlvmCodeGen.Base
LlvmCodeGen.CodeGen
LlvmCodeGen.Data
LlvmCodeGen.Ppr
LlvmCodeGen.Regs
LlvmMangler
LoadIface
Match
MatchCon
MatchLit
Maybes
MkCore
MkGraph
MkId
MkIface
Module
MonadUtils
NCGMonad
Name
NameCache
NameEnv
NameSet
NameShape
OccName
OccurAnal
OptCoercion
OrdList
Outputable
PIC
PPC.CodeGen
PPC.Cond
PPC.Instr
PPC.Ppr
PPC.RegInfo
PPC.Regs
PackageConfig
Packages
Pair
Panic
Parser
PatSyn
PipelineMonad
PlaceHolder
Platform
PlatformConstants
Plugins
PmExpr
PprBase
PprC
PprCmm
PprCmmDecl
PprCmmExpr
PprColour
PprCore
PprTyThing
PrelInfo
PrelNames
PrelRules
Pretty
PrimOp
ProfInit
RdrHsSyn
RdrName
Reg
RegAlloc.Graph.ArchBase
RegAlloc.Graph.ArchX86
RegAlloc.Graph.Coalesce
RegAlloc.Graph.Main
RegAlloc.Graph.Spill
RegAlloc.Graph.SpillClean
RegAlloc.Graph.SpillCost
RegAlloc.Graph.Stats
RegAlloc.Graph.TrivColorable
RegAlloc.Linear.Base
RegAlloc.Linear.FreeRegs
RegAlloc.Linear.JoinToTargets
RegAlloc.Linear.Main
RegAlloc.Linear.PPC.FreeRegs
RegAlloc.Linear.SPARC.FreeRegs
RegAlloc.Linear.StackMap
RegAlloc.Linear.State
RegAlloc.Linear.Stats
RegAlloc.Linear.X86.FreeRegs
RegAlloc.Linear.X86_64.FreeRegs
RegAlloc.Liveness
RegClass
RepType
RnBinds
RnEnv
RnExpr
RnFixity
RnHsDoc
RnModIface
RnNames
RnPat
RnSource
RnSplice
RnTypes
RnUnbound
RnUtils
RtClosureInspect
Rules
SAT
SMRep
SPARC.AddrMode
SPARC.Base
SPARC.CodeGen
SPARC.CodeGen.Amode
SPARC.CodeGen.Base
SPARC.CodeGen.CondCode
SPARC.CodeGen.Expand
SPARC.CodeGen.Gen32
SPARC.CodeGen.Gen64
SPARC.CodeGen.Sanity
SPARC.Cond
SPARC.Imm
SPARC.Instr
SPARC.Ppr
SPARC.Regs
SPARC.ShortcutJump
SPARC.Stack
SetLevels
SimplCore
SimplEnv
SimplMonad
SimplStg
SimplUtils
Simplify
SizedSeq
SpecConstr
Specialise
SrcLoc
State
StaticPtrTable
StgCmm
StgCmmArgRep
StgCmmBind
StgCmmClosure
StgCmmCon
StgCmmEnv
StgCmmExpr
StgCmmExtCode
StgCmmForeign
StgCmmHeap
StgCmmHpc
StgCmmLayout
StgCmmMonad
StgCmmPrim
StgCmmProf
StgCmmTicky
StgCmmUtils
StgCse
StgFVs
StgLiftLams
StgLiftLams.Analysis
StgLiftLams.LiftM
StgLiftLams.Transformation
StgLint
StgStats
StgSubst
StgSyn
Stream
StringBuffer
SysTools
SysTools.BaseDir
SysTools.ExtraObj
SysTools.Info
SysTools.Process
SysTools.Tasks
SysTools.Terminal
THNames
TargetReg
TcAnnotations
TcArrows
TcBackpack
TcBinds
TcCanonical
TcClassDcl
TcDefaults
TcDeriv
TcDerivInfer
TcDerivUtils
TcEnv
TcErrors
TcEvTerm
TcEvidence
TcExpr
TcFlatten
TcForeign
TcGenDeriv
TcGenFunctor
TcGenGenerics
TcHoleErrors
TcHsSyn
TcHsType
TcIface
TcInstDcls
TcInteract
TcMType
TcMatches
TcPat
TcPatSyn
TcPluginM
TcRnDriver
TcRnExports
TcRnMonad
TcRnTypes
TcRules
TcSMonad
TcSigs
TcSimplify
TcSplice
TcTyClsDecls
TcTyDecls
TcType
TcTypeNats
TcTypeable
TcUnify
TcValidity
TidyPgm
TmOracle
ToIface
TrieMap
TyCoRep
TyCon
Type
TysPrim
TysWiredIn
UnVarGraph
UnariseStg
Unify
UniqDFM
UniqDSet
UniqFM
UniqMap
UniqSet
UniqSupply
Unique
Util
Var
VarEnv
VarSet
WorkWrap
WwLib
X86.CodeGen
X86.Cond
X86.Instr
X86.Ppr
X86.RegInfo
X86.Regs
other-modules:
GhcPrelude
Language.Haskell.TH.Lib.Map
executable ghc-lib
default-language: Haskell2010
if !os(windows)
build-depends: unix
else
build-depends: Win32
build-depends:
base == 4.*, array, bytestring, directory, process, filepath,
containers, deepseq, ghc-prim, haskeline, time, transformers,
ghc-lib
hs-source-dirs: ghc
ghc-options: -fobject-code -package=ghc-boot-th -optc-DTHREADED_RTS
cc-options: -DTHREADED_RTS
cpp-options: -DGHCI -DTHREADED_RTS -DGHC_LOADED_INTO_GHCI
other-modules:
GHCi.Leak
GHCi.UI
GHCi.UI.Info
GHCi.UI.Monad
GHCi.UI.Tags
other-extensions:
BangPatterns
CPP
FlexibleInstances
LambdaCase
MagicHash
MultiWayIf
NondecreasingIndentation
OverloadedStrings
RankNTypes
RecordWildCards
ScopedTypeVariables
TupleSections
UnboxedTuples
ViewPatterns
default-extensions: NoImplicitPrelude
main-is: Main.hs