summaryrefslogtreecommitdiff
path: root/mk
Commit message (Collapse)AuthorAgeFilesLines
* move INPLACE_DATA_DIR into mk/config.mk and share itSimon Marlow2008-08-131-0/+2
|
* Add mk/bindist.mkIan Lynagh2008-08-101-0/+30
|
* Make "make clean" in compiler/ only clean the stage we want to cleanIan Lynagh2008-08-101-1/+1
| | | | If you "make clean" in the root then we still clean all stages
* bindist fixesIan Lynagh2008-08-101-1/+1
|
* bindists are now some way towards workingIan Lynagh2008-08-103-21/+8
|
* When raising NonTermination with the RTS, build the right valueIan Lynagh2008-06-211-1/+1
| | | | | | We now use a nonTermination value in the base library to take take of constructing the SomeException value, with the dictionaries etc, for us. We'll probably need to do the same for some other exceptions too
* Fix the way we pass GMP_INCLUDE_DIRS to hsc2hs; spotted by Andres LohIan Lynagh2008-07-301-8/+1
| | | | | | We were still building the flags in Haskell list syntax, but we now pass the arguments directly rather than constructing a Haskell program with them.
* for the installed versions, don't use dynamic-linking wrappersSimon Marlow2008-07-251-1/+8
|
* add --enable-shared to configure, and $(BuildSharedLibs) to the build systemSimon Marlow2008-07-241-0/+13
|
* put the inplace GHC in stageN-inplace/ghc instead of stageN-inplace/bin/ghcSimon Marlow2008-07-241-3/+3
| | | | just saves a bit of typing
* Tell Cabal where gcc isIan Lynagh2008-07-231-3/+4
|
* Fix the stage3 buildIan Lynagh2008-07-221-3/+5
|
* Build system tweaksIan Lynagh2008-07-182-8/+11
|
* More build system changes; hasktags is now built with CabalIan Lynagh2008-07-181-0/+55
|
* More build system changes; ghc-pkg is now built with CabalIan Lynagh2008-07-182-8/+7
|
* Remove some duplicationIan Lynagh2008-07-171-14/+12
|
* Get building GHC itself with Cabal more-or-less workingIan Lynagh2008-07-162-15/+15
| | | | | Installing and bindist creation don't work, but they were already broken. Only tested validating with one setup.
* Handle passing hsc2hs to Cabal betterIan Lynagh2008-07-111-2/+4
| | | | | If it has been built then we pass it, even if we are still using the bootstrapping compiler.
* Split up Cabal configure flag variables for more flexibilityIan Lynagh2008-07-111-8/+10
|
* Move the definition of NONEXISTENT into the central cabal-flags.mkIan Lynagh2008-07-101-0/+6
|
* Define CABAL in mk/cabal-flags.mk, rather than everywhere we use itIan Lynagh2008-07-101-0/+3
|
* Remove remnants of javaGenIan Lynagh2008-07-101-3/+0
|
* ObjectIO is no longer an extralibIan Lynagh2008-07-091-4/+0
|
* Remove all references to -mno-cygwinIan Lynagh2008-07-092-5/+1
| | | | | We shouldn't need it, as we don't call cygwin's gcc, and it was causing problems with the nightly builders passing it to GHC.
* Extend the flag for not automatically linking haskell98Ian Lynagh2008-07-081-1/+1
| | | | | | | It now also doesn't automatically link base and rts either. We need this when we've done a build, so base and rts are in the package.conf, but we've then cleaned the libraries so they don't physically exist any more.
* Fix hsc2hs finding its template file on WindowsIan Lynagh2008-07-051-0/+1
|
* Build hsc2hs with CabalIan Lynagh2008-07-052-3/+87
| | | | This is very rough around teh edges at the moment.
* Remove Cabal modules from compatIan Lynagh2008-07-033-2/+8
| | | | We now get them from the bootstrapping package.conf instead
* Add --slow (and --fast) options to validateIan Lynagh2008-07-011-1/+10
| | | | | | | slow mode is 14% slower than normal. It uses -DDEBUG for the stage 2 compiler, and -XGenerics for the stage 2 compiler and the libraries. I believe that most of the slowdown is actually caused by -XGenerics rather than -DDEBUG.
* Make a "validate --hpc"; shows how much of the compiler the testsuite testsIan Lynagh2008-07-011-1/+1
| | | | | Currently it causes a load of ghci-debugger tests to fail and takes 63% longer.
* allow PAPI to be installed somewhere non-standardSimon Marlow2007-11-011-1/+2
|
* More commandline flag improvementsIan Lynagh2008-06-163-5/+5
| | | | | | | * Allow -ffoo flags to be deprecated * Mark some -ffoo flags as deprecated * Avoid using deprecated flags in error messages, in the build system, etc * Add a flag to en/disable the deprecated flag warning
* Add ghc_ge_609Ian Lynagh2008-06-151-0/+2
|
* Use -O0 rather than the deprecated -OnotIan Lynagh2008-06-142-7/+7
|
* Fix fwrite$UNIX2003 symbols when cross-compiling for TigerManuel M T Chakravarty2008-05-261-1/+6
| | | | | | | | - When compiling with -mmacos-deployment-target=10.4, we need --no-builtin-fprintf, as the use of GCC's builtin function optimisation for fprintf together with #include "PosixSource" in the RTS leads to the use of fwrite$UNIX2003 (with GCC 4.0.1 on Mac OS X 10.5.2).
* update the "perf" settings to match the defaultSimon Marlow2008-05-201-4/+8
|
* use -O2 for libraries and stage2 compiler by defaultSimon Marlow2008-05-201-5/+5
|
* doc tweakSimon Marlow2008-05-121-1/+1
|
* Make the integer library to use more configurableIan Lynagh2008-04-201-0/+3
| | | | Now you just set INTEGER_LIBRARY=integer-foo in build.mk
* In validate settings, make -Werror easier to overrideIan Lynagh2008-03-261-2/+4
|
* Use editline instead of readlineIan Lynagh2008-03-161-2/+2
|
* Mac OS X deployment target: piping opts through MakefilesManuel M T Chakravarty2008-02-211-2/+13
|
* Add configure option --with-macos-deployment-targetManuel M T Chakravarty2008-02-191-0/+5
|
* All installed Haskell prgms have an inplace and an installed versionManuel M T Chakravarty2008-02-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | | - 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.
* First stab at an installer package for the MacManuel M T Chakravarty2008-02-021-2/+1
| | | | | | | | | - GHC as a Mac framework - I tried to make a package where the user could choose whether to install in /Library/Frameworks or ~/Library/Frameworks (to allow installation for non-admins). However, that doesn't work well without including the whole distribution twice as the decision as to whether the admin password needs to be entered is made at packaging time (not at install time).
* Tell happy to be strictIan Lynagh2008-01-241-1/+1
|
* Increase the bar for bootstrapping GHC to 6.4 (HEAD only)Simon Marlow2008-01-211-6/+0
| | | | | | | - remove $(ghc_ge_601), $(ghc_ge_602), $(ghc_ge_603) - configure now checks the GHC version number - there are probably various cleanups that we can now do in compat/ and compiler/, but I haven't done those yet.
* More verbose error reporting in mk/target.mkClemens Fruhwirth2007-12-311-1/+1
|
* pass -no-user-package-conf to ghc-inplaceSimon Marlow2008-01-041-3/+8
|
* Embedd DLL name into its import library, so client libs reference them ↵Clemens Fruhwirth2008-01-011-3/+3
| | | | properly in .idata