summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* filter out the gcc-lib directory from the rts package's library-dirsSimon Marlow2010-09-131-1/+10
| | | | fixes problems when building with GHC 6.10 on Windows
* 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
* Add some -no-user-package-conf flagsIan Lynagh2010-09-022-0/+2
| | | | Stops user-installed packages breaking the build
* Change how the dblatex/lndir problem is worked aroundIan Lynagh2010-08-241-0/+23
| | | | | | | | | | | Hack: dblatex normalises the name of the main input file using os.path.realpath, which means that if we're in a linked build tree, it find the real source files rather than the symlinks in our link tree. This is fine for the static sources, but it means it can't find the generated sources. We therefore also generate the main input file, so that it really is in the link tree, and thus dblatex can find everything.
* Generate the bit in the user guide where we say what -fglasgow-exts doesIan Lynagh2010-08-223-0/+73
| | | | Stops the docs going out of sync with the code.
* Add _DATA_FILES to package-data.mk filesIan Lynagh2010-08-181-0/+1
|
* Fix build: Add newline to end of ghc-pkg/Main.hsIan Lynagh2010-08-011-1/+1
|
* ghc-pkg: don't fail, if a file is already removedich@christoph-bauer.net2010-07-251-4/+10
|
* Link programs that have no Haskell objects with gcc rather than ghcIan Lynagh2010-07-161-0/+1
|
* Remove an unnecessary #includeIan Lynagh2010-07-151-2/+0
|
* Simplify some more CPP __GLASGOW_HASKELL__ testsIan Lynagh2010-07-151-10/+1
|
* Remove some code only used with GHC 6.11.*Ian Lynagh2010-07-151-4/+0
|
* __GLASGOW_HASKELL__ >= 609 is now always trueIan Lynagh2010-07-151-8/+0
|
* Simplify ghc-pkg's Cabal dependenciesIan Lynagh2010-07-041-21/+4
| | | | | We no longer support building with a compiler that doesn't come with base 4.
* Use Cabal to configure the dist-install ghc-pkg; fixes trac #4156Ian Lynagh2010-07-042-9/+13
|
* Change ghc-pwd's license to a string Cabal recognisesIan Lynagh2010-06-151-1/+1
|
* it should be an error to use relative directories (#4134)Simon Marlow2010-06-151-0/+3
|
* missing include-dirs or library-dirs is only a warning now (#4104)Simon Marlow2010-06-151-24/+35
|
* In ghc-pkg, send warnings to stderrIan Lynagh2010-06-061-5/+10
|
* Optimise checkremove a bitIan Lynagh2010-05-081-7/+12
|
* Add tools to test that cleaning works properlyIan Lynagh2010-05-083-0/+68
|
* Tidy up the "rm" flags in the build systemIan Lynagh2010-05-081-1/+1
|
* Refactoring of hsXxxBinderssimonpj@microsoft.com2010-05-061-1/+1
| | | | | | This patch moves various functions that extract the binders from a HsTyClDecl, HsForeignDecl etc into HsUtils, and gives them consistent names.
* Detect EOF when trying to parse a string in hp2psIan Lynagh2010-05-061-1/+4
|
* Fix hp2ps when the .hp file has large string literalsIan Lynagh2010-05-051-4/+13
|
* Remove the IND_OLDGEN and IND_OLDGEN_PERM closure typesSimon Marlow2010-04-011-5/+1
| | | | | | | These are no longer used: once upon a time they used to have different layout from IND and IND_PERM respectively, but that is no longer the case since we changed the remembered set to be an array of addresses instead of a linked list of closures.
* New implementation of BLACKHOLEsSimon Marlow2010-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the global blackhole_queue with a clever scheme that enables us to queue up blocked threads on the closure that they are blocked on, while still avoiding atomic instructions in the common case. Advantages: - gets rid of a locked global data structure and some tricky GC code (replacing it with some per-thread data structures and different tricky GC code :) - wakeups are more prompt: parallel/concurrent performance should benefit. I haven't seen anything dramatic in the parallel benchmarks so far, but a couple of threading benchmarks do improve a bit. - waking up a thread blocked on a blackhole is now O(1) (e.g. if it is the target of throwTo). - less sharing and better separation of Capabilities: communication is done with messages, the data structures are strictly owned by a Capability and cannot be modified except by sending messages. - this change will utlimately enable us to do more intelligent scheduling when threads block on each other. This is what started off the whole thing, but it isn't done yet (#3838). I'll be documenting all this on the wiki in due course.
* Append $(exeext) to utils/ghc-pkg_dist_PROGIan Lynagh2010-03-241-1/+1
| | | | Fixes bindist creation
* fix the Windows build some moreSimon Marlow2010-03-041-1/+2
|
* fix Windows buildSimon Marlow2010-03-021-1/+4
|
* Fix the build with GHC < 6.12Ian Lynagh2010-02-261-5/+7
|
* Force encoding to UTF-8 when writing individual .conf filesSimon Marlow2010-02-241-14/+28
|
* Add utils/ghctags/ghc.mkIan Lynagh2010-02-211-0/+17
|
* Make "make tags" work in the new build systemIan Lynagh2010-02-212-109/+39
|
* Remove the old hstags utilIan Lynagh2010-02-205-236/+0
|
* Write the binary cache file atomicallySimon Marlow2010-02-161-5/+13
| | | | | Should fix an occasional build error of the form ghc-pkg: too few bytes. Failed reading at byte position 8
* hide modules properly with haddockSimon Marlow2010-01-131-0/+1
|
* Invoke Haddock directly from the build system, instead of via CabalSimon Marlow2010-01-121-28/+10
| | | | | | | | | | | | | Partly this is cleaner as we only have to preprocess the source files once, but also it is necessary to avoid Haddock recompiling source files when Template Haskell is in use, saving some time in validate and fixing a problem whereby when HADDOCK_DOCS=YES, make always re-haddocks the DPH packages. This also needs an additional fix to GHC. HsColour support still uses Cabal, and hence preprocesses the source files again. We could move this into the build system too, but there is a version dependency that would mean adding extra autoconf stuff.
* Add an extra heading in the output for count_linessimonpj@microsoft.com2009-12-181-0/+1
|
* Fix build with Solaris sedIan Lynagh2009-12-161-1/+3
| | | | | Rather than trying to handle tabs with sed portably, we just use tr to remove them before we start.
* Build and install inplace the count_lines and compareSizes utilsIan Lynagh2009-12-166-1/+73
|
* Add commentssimonpj@microsoft.com2009-12-161-0/+21
|
* Add a size-comparison utilIan Lynagh2009-12-151-0/+151
|
* Eliminate mkdependCIan Lynagh2009-12-093-274/+0
| | | | We now just call gcc to get the dependencies directly
* Add -Iincludes to hp2ps's CC_OPTSIan Lynagh2009-12-081-0/+2
| | | | Making C deps for hp2ps always failed, but we used to carry on regardless
* Fix HPC column numbers, following the column number changes in GHCIan Lynagh2009-12-031-2/+2
|
* Whitespace onlyIan Lynagh2009-12-031-189/+189
|
* Call $(SED) rather than sedIan Lynagh2009-12-011-1/+1
|
* document 'recache' command in the help output (#3684)Simon Marlow2009-11-301-0/+7
|
* Follow Cabal changesIan Lynagh2009-11-291-7/+11
|