summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Tweak layout to work with alternative layout ruleIan Lynagh2009-11-291-1/+1
|
* Use UTF-8 explicitly for InstalledPackageInfoSimon Marlow2009-11-251-7/+26
| | | | | | So ghc-pkg register/update takes input in UTF-8, and ghc-pkg dump outputs in UTF-8. Textual package config files in the package DB are assumed to be in UTF-8.
* Use relative paths for haddockHTMLs in the inplace package.confIan Lynagh2009-11-101-1/+4
| | | | | This means that the docs get built with the correct relative paths. When installing, the absolute path will still be used.
* Put docs into versioned directory names; fixes trac #3532Ian Lynagh2009-11-081-2/+2
| | | | | You can now have multiple versions of a package installed, and gen_contents_index will do the right thing.
* Tell ghc-cabal what strip program to useIan Lynagh2009-11-081-6/+14
|
* Remove ext-coreIan Lynagh2009-11-0833-5478/+0
| | | | | It is now a separately maintained package, available from hackage: http://hackage.haskell.org/package/extcore
* mkdirhier now just calls mkdir -pIan Lynagh2009-11-071-42/+1
| | | | The old shell code apparently didn't work properly with /bin/sh=dash
* Make installation on *nix work for paths with spaces in their nameIan Lynagh2009-11-054-8/+8
| | | | | | This means we can remove some conditional stuff from the Makefiles, and means the testsuite doesn't have to work out whether or not it's on Windows.
* Fix #3642: m GHC builds using the Haskell PlatformSimon Marlow2009-11-051-3/+3
|
* Add ghc-cabal dependencies; fixes #3494Ian Lynagh2009-10-301-0/+4
|
* Remove a redundant parameter for mkTupleTy (the arity)simonpj@microsoft.com2009-10-281-2/+1
|
* Make the unpleasant sed one-liner less unpleasantMatthias Kilian2009-10-071-1/+1
|
* Add --supported-languages support to dummy-ghcIan Lynagh2009-10-061-4/+28
| | | | | | | | | We used to call the bootstrapping compiler to get its --supported-languages but that doesn't work when it doesn't support all the extensions that we need. In particular, compiling the new bytestring which needs NamedFieldPuns broken when building with 6.8.2. There's now a rather ugly sed script to extract the extensions from DynFlags.hs.
* follow changes in Distribution.Simple.PackageIndex APISimon Marlow2009-10-062-11/+10
|
* Use "order only constraints" for directoriesIan Lynagh2009-10-024-16/+7
| | | | There are now 104 calls to mkdirhier, down from 1201, when validating.
* System.Console.Terminfo isn't available when bootstrapping.Matthias Kilian2009-09-302-2/+3
|
* Under utils/ext-core, update README to mention that ext-core is now on HackageTim Chevalier2009-09-271-0/+9
|
* Add support for relocatable builds in the new build systemIan Lynagh2009-09-271-21/+50
|
* Make count_lines work with the new directory layoutIan Lynagh2009-09-231-2/+6
|
* Add count_lines back into the repoIan Lynagh2009-09-231-0/+63
|
* Add sdist to ghc-cabal's bag of tricksIan Lynagh2009-09-211-15/+27
|
* Follow the builtin:rts vs. builtin_rts renamingMatthias Kilian2009-09-151-1/+1
| | | | | This unbreaks make install again.
* Fix build on WindowsSimon Marlow2009-09-142-3/+6
|
* Add "ghc-pkg init" command for creating a new package DBSimon Marlow2009-09-141-0/+20
|
* Fixes for compiling the HEAD with iteslfIan Lynagh2009-09-131-1/+0
|