summaryrefslogtreecommitdiff
path: root/boot
Commit message (Collapse)AuthorAgeFilesLines
* boot: Remove remote origin checkKrzysztof Gogolewski2020-02-281-36/+0
| | | | | | Previously, we used relative paths in submodules. When cloning from GitHub, they had to be manually tweaked. Since a76b233d we use absolute paths, so this workaround can be removed.
* Deduplicate "unique subdir" code between GHC and CabalJohn Ericson2019-07-091-0/+3
| | | | | | The code, including the generated module with the version, is now in ghc-boot. Config.hs reexports stuff as needed, ghc-pkg doesn't need any tricks at all.
* Bump containers submodule to v0.6.2.1Ben Gamari2019-06-251-1/+9
|
* Replace git.haskell.org with gitlab.haskell.org (#16196)Yuriy Syrovetskiy2019-04-041-1/+1
|
* Update Wiki URLs to point to GitLabTakenobu Tani2019-03-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | 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
* Cleanup boot and validateKrzysztof Gogolewski2018-10-151-6/+6
| | | | | | | | | | | | | | | | | - Remove dph from validate; dph was removed - The required-tag argument to boot was used only for dph, remove - check_boot_packages() was not called at all, and didn't work. I fixed it based on previous Perl version. Test Plan: Harbormaster Reviewers: bgamari, thomie Reviewed By: bgamari Subscribers: rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5129
* Make boot work if ACLOCAL_PATH is not setNeil Mitchell2018-07-121-1/+1
|
* boot: Fix computation of TOPBen Gamari2018-04-191-1/+1
| | | | | | | | | Test Plan: Run `./boot`, check to make sure that `libraries/ghc-prim/GNUmakefile` is sane Subscribers: thomie, carter, sjakobi Differential Revision: https://phabricator.haskell.org/D4580
* boot: Create GNUmakefiles for librariesBen Gamari2018-02-251-0/+11
| | | | D3918 neglected to implement this when it rewrote boot in python.
* boot: Eliminate superfluous outputBen Gamari2017-11-271-1/+0
|
* Stop generating make files when using hadrian.Moritz Angermann2017-11-191-2/+5
| | | | | | | | | | | | | The boot script generates lots of .mk files for the make based build system. This change adds a `--hadrian` flag to `boot`, which skips the `.mk` file generation. Reviewers: bgamari Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D4211
* Rewrite boot in PythonBen Gamari2017-10-021-228/+170
| | | | | | | | | | | | | | | | | | One step closer to being able to drop the Windows Perl tarball. We previously attempted to do this in D3567 but were forced to revert due to Windows problems. Acknowledgements: * @Phyx kindly contributed the codepath allowing this to work on Windows. Test Plan: Validate Reviewers: hvr, austin, Phyx Subscribers: erikd, thomie, rwbarton Differential Revision: https://phabricator.haskell.org/D3918
* 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
|