@hackage / ghc-boot

Shared functionality between GHC and its boot libraries

Latest9.14.1

About

Metadata

  • Last updated , by wz1000
  • License BSD-3-Clause
  • Maintained by: ghc-devs@haskell.org

  • Lottery factor: 4

Links

Installation

This package uses the Custom cabal build type

Package Flags

Use the -f option with cabal commands to enable flags

    bootstrap (off by default)

    Enabled when building the stage1 compiler in order to vendor the in-tree `template-haskell` library (including its dependency `ghc-boot-th`), while allowing dependencies to depend on the boot `template-haskell` library. See Note [Bootstrapping Template Haskell]

Readme

This library is shared between GHC, ghc-pkg, and other boot libraries. . A note about GHC.Unit.Database: it only deals with the subset of the package database that the compiler cares about: modules paths etc and not package metadata like description, authors etc. It is thus not a library interface to ghc-pkg and is *not* suitable for modifying GHC package databases. . The package database format and this library are constructed in such a way that while ghc-pkg depends on Cabal, the GHC library and program do not have to depend on Cabal.