summaryrefslogtreecommitdiff
path: root/boot
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Rewrite boot in Python"Ben Gamari2017-05-261-157/+228
| | | | | | This reverts commit 0440af6abe592c2366d302d603664fe763ad0828. Unfortunately this breaks on Windows for tiresome reasons. I'll need to reevaluate this.
* Rewrite boot in PythonBen Gamari2017-05-221-228/+157
| | | | | | | | | | Test Plan: Validate Reviewers: hvr, austin Subscribers: rwbarton, thomie, erikd Differential Revision: https://phabricator.haskell.org/D3567
* Unset GREP_OPTIONS in build systemBen Gamari2016-02-091-0/+3
| | | | | | | | | | | | Test Plan: GREP_OPTIONS=--blah ./validate Reviewers: austin, thomie Reviewed By: thomie Differential Revision: https://phabricator.haskell.org/D1887 GHC Trac Issues: #11530
* Synchronise ghci-package version with ghc-packageHerbert Valerio Riedel2015-12-281-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | In order to simplify the task, the version munging logic has been radically simplified: Previously, in cases where the version contained dates as version components, the build-system would munge the version of the stage1 ghc package before registering the `ghc` package. However, this hack was already questionable at the time of its introduction (c.f. 7b45c46cbabe1288ea87bd9b94c57e010ed17e60). Simplifying the build-systems by avoiding such hacks may also help the shaking-up-ghc effort. So now we simply munge directly via the `.cabal` files, which gives a simpler picture, as now every stage is munged the same. Munging is only active when the first patch-level version component is a date. So stable snapshots and release candidates are unaffacted (as those have the date in the second patch-level version component) Reviewers: simonmar, bgamari, austin, thomie, ezyang Reviewed By: bgamari, thomie, ezyang Differential Revision: https://phabricator.haskell.org/D1673
* Build system: detect when user cloned from GitHubThomas Miedema2015-09-081-0/+34
| | | | | | | | | | | | | | | | | | | Cloning the ghc repository from GitHub doesn't work out of the box. It requires installing some special url rewrites into ~/.gitconfig. The build fails mysteriously if you forget. This patch tries to detect when you cloned from GitHub, and warns you if you didn't set those url rewrites. This hopefully lowers to barrier to contribute to GHC by a tiny bit. At least one /r/haskell user ran into this recently. Test Plan: cloned from github, ran ./boot, saw the message. Installed url rewrites, and ran ./boot again, didn't see the message. Reviewed by: austin Differential Revision: https://phabricator.haskell.org/D1230
* Remove all references to sync-allThomas Miedema2015-07-151-1/+1
|
* Build: run autoreconf jobs in parallelThomas Miedema2015-06-091-3/+12
| | | | | | | | Running ./boot takes ~20 seconds on my laptop with 2 cores. With this change, that goes down to a little over 10 seconds. There are 8 configure.ac files in total, so max 8 parallel jobs. Differential Revision: https://phabricator.haskell.org/D962
* Replace all #!/usr/bin/perl with #!/usr/bin/env perlJoachim Breitner2014-04-301-1/+2
| | | | As suggested in #9057.
* Globally replace "hackage.haskell.org" with "ghc.haskell.org"Simon Marlow2013-10-011-1/+1
|
* Extend `packages` by 4th column for upstream repoHerbert Valerio Riedel2013-09-021-1/+1
| | | | | | | By keeping the repository url in the `packages` file scripts such as source:ghc/sync-all can pick it up. Moreover, it's easier to automatically validate for correctness than the wiki:Repositories/Upstream page.
* Remove the VCS column from 'packages'Ian Lynagh2013-03-041-1/+1
| | | | It's now always 'git'.
* Change how the build system handles packagesIan Lynagh2013-03-011-2/+3
| | | | | This makes the build system a little simpler, and in particular will make it easier to handle the changes needed for cross-compilation.
* Use a submodule for the time packageIan Lynagh2012-12-021-43/+0
| | | | | This bring the time package into line with how we handle other packages.
* sanitise naming of package listsSimon Marlow2011-08-051-2/+2
| | | | | | | | | | | | | | | The *predicates* all start with "PKGS_THAT_...", e.g.: PKGS_THAT_BUILD_WITH_STAGE0 (previously "PACKAGES_STAGE0") PKGS_THAT_BUILD_WITH_STAGE2 (previously "STAGE2_PACKAGES") PKGS_THAT_USE_TH (previously "TH_PACKAGES) etc. (there are a few more) the lists of packages to build are now consistently named: PACKAGES_STAGE0 PACKAGES_STAGE1 (previously just "PACKAGES") PACKAGES_STAGE2
* Rename STAGE0_PACKAGES to PACKAGES_STAGE0Ian Lynagh2011-06-251-1/+1
| | | | It now matches PACKAGES_STAGE2
* Follow Cabal reorganisation, and improve build system a littleIan Lynagh2011-06-231-0/+1
|
* Remove upstream repos from the packages fileIan Lynagh2011-06-111-1/+1
| | | | | | | We no longer pull directly from upstream repos, so it wasn't useful to have it programatically available. The info, and more, is now on http://hackage.haskell.org/trac/ghc/wiki/Commentary/Libraries#Repositorylocations instead.
* Merge boot and boot-pkgsIan Lynagh2011-04-281-40/+162
| | | | | | | There is no longer any need for them to be separate, and this way we don't have to call perl from the boot script. This is particularly useful when perl isn't where we expect it to be (#5154).
* Check for ^M in packages file when bootingIan Lynagh2011-04-141-0/+18
| | | | If we find one then we print an error message and fail.
* Make the boot script complain if mk/build.mk doesn't existIan Lynagh2011-04-141-0/+21
| | | | | If we aren't validating and mk/build.mk doesn't exist then boot prints a warning, pointing at instructions for setting up mk/build.mk.
* Update boot scripts for gitIan Lynagh2011-04-031-10/+3
|
* Mark scripts executable (boot, and the ones the build system chmods)Max Bolingbroke2011-04-021-0/+0
|
* Fix boot; it was failing if darcs-all or validate were missingIan Lynagh2010-10-151-2/+4
| | | | (which is the case in sdists)
* Have boot check that we have the dph packages when validatingIan Lynagh2010-10-141-1/+16
|
* Add upstream repo to the packages fileIan Lynagh2010-08-151-1/+1
|
* Make the "tag" column of the packages file always presentIan Lynagh2010-08-151-12/+14
| | | | It makes the parsing simpler if we always have the same number of columns
* Remove push-all from file list in boot script (push-all no longer exists)Ian Lynagh2010-08-011-1/+1
|
* Add more error checking to the boot scriptIan Lynagh2010-08-011-5/+8
|
* Convert boot and boot-pkgs to perlIan Lynagh2010-04-151-31/+49
| | | | This stops us having to worry about sh/sed/... portability.
* Use bash to run boot-pkgs, the default Solaris shell doesn't support the -ot ↵benl@cse.unsw.edu.au2010-02-031-1/+1
| | | | test flag
* Explain why we check for LICENSE, not _darcs, in bootIan Lynagh2009-10-231-0/+4
|
* Add the time library, and support for libraries in tarballsIan Lynagh2009-07-181-3/+3
|
* Remove hacky on-demand building of libraries/*/ghc.mk, put it back in sh bootSimon Marlow2009-05-221-0/+3
| | | | | | | Now that the clean rules don't require libraries/*/ghc.mk, we don't have to build them on demand. And having them built on demand introduced a failure mode (where some libraries have ghc.mk and some don't).
* main repeated 'make maintainer-clean' not failSimon Marlow2009-05-141-37/+0
|
* Add a Makefile in libraries/Ian Lynagh2009-05-081-0/+1
|
* Tweak ./bootIan Lynagh2009-05-081-1/+1
|
* Use more portable shell in ./boot; fixes booting on SolarisIan Lynagh2009-05-061-1/+1
|
* Add dph to build system; patch from Roman LeshchinskiyIan Lynagh2009-05-031-2/+21
|
* GHC new build system megapatchIan Lynagh2009-04-261-2/+18
|
* Make "sh -e boot" workIan Lynagh2008-09-211-1/+4
|
* fix message for missing packagesRoss Paterson2008-09-041-1/+1
| | | | An incorrect libraries/ prefix was being added.
* Fix the "have we got all the bootlibs" checkIan Lynagh2008-08-241-1/+1
| | | | | The packages file has an extra component (for "darcs" or "git") so we need to take that into account when grepping.
* Update boot's test that we have all of the bootlibsIan Lynagh2008-07-291-2/+2
|
* Refer to "boot" libs, not "core" libsIan Lynagh2007-09-141-2/+2
|
* Rejig bootIan Lynagh2007-09-071-21/+20
| | | | | | | | find on Windows doesn't understand -L, so stop trying to be clever and just autoreconf everything. Also, print out the names of directories as we autoreconf them, so that if autoreconfing one breaks then we know which one it was.
* Fix boot: it was avoiding autoreconfingSimon Marlow2007-09-051-8/+9
| | | | | | | | | Two problems here: find needs to dereference symbolic links (-L option, I really hope that's portable), and we need to notice when aclocal.m4 is updated. Somehow I think this was easier when it just always ran autoreconf... what was wrong with that?
* Be more flexible when trying to make scripts executablesven.panne@aedion.de2007-08-251-1/+3
|
* Overhaul boot scriptsven.panne@aedion.de2007-08-251-23/+22
| | | | | | * Call autoreconf only if necessary, avoiding a strict tool dependency. * Be a good *nix citizen and don't clutter the output when everything is fine. * Make a few more scripts executable.
* Update the in-tree GMP; fixes trac #832Ian Lynagh2007-07-051-1/+0
| | | | | gmp is now in a top-level directory and we only have the tarball in the darcs repo. It gets untarred if it is needed.
* Add a push-all scriptIan Lynagh2007-06-191-0/+1
|