diff options
author | Zubin Duggal <zubin.duggal@gmail.com> | 2021-06-13 16:02:06 +0530 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2022-02-21 11:18:58 +0000 |
commit | 7ce1b694f7be7fbf6e2d7b7eb0639e61fbe358c6 (patch) | |
tree | 9e6ff5ac7982e9d22987f551a531d0f034ec942c /utils/hp2ps | |
parent | 2f0ceecc42789558c648c6dcff431d3c8ac3aa46 (diff) | |
download | haskell-7ce1b694f7be7fbf6e2d7b7eb0639e61fbe358c6.tar.gz |
Reinstallable GHC
This patch allows ghc and its dependencies to be built using a normal
invocation of cabal-install. Each componenent which relied on generated
files or additional configuration now has a Setup.hs file.
There are also various fixes to the cabal files to satisfy
cabal-install.
There is a new hadrian command which will build a stage2 compiler and
then a stage3 compiler by using cabal.
```
./hadrian/build build-cabal
```
There is also a new CI job which tests running this command.
For the 9.4 release we will upload all the dependent executables to
hackage and then end users will be free to build GHC and GHC executables
via cabal.
There are still some unresolved questions about how to ensure soundness
when loading plugins into a reinstalled GHC (#20742) which will be
tighted up in due course.
Fixes #19896
Diffstat (limited to 'utils/hp2ps')
-rw-r--r-- | utils/hp2ps/hp2ps.cabal | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/hp2ps/hp2ps.cabal b/utils/hp2ps/hp2ps.cabal index 1b48694564..482ea772b9 100644 --- a/utils/hp2ps/hp2ps.cabal +++ b/utils/hp2ps/hp2ps.cabal @@ -9,13 +9,16 @@ Synopsis: Heap Profile to PostScript converter Description: XXX Category: Development build-type: Simple +extra-source-files: AreaBelow.h AuxFile.h Axes.h Curves.h Defines.h Deviation.h + Dimensions.h Error.h HpFile.h Key.h Main.h Marks.h PsFile.h Reorder.h Scale.h + Shade.h TopTwenty.h TraceElement.h Utilities.h Executable hp2ps Default-Language: Haskell2010 Main-Is: Main.c extra-libraries: m C-Sources: - AreaBelow.c Curves.c Error.c Main.c + AreaBelow.c Curves.c Error.c Reorder.c TopTwenty.c AuxFile.c Deviation.c HpFile.c Marks.c Scale.c TraceElement.c Axes.c Dimensions.c Key.c PsFile.c Shade.c |