File: genapply.cabal

package info (click to toggle)
ghc 8.8.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 80,760 kB
  • sloc: haskell: 461,232; ansic: 62,975; sh: 8,706; python: 1,902; asm: 1,714; makefile: 1,120; perl: 458; javascript: 207; xml: 196; cpp: 147; ruby: 84; lisp: 7
file content (29 lines) | stat: -rw-r--r-- 795 bytes parent folder | download | duplicates (4)
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
Name: genapply
Version: 0.1
Copyright: XXX
License: BSD3
-- XXX License-File: LICENSE
-- XXX Author:
-- XXX Maintainer:
Synopsis: Generate the application closures
Description:
    This script is responsible for generating the @AutoApply.cmm@ source
    file during the build process of GHC's runtime system. This file
    defines the standard closures used to represent application of functions
    of various arities.
build-type: Simple
cabal-version: >=1.10

Flag unregisterised
    description: Are we building an unregisterised compiler?
    default:     False
    manual:      True

Executable genapply
    Default-Language: Haskell2010
    Main-Is: Main.hs
    Build-Depends: base       >= 3   && < 5,
                   pretty

    if flag(unregisterised)
        Cpp-Options: -DNO_REGS