summaryrefslogtreecommitdiff
path: root/bindisttest
Commit message (Collapse)AuthorAgeFilesLines
* Drop make build systemBen Gamari2022-08-251-55/+0
| | | | | | | | | | | Here we at long last remove the `make`-based build system, it having been replaced with the Shake-based Hadrian build system. Users are encouraged to refer to the documentation in `hadrian/doc` and this [1] blog post for details on using Hadrian. Closes #17527. [1] https://www.haskell.org/ghc/blog/20220805-make-to-hadrian.html
* ci: Add test to check that release jobs have profiled libsMatthew Pickering2022-04-271-0/+6
|
* Update Wiki URLs to point to GitLabTakenobu Tani2019-03-252-4/+4
| | | | | | | | | | | | | | | | | | | | | | | This moves all URL references to Trac Wiki to their corresponding GitLab counterparts. This substitution is classified as follows: 1. Automated substitution using sed with Ben's mapping rule [1] Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy... New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy... 2. Manual substitution for URLs containing `#` index Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy...#Zzz New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy...#zzz 3. Manual substitution for strings starting with `Commentary` Old: Commentary/XxxYyy... New: commentary/xxx-yyy... See also !539 [1]: https://gitlab.haskell.org/bgamari/gitlab-migration/blob/master/wiki-mapping.json
* Rework CC/CC_STAGE0 handling in `configure.ac`Herbert Valerio Riedel2016-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Testsuite: suggest quoting $(TEST_HC)Thomas Miedema2015-10-301-0/+3
| | | | | | | | | | | | Test Plan: it works Reviewers: bgamari, rwbarton, austin Reviewed By: austin Subscribers: rwbarton Differential Revision: https://phabricator.haskell.org/D1377
* Follow-up to 32f41c79Herbert Valerio Riedel2014-02-261-3/+3
| | | | | | | These parts were forgotten to be committed together with the rest of 32f41c79960ffc1d04c4573acb37756109d279a5 Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Make distribution tarball compression format configurableHerbert Valerio Riedel2014-02-261-3/+3
| | | | | | | | | | | | | 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>
* Globally replace "hackage.haskell.org" with "ghc.haskell.org"Simon Marlow2013-10-012-4/+4
|
* Rename $(Windows) to $(Windows_Host)Ian Lynagh2013-03-011-1/+1
|
* Rename package-conf flags to package-db.Paolo Capriotti2012-05-152-4/+4
| | | | | | | | 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.
* Fix bindisttest in gitIan Lynagh2011-04-011-1/+4
|
* Fix checkBinaries on OS XIan Lynagh2010-12-161-1/+1
|
* Use "-perm -u+x" rather than "-executable" to find executablesIan Lynagh2010-12-161-1/+1
| | | | On Windows, -executable is matching the html docs.
* Remove a debugging printIan Lynagh2010-12-161-1/+0
|
* Add a test that all programs in the bindist were built with the right GHCIan Lynagh2010-12-102-0/+21
| | | | They should use the GHC from the build tree, not the bootstrapping compiler.
* When testing the bindist, tell it where gcc isIan Lynagh2010-11-201-1/+1
| | | | | The location isn't baked into the bindist, as it may differ from machine to machine.
* Fix bindisttest when GhcProfiled = YESIan Lynagh2010-09-211-0/+2
|
* Fix bindisttest MakefileIan Lynagh2010-06-162-2/+2
|
* Add a ghc.mk for bindisttest/Ian Lynagh2010-05-081-0/+49
|
* Improve the bindisttest MakefileIan Lynagh2010-05-081-6/+10
|
* Use $(MAKE), not make, when recursively calling makeIan Lynagh2010-04-151-1/+1
|
* Avoid using non-standard GNU tar option --force-localSimon Marlow2009-11-301-2/+5
|
* Pass --no-user-package-conf to ghc-pkg in bindisttestRoman Leshchinskiy2009-11-251-1/+2
|
* Follow bindist changes in bindisttestIan Lynagh2009-09-271-1/+7
| | | | | Also add support for testing the bindistprep tarball, for when we are validating.
* Improve bindist testingIan Lynagh2009-06-132-0/+5
| | | | We now also test runghc and unlit
* Clean the right directory in bindisttestIan Lynagh2009-05-141-1/+1
|
* Test "ghc-pkg check" passes in bindisttestIan Lynagh2009-05-041-0/+1
| | | | | Also fixes it so that it really does pass (we weren't substituting the GMP variables in the RTS package config).
* Test bindists in a deeper subdirectoryIan Lynagh2009-05-041-6/+8
| | | | | configure looks for install-sh in . .. ../.. and we don't want it to find the build system's install-sh.
* Add a header to all build system files:Simon Marlow2009-04-281-0/+11
| | | | | | | | | | | | | | # ----------------------------------------------------------------------------- # # (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 # # -----------------------------------------------------------------------------
* GHC new build system megapatchIan Lynagh2009-04-261-2/+2
|
* Don't use the absolute path to the bindist tarballIan Lynagh2009-02-101-1/+1
| | | | | | | | | 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.
* Use --force-local when calling tar in bindisttest/Ian Lynagh2008-09-121-1/+2
| | | | Otherwise it thinks that c:/foo is a remote file
* Change references to the old BIN_DIST_TARBALL to the new BIN_DIST_TAR_BZ2Ian Lynagh2008-08-241-1/+1
|
* BIN_DIST_INST_SUBDIR Needs to be defined in config.mk so ./Makefile can see itIan Lynagh2007-12-071-9/+0
|
* on Windows, install to a directory with spaces (test for #1828)Simon Marlow2007-11-151-2/+11
|
* Fix up bindist creation and publishingIan Lynagh2007-09-051-6/+4
|
* In bindisttest, don't try to configure/install the bindist on WindowsIan Lynagh2007-08-231-1/+5
|
* Add a bindisttest directoryIan Lynagh2007-08-223-0/+38
After make binary-dist stage=2 you can run make in bindisttest/ to test it