ghc-boot-th-9.12.3: ghc-boot-th.cabal
-- WARNING: ghc-boot-th.cabal is automatically generated from
-- ghc-boot-th.cabal.in by ../../configure. Make sure you are editing
-- ghc-boot-th.cabal.in, not ghc-boot-th.cabal.
name: ghc-boot-th
version: 9.12.3
license: BSD3
license-file: LICENSE
category: GHC
maintainer: ghc-devs@haskell.org
bug-reports: https://gitlab.haskell.org/ghc/ghc/issues/new
synopsis: Shared functionality between GHC and the template-haskell
library
description: This library contains various bits shared between the @ghc@ and
@template-haskell@ libraries.
.
This package exists to ensure that @template-haskell@ has a
minimal set of transitive dependencies, since it is intended to
be depended upon by user code.
cabal-version: >=1.10
build-type: Simple
extra-source-files: changelog.md
source-repository head
type: git
location: https://gitlab.haskell.org/ghc/ghc.git
subdir: libraries/ghc-boot-th
Flag bootstrap
Description:
Enabled when building the stage1 compiler in order to vendor the in-tree
`ghc-boot-th` library, and through that the in-tree TH AST defintions from
`ghc-internal`.
See Note [Bootstrapping Template Haskell]
Default: False
Manual: True
Library
default-language: Haskell2010
other-extensions: DeriveGeneric
default-extensions: NoImplicitPrelude
exposed-modules:
GHC.ForeignSrcLang.Type
GHC.Boot.TH.Lib.Map
GHC.Boot.TH.Ppr
GHC.Boot.TH.PprLib
GHC.LanguageExtensions.Type
GHC.Lexeme
build-depends:
base >= 4.7 && < 4.22,
ghc-prim,
pretty == 1.1.*
if flag(bootstrap)
cpp-options: -DBOOTSTRAP_TH
hs-source-dirs: .
exposed-modules:
GHC.Boot.TH.Lib
GHC.Boot.TH.Syntax
other-modules:
else
hs-source-dirs: .
build-depends:
ghc-internal
exposed-modules:
GHC.Boot.TH.Lib,
GHC.Boot.TH.Lift,
GHC.Boot.TH.Quote,
GHC.Boot.TH.Syntax