- Apr 16, 2016
-
-
Rather than using the non-standard/idiomatic `--with-{gcc,clang}=...` scheme use the `CC=...` style scheme. The basic idea is to have Autoconf's CC/CFLAG/CPPFLAG apply to stage{1,2,3}, while having a separate _STAGE0 set of env-vars denote the bootstrap-toolchain flags/programs. This should be simpler, less confusing, and somewhat more in line with Autoconf's idioms (allowing us to reuse more of Autoconf rather than (re)inventing our own confusing non-standard m4 macros to do stuff that Autoconf could almost do already for us) Morever, expose CC_STAGE0 as a so-called "precious" variable. So now we can better control which bootstrapping gcc is used (by default the one used by the stage0 ghc, unless CC_STAGE0 is overriden) ``` Some influential environment variables: CC_STAGE0 C compiler command (bootstrap) CC C compiler command CFLAGS C compiler flags ... Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. ``` Test Plan: I've tested that cross-compiling with `--target=powerpc-linux-gnu` still works, and tried a few variants of settting `CC=` and `CC_STAGE0=`; `./validate` passed as well Reviewers: erikd, austin, bgamari, simonmar Reviewed By: simonmar Subscribers: Phyx, thomie Differential Revision: https://phabricator.haskell.org/D2078
-
- Oct 30, 2015
-
-
Test Plan: it works Reviewers: bgamari, rwbarton, austin Reviewed By: austin Subscribers: rwbarton Differential Revision: https://phabricator.haskell.org/D1377
-
- Feb 26, 2014
-
-
Herbert Valerio Riedel authored
These parts were forgotten to be committed together with the rest of 32f41c79 Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
By default, bzip2 compression is selected (which is what has been used till now). Additionally, by setting the TAR_COMP make variable to one of the values "bzip2", "gzip", or "xz", an explicit compression format can be requested for the distribution tarballs. For instance, invoking make TAR_COMP=xz sdist-ghc will result in a tarball `./sdistprep/ghc-7.9.20140226-src.tar.xz` Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- Oct 01, 2013
-
-
Simon Marlow authored
-
- Mar 01, 2013
-
-
Ian Lynagh authored
-
- May 15, 2012
-
-
pcapriotti authored
Rename package database flags in both GHC and ghc-pkg so that they are consistent with Cabal nomenclature. Add a version check to the build system so that the correct set of package db flags are used when the bootstrapping GHC has version < 7.5.
-
- Mar 31, 2011
-
-
Ian Lynagh authored
-
- Dec 16, 2010
-
-
Ian Lynagh authored
-
Ian Lynagh authored
On Windows, -executable is matching the html docs.
-
Ian Lynagh authored
-
- Dec 10, 2010
-
-
Ian Lynagh authored
They should use the GHC from the build tree, not the bootstrapping compiler.
-
- Nov 20, 2010
-
-
Ian Lynagh authored
The location isn't baked into the bindist, as it may differ from machine to machine.
-
- Sep 21, 2010
-
-
Ian Lynagh authored
-
- Jun 16, 2010
-
-
Ian Lynagh authored
-
- May 08, 2010
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- Apr 15, 2010
-
-
Ian Lynagh authored
-
- Nov 30, 2009
-
-
Simon Marlow authored
-
- Nov 25, 2009
-
-
rl@cse.unsw.edu.au authored
-
- Sep 27, 2009
-
-
Ian Lynagh authored
Also add support for testing the bindistprep tarball, for when we are validating.
-
- Jun 13, 2009
-
-
Ian Lynagh authored
We now also test runghc and unlit
-
- May 14, 2009
-
-
Ian Lynagh authored
-
- May 04, 2009
-
-
Ian Lynagh authored
Also fixes it so that it really does pass (we weren't substituting the GMP variables in the RTS package config).
-
Ian Lynagh authored
configure looks for install-sh in . .. ../.. and we don't want it to find the build system's install-sh.
-
- Apr 28, 2009
-
-
Simon Marlow authored
# ----------------------------------------------------------------------------- # # (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 # # -----------------------------------------------------------------------------
-
- Apr 26, 2009
-
-
Ian Lynagh authored
-
- Feb 10, 2009
-
-
Ian Lynagh authored
On Windows, we end up doing something like rsync c:/build/ghc-6.10.1-unknown-mingw32.tar.bz2 haskell.org:dist and it thinks that it is meant to get the file from the host called "c". Now we just do rsync ghc-6.10.1-unknown-mingw32.tar.bz2 haskell.org:dist so rsync understand what we mean.
-
- Sep 12, 2008
-
-
Ian Lynagh authored
Otherwise it thinks that c:/foo is a remote file
-
- Aug 24, 2008
-
-
Ian Lynagh authored
-
- Dec 07, 2007
-
-
Ian Lynagh authored
-
- Nov 15, 2007
-
-
Simon Marlow authored
-
- Sep 05, 2007
-
-
Ian Lynagh authored
-
- Aug 23, 2007
-
-
Ian Lynagh authored
-
- Aug 22, 2007
-
-
Ian Lynagh authored
After make binary-dist stage=2 you can run make in bindisttest/ to test it
-