summaryrefslogtreecommitdiff
path: root/utils/hpc
Commit message (Collapse)AuthorAgeFilesLines
* Fix comment about dropWhileEndLEJoachim Breitner2014-11-011-1/+1
|
* Use dropWhileEndLE p instead of reverse . dropWhile p . reverseDavid Feuer2014-10-022-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | Summary: Using `dropWhileEndLE` tends to be faster and easier to read than the `reverse . dropWhile p . reverse` idiom. This also cleans up some other, nearby, messes. Fix #9616 (incorrect number formatting potentially leading to incorrect numbers in output). Test Plan: Run validate Reviewers: thomie, rwbarton, nomeata, austin Reviewed By: nomeata, austin Subscribers: simonmar, ezyang, carter, thomie Projects: #ghc Differential Revision: https://phabricator.haskell.org/D259 GHC Trac Issues: #9623, #9616 Conflicts: compiler/basicTypes/OccName.lhs
* Revert "Use dropWhileEndLE p instead of reverse . dropWhile p . reverse"Austin Seipp2014-10-022-23/+6
| | | | This reverts commit 2a8856884de7d476e26b4ffa829ccb3a14d6f63e.
* Use dropWhileEndLE p instead of reverse . dropWhile p . reverseDavid Feuer2014-10-012-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | Summary: Using `dropWhileEndLE` tends to be faster and easier to read than the `reverse . dropWhile p . reverse` idiom. This also cleans up some other, nearby, messes. Fix #9616 (incorrect number formatting potentially leading to incorrect numbers in output). Test Plan: Run validate Reviewers: thomie, rwbarton, nomeata, austin Reviewed By: nomeata, austin Subscribers: simonmar, ezyang, carter, thomie Projects: #ghc Differential Revision: https://phabricator.haskell.org/D259 GHC Trac Issues: #9623, #9616 Conflicts: compiler/basicTypes/OccName.lhs
* Export `Monoid(..)`/`Foldable(..)`/`Traversable(..)` from PreludeHerbert Valerio Riedel2014-09-211-1/+0
| | | | | | | | | | | | | | | This finally exposes also the methods of these 3 classes in the Prelude in order to allow to define basic class instances w/o needing imports. This almost completes the primary goal of #9586 NOTE: `fold`, `foldl'`, `foldr'`, and `toList` are not exposed yet, as they require upstream fixes for at least `containers` and `bytestring`, and are not required for defining basic instances. Reviewed By: ekmett, austin Differential Revision: https://phabricator.haskell.org/D236
* 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>
* Fix installation of hpc (#8735)Austin Seipp2014-02-172-0/+5
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* 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>
* Globally replace "hackage.haskell.org" with "ghc.haskell.org"Simon Marlow2013-10-013-5/+5
|
* Automatically add the $(exeext) to program namesIan Lynagh2013-03-031-1/+1
| | | | | | | We now define _PROGNAME, and _PROG is automatically defined with $(exeext). This will shortly automatically use the right exeext depending on what stage it is being compiled with (exeext may be different for different stages when cross-compiling).
* Add a --reset-hpcdirs flag to hpcIan Lynagh2012-11-236-6/+17
|
* de-tab hpcIan Lynagh2012-11-238-335/+335
|
* "hpc version" now shows the version number from the .cabal fileIan Lynagh2012-11-232-2/+5
|
* Fix some dependenciesIan Lynagh2012-10-141-1/+1
|
* Use Cabal to build hpc-binIan Lynagh2012-10-142-4/+11
|
* Build the dynamic way by default on Linux/amd64Ian Lynagh2012-10-031-3/+4
| | | | | | | | | | | | | This required various build system changes to get the build to go through. In the inplace shell wrappers, we set LD_LIBRARY_PATH to allow programs to find their libraries. In the future, we might change the inplace tree to be the same shape as an installed tree instead. However, this would mean changing the way we do installation, as currently we use cabal's installation methods to install the libraries, but that only works if the libraries are under libraries/foo/dist-install/build/..., rather than in inplace/lib/...
* Update dependency on directory.Paolo Capriotti2012-09-091-1/+1
|
* Update dependencies.Paolo Capriotti2012-07-191-3/+3
|
* Write locale character encoding to hpc html report (#5006)Bas van Dijk2012-07-161-3/+19
| | | | This allows the correct interpretation of Unicode characters by the browser.
* Follow the removal of the Show superclass of NumIan Lynagh2011-10-121-1/+1
|
* Make builds that use stage1 use "dist-install" consistently. ThisSimon Marlow2011-05-281-5/+5
| | | | | makes it easier to remove everything built with stage1 in cases where the build system or GHC wrongly thinks everything is up to date.
* Replace uses of the old catch function with the new oneIan Lynagh2010-12-181-6/+6
|
* Remove redundant HpcMap and HpcSet wrappers around Data.{Map,Set}Ian Lynagh2010-12-1611-83/+12
|
* __GLASGOW_HASKELL__ >= 604 is now always trueIan Lynagh2010-12-151-2/+0
|
* add some {-# LANGUAGE BangPatterns #-} to mollify GHCSimon Marlow2010-11-171-0/+1
|
* Fix build following haskell98 and -fglasgow-exts changesIan Lynagh2010-10-061-1/+1
|
* Work around missing type signature in Happysimonpj@microsoft.com2010-07-301-1/+9
| | | | | | | | | | | | | Happy generates notHappyAtAll = error "Blah" without a type signature, and currently the new typechecker doesn't generalise it. This patch says "no monomorphism restriction" which makes it generalise again. Better would be to add a type sig to Happy's template
* Fix HPC column numbers, following the column number changes in GHCIan Lynagh2009-12-031-2/+2
|
* Whitespace onlyIan Lynagh2009-12-031-189/+189
|
* Tweak layout to work with alternative layout ruleIan Lynagh2009-11-291-1/+1
|
* Fix unused import warningsIan Lynagh2009-07-071-1/+0
|
* Support for -fwarn-unused-do-bind and -fwarn-wrong-do-bind, as per #3263Max Bolingbroke2009-07-011-1/+1
|
* Put "%expect 0" directives in the .y filesIan Lynagh2009-06-081-0/+1
| | | | | With the exception of GHC's main Parser.y(.pp), which has 2 reduce/reduce conflicts
* Add a header to all build system files:Simon Marlow2009-04-282-0/+24
| | | | | | | | | | | | | | # ----------------------------------------------------------------------------- # # (c) 2009 The University of Glasgow # # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying # # -----------------------------------------------------------------------------
* GHC new build system megapatchIan Lynagh2009-04-263-5/+10
|
* Require a bang pattern when unlifted types are where/let bound; #3182Ian Lynagh2009-04-241-1/+1
| | | | | For now we only get a warning, rather than an error, because the alex and happy templates don't follow the new rules yet.
* Update dependenciesIan Lynagh2008-09-201-2/+2
|
* Fixing directory creation to not create "" directories inside hpc report ↵andygill@ku.edu2008-09-161-1/+3
| | | | (harmless but needless)
* Fix Trac #2311: creates subdirs for package coverage informationandygill@ku.edu2008-09-151-10/+20
|
* 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.
* Make some utils -Wall cleanIan Lynagh2008-08-2111-89/+129
|
* 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-182-31/+32
|
* Get rid of compat/Ian Lynagh2008-07-081-2/+1
| | | | | | Compat.Unicode is not utils/Unicode in the compiler. We build the hpc package with the stage1 compiler. Nothing else in the compat package was still used.
* Fixing hpc combine and hpc map to use the correct help messageandy@galois.com2008-04-081-3/+3
|
* Mac OS X deployment target: piping opts through MakefilesManuel M T Chakravarty2008-02-211-0/+9
|
* All installed Haskell prgms have an inplace and an installed versionManuel M T Chakravarty2008-02-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | - GHC installs a range of compiled Haskell programs in addition to the actual compiler. To ensure that they all run on the platform targeted by the build (which may have different libraries installed than the build host), we need to make sure that all compiled Haskell code going into an install is build with the stage 1 compiler, not the bootstrap compiler. Getting this right is especially important on the Mac to enable builds that work on Mac OS X versions that are older than the one performing the build. - For all installed utils implemented in Haskell (i.e., ghc-pkg, hasktags, hsc2hs, runghc, hpc, and pwd) we compile two versions, an inplace version and a version for installation. The former is build by the bootstrap compiler during the stage 1 build and the latter is build by the stage 1 compiler during the stage 2 build. - This is really very much as the setup for ghc itself, only that we don't use separate stage1/ and stage2/ build directories. Instead, we clean before each build. CAVEAT: This only works properly if invoked from the toplevel Makefile. - Instead of UseStage1=YES (as used by the previous binary-dist-specific recompilation), we now use the same $(stage) variables as used for the compiler proper - to increase uniformity and to avoid extra conditionals for the install target.
* Fix #2062: foldr1 problem in hpc toolandy@galois.com2008-01-262-16/+20
|