summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* make test and fulltest targets in the main Makefile; fixes #4297Ian Lynagh2010-09-302-2/+11
| | | | | | You can now run "make test" in the root, and the fast testsuite will be run with cleaning enabled. It will also put the summary in testsuite_summary.txt.
* Don't show the loaded packages in ":show packages"; fixes #4300Ian Lynagh2010-09-301-5/+0
| | | | It's never worked properly, and the information is in ":show linker".
* Handle EXTRA_LIBRARIES when building programsIan Lynagh2010-09-302-3/+3
| | | | And set hp2ps's EXTRA_LIBRARIES. Based on a patch from Sergei Trofimovich.
* Fix the doc directory on WindowsIan Lynagh2010-09-291-1/+1
|
* Remove an unused import on WindowsIan Lynagh2010-09-291-3/+0
|
* Use showCommandForUser when showing tracing commandsIan Lynagh2010-09-281-2/+7
|
* Fix hsc2hs docs: 'gcc' is now the default compiler, not 'ghc'; fixes #4341Ian Lynagh2010-09-281-1/+1
|
* Use an empty signal handler for SIGPIPE instead of SIG_IGNSimon Marlow2010-09-251-1/+12
| | | | | This is so that the SIGPIPE handler gets reset to the default automatically on exec().
* Fix the TH depsIan Lynagh2010-09-251-1/+7
|
* Check inplace doesn't exist before we try to create itIan Lynagh2010-09-241-1/+1
| | | | | | | This fixes rerunning configure in a tree which already has an inplace directory. Edward Z Yang ran into this; I guess whether it actually fails depends on details of your installation, or we'd have run into it sooner.
* Fix an egregious bug: INLINE pragmas on monomorphic Ids were being ignoredsimonpj@microsoft.com2010-09-245-228/+133
| | | | | | I had do to some refactoring to make this work nicely but now it does. I can't think how this escaped our attention for so long!
* Eta expand only lambdas that bind a non-dictionary Idsimonpj@microsoft.com2010-09-241-52/+32
| | | | | | See Note [When to eta expand]. The idea is that dictionary lambdas are invisible to the user, so we shouldn't eta expand them.
* Add a commentsimonpj@microsoft.com2010-09-241-0/+1
|
* Add a debug printsimonpj@microsoft.com2010-09-241-0/+1
|
* Just moving comments aroundsimonpj@microsoft.com2010-09-241-45/+76
|
* use putStrLn instead of Haskeline's outputStrLnSimon Marlow2010-09-241-9/+9
| | | | | use of the latter caused problems for Claus Reinke's macros that redirect stdout.
* Change "OPTIONS" to "OPTIONS_GHC" in error messages; fixes #4327Ian Lynagh2010-09-241-2/+2
|
* Add deps for TH uses in vectorIan Lynagh2010-09-231-0/+5
|
* Bump Cabal depIan Lynagh2010-09-231-1/+1
|
* Update Cabal's version numberIan Lynagh2010-09-231-1/+1
|
* Build primitive with stage2Ian Lynagh2010-09-231-1/+1
|
* Fix the Windows __chkstk build error (missing Linker symbol)Simon Marlow2010-09-241-10/+4
|
* emit a helpful error message for missing DPH packagesSimon Marlow2010-09-231-0/+9
|
* Fix computation of installed packagessimonpj@microsoft.com2010-09-243-23/+41
| | | | | | This is a follow-on to Simon's patch yesterday, developed with him. It cleans up the computation of how packages are installed, and installs the right ones.
* Fix braino in WwLib/Literal patchsimonpj@microsoft.com2010-09-241-1/+1
|
* For now, switch off incomplete-pattern warnings in containerssimonpj@microsoft.com2010-09-231-0/+3
| | | | | Put it back on when my patch is applied to the containers repo. (the one that removes two refuable lambdas)
* Make -funfolding-dict-threshold work properlysimonpj@microsoft.com2010-09-232-1/+6
| | | | | and increase its default value. This makes overloaded functions a bit keener to inline. Which fixes Trac #4321
* Impredicative types is no longer deprecatedsimonpj@microsoft.com2010-09-231-2/+1
|
* Do not make FunctionalDependencies force MonoLocalBindssimonpj@microsoft.com2010-09-231-1/+0
|
* move CHECKED settings to the right placeSimon Marlow2010-09-231-15/+17
|
* turn off -Werror for primitive and vectorSimon Marlow2010-09-231-0/+6
|
* Add primitive and vector packages for DPH supportSimon Marlow2010-09-232-4/+5
| | | | | | | | | | | | DPH is now using the public vector package instead of its internal version. vector and primitive are not "boot" packages; they aren't required to build GHC, but they are required to validate (because we include DPH when validating). If you say './darcs-all get --no-dph' then you don't get DPH, vector, or primitive.
* Refactoring and tidy up in the build systemSimon Marlow2010-09-235-129/+125
| | | | | | | | | | | Instead of the ghc-stage and ghc-stage2-package files in a package, we now have a list of these in ghc.mk. There are other similar lists (of boot-packages and non-installable packages), so this is not too bad, and is simpler. While poking around in the top-level ghc.mk file I spotted various opportunities to clean up and re-order some of the cruft that has accumulated over time.
* Allow absent State# RealWorld argumentssimonpj@microsoft.com2010-09-231-1/+4
|
* Add notSCCNote, and use itsimonpj@microsoft.com2010-09-234-19/+20
| | | | | The point here is that SCCs get in the way of eta expansion and we must treat them uniformly.
* Remove use of lambda with a refutable patternsimonpj@microsoft.com2010-09-236-40/+41
|
* Avoid ASSERT black holesimonpj@microsoft.com2010-09-231-1/+5
| | | | | | When this ASSERT tripped in CoreToStg it tried to print out too much, which tripped the asssertion again. Result: an infinite loop with no output at all. Hard to debug!
* Rejig the absent-arg stuff for unlifted typessimonpj@microsoft.com2010-09-232-19/+52
| | | | | | This is what was giving the "absent entered" messages See Note [Absent errors] in WwLib. We now return a suitable literal for absent values of unlifted type.
* Remove -fwarn-simple-patterns, and make -fwarn-incomplete-patterns include ↵simonpj@microsoft.com2010-09-224-54/+9
| | | | | | | | lambdas This makes \(x:xs) -> e want when you have -fwarn-incomplete-patterns, which is consistent.
* Get rid of non-exhaustive lambdasimonpj@microsoft.com2010-09-221-2/+3
|
* Fix an ASSERT failure with profilingsimonpj@microsoft.com2010-09-226-75/+99
| | | | | | | | | | | | | | | | | | | | | | The problem arose with this kind of thing x = (,) (scc "blah" Nothing) Then 'x' is marked NoCafRefs by CoreTidy, becuase it has arity 1, and doesn't mention any caffy things. That in turns means that CorePrep must not float out the sat binding to give sat = scc "blah" Nothing x = (,) sat Rather we must generate x = \eta. let sat = scc "blah" Nothing in (,) sat eta URGH! This Caf stuff is such a mess.
* Remove an out of date paragraph from the user guide; fixes #4331Ian Lynagh2010-09-221-4/+0
|
* Fix bindisttest when GhcProfiled = YESIan Lynagh2010-09-211-0/+2
|
* Fixes for when HADDOCK_DOCS=NOIan Lynagh2010-09-212-3/+10
|
* Bump version to 7.1Ian Lynagh2010-09-211-1/+1
|
* Don't use -march=i686 on powerpc-apple-darwinIan Lynagh2010-09-211-1/+1
| | | | | | Thorikil ran into this when doing a PPC OS X build. We now also don't use -m32 on PPC/OSX, but I don't think it should be necessary. We can add it back if it does turn out to be.
* add a simple trace facility to the build systemSimon Marlow2010-09-2115-1/+37
| | | | | | | | | saying make TRACE=1 prints most of the macro calls and their arguments. It's easy to trace new macros; see rules/trace.mk.
* fix building with extra packages (packages were added to BUILD_DIRS twice)Simon Marlow2010-09-211-1/+17
| | | | Also add some comments about what extra-packages is doing
* add extra packages to $(EXTRA_PACKAGES), so we avoid installing them by defaultSimon Marlow2010-09-201-0/+1
|
* Fix indexing error in archive loaderIan Lynagh2010-09-211-1/+1
|