summaryrefslogtreecommitdiff
path: root/utils/hpc/hpc-bin.cabal
Commit message (Collapse)AuthorAgeFilesLines
* Update commit for utils/hpc git submoduleDavid Binder2023-03-081-0/+0
|
* Update commit for utils/hpc git submoduleDavid Binder2023-03-081-0/+0
|
* Add git submodule for utils/hpcDavid Binder2023-03-081-0/+0
|
* Remove utils/hpc subdirectory and its contentsDavid Binder2023-03-081-44/+0
|
* hadrian: Fix building from source-dist without alex/happyMatthew Pickering2022-05-301-1/+6
| | | | | | | | | | | | | | This fixes two bugs which were adding dependencies on alex/happy when building from a source dist. * When we try to pass `--with-alex` and `--with-happy` to cabal when configuring but the builders are not set. This is fixed by making them optional. * When we configure, cabal requires alex/happy because of the build-tool-depends fields. These are now made optional with a cabal flag (build-tool-depends) for compiler/hpc-bin/genprimopcode. Fixes #21627
* Reinstallable GHCZubin Duggal2022-02-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* hpc: Fix encoding issues. Add test for and fix #17073Alexey Kuleshevich2019-11-191-4/+3
| | | | | | | | | | | | | * Make sure files are being read/written in UTF-8. Set encoding while writing HTML output. Also set encoding while writing and reading .tix files although we don't yet have a ticket complaining that this poses problems. * Set encoding in html header to utf8 * Upgrade to new version of 'hpc' library and reuse `readFileUtf8` and `writeFileUtf8` functions * Update git submodule for `hpc` * Bump up `hpc` executable version Co-authored-by: Ben Gamari <ben@smart-cactus.org>
* containers: Bump to 0.6.0.1Ben Gamari2018-06-201-1/+1
| | | | Bumps containers submodule, among others.
* Revert "containers: Bump to 0.6.0.1"Ben Gamari2018-06-191-1/+1
| | | | | | | | This reverts commit 50e7bff7514ebbd74976c1a9fa0db7a8275178ae. Reverts submodule changes. Sigh, the haskeline commit isn't quite upstream yet.
* containers: Bump to 0.6.0.1Ben Gamari2018-06-191-1/+1
| | | | Bumps containers submodule, among others.
* base: Bump version to 4.10.0.0Ben Gamari2016-12-151-1/+1
| | | | Updates a number of submodules.
* Build system: cleanup a few .cabal filesThomas Miedema2015-10-301-20/+7
|
* hpc: use System.FilePath.(</>) instead of (++)Thomas Miedema2015-03-171-0/+1
| | | | | | | | | | | | | | | | Summary: BAD: "." ++ "/" ++ "/absolute/path" == ".//absolute/path" GOOD: "." </> "/absolute/path" == "/absolute path" Also replace `++ ".ext"` with `<.> "ext"`. Although it doesn't fix any bugs in this instance, it might in some other. As a general rule it's better not to use (++) on FilePaths. Reviewed By: austin, hvr Differential Revision: https://phabricator.haskell.org/D703 GHC Trac Issues: #10138
* Drop default-extensions:CPP in hpc-bin.cabalHerbert Valerio Riedel2014-05-151-1/+0
| | | | | | | The utils/hpc/*.hs code doesn't use any CPP statements anyway, so this extensions was redundantly enabled to begin with. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Set cabal files to default-language:Haskell2010Herbert Valerio Riedel2014-05-141-2/+3
| | | | | | | This is a first step towards eliminating `default-extensions` in favour of per-file declared `{-# LANGUAGE ... #-}` pragmas. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Relax build-deps to allow upcoming `array-0.5.0.0`Herbert Valerio Riedel2013-10-111-1/+1
| | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* "hpc version" now shows the version number from the .cabal fileIan Lynagh2012-11-231-0/+1
|
* Fix some dependenciesIan Lynagh2012-10-141-1/+1
|
* Use Cabal to build hpc-binIan Lynagh2012-10-141-0/+9
|
* Update dependency on directory.Paolo Capriotti2012-09-091-1/+1
|
* Update dependencies.Paolo Capriotti2012-07-191-3/+3
|
* Update dependenciesIan Lynagh2008-09-201-2/+2
|
* Re-merge concurrent,timeout,unique,st,getopt into baseIan Lynagh2008-09-031-2/+0
|
* Get everything building with base 4 in the HEADIan Lynagh2008-08-251-4/+14
| | | | Some things were using the base3 compat library.
* Explicitly list HpcParser as a module in hpc-binIan Lynagh2008-07-181-0/+1
| | | | Cabal doesn't preprocess the .y file otherwise.
* Build hpc with CabalIan Lynagh2008-07-181-0/+30