summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r--compiler/ghc.cabal.in16
1 files changed, 13 insertions, 3 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index 2520576498..70bc138650 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -1,9 +1,10 @@
+Cabal-Version: 2.2
-- WARNING: ghc.cabal is automatically generated from ghc.cabal.in by
-- ./configure. Make sure you are editing ghc.cabal.in, not ghc.cabal.
Name: ghc
Version: @ProjectVersionMunged@
-License: BSD3
+License: BSD-3-Clause
License-File: LICENSE
Author: The GHC Team
Maintainer: glasgow-haskell-users@haskell.org
@@ -20,10 +21,14 @@ Description:
See <https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler>
for more information.
Category: Development
-Build-Type: Simple
-Cabal-Version: >=1.10
+Build-Type: Custom
+
+custom-setup
+ setup-depends: base >= 3 && < 5, Cabal >= 1.6 && <3.6, directory, process, filepath
extra-source-files:
+ GHC/Builtin/primops.txt.pp
+ GHC/Builtin/bytearray-ops.txt.pp
Unique.h
CodeGen.Platform.h
-- Shared with rts via hard-link at configure time. This is safer
@@ -79,6 +84,8 @@ Library
-- target sensative, should not be used
MachDeps.h
+ build-tool-depends: alex:alex >= 3.2.6, happy:happy >= 1.20.0, genprimopcode:genprimopcode, deriveConstants:deriveConstants
+
Build-Depends: base >= 4.11 && < 4.17,
deepseq >= 1.4 && < 1.5,
directory >= 1 && < 1.4,
@@ -783,6 +790,9 @@ Library
Language.Haskell.Syntax.Pat
Language.Haskell.Syntax.Type
+ autogen-modules: GHC.Platform.Constants
+ GHC.Settings.Config
+
reexported-modules:
GHC.Platform.ArchOS
, GHC.Platform.Host