[Git][ghc/ghc][wip/hadrian-cross-stage2] 8 commits: fail when bindist configure fails

Matthew Pickering (@mpickering) gitlab at gitlab.haskell.org
Fri Oct 13 15:11:48 UTC 2023



Matthew Pickering pushed to branch wip/hadrian-cross-stage2 at Glasgow Haskell Compiler / GHC


Commits:
987edc45 by Matthew Pickering at 2023-10-13T16:11:34+01:00
fail when bindist configure fails

- - - - -
57796a4b by Matthew Pickering at 2023-10-13T16:11:38+01:00
Correctly propagate build/host/target to bindist

fix host/target bindist
t

- - - - -
db8efc52 by Matthew Pickering at 2023-10-13T16:11:40+01:00
ci: Test cross bindists

- - - - -
178cb6c6 by Matthew Pickering at 2023-10-13T16:11:41+01:00
CROSS_STAGE variable

- - - - -
75deb47e by Matthew Pickering at 2023-10-13T16:11:41+01:00
Use explicit syntax rather than pure

- - - - -
774c40be by Matthew Pickering at 2023-10-13T16:11:41+01:00
ci: Javascript don't set CROSS_EMULATOR

There is no CROSS_EMULATOR needed to run javascript binaries, so we
don't set the CROSS_EMULATOR to some dummy value.

- - - - -
dcdf2dd8 by Matthew Pickering at 2023-10-13T16:11:41+01:00
hadrian: Fill in more of the default.host toolchain file

When you are building a cross compiler this file will be used to build
stage1 and it's libraries, so we need enough information here to work
accurately. There is still more work to be done (see for example, word
size is still fixed).

- - - - -
222be3d7 by Matthew Pickering at 2023-10-13T16:11:41+01:00
hadrian: Build stage 2 cross compilers

* Most of hadrian is abstracted over the stage in order to remove the
  assumption that the target of all stages is the same platform. This
  allows the RTS to be built for two different targets for example.
* Abstracts the bindist creation logic to allow building either normal
  or cross bindists. Normal bindists use stage 1 libraries and a stage 2
  compiler. Cross bindists use stage 2 libararies and a stage 2
  compiler.

-------------------------
Metric Decrease:
    T10421a
    T10858
    T11195
    T11276
    T11374
    T11822
    T15630
    T17096
    T18478
    T20261
Metric Increase:
    parsing001
-------------------------

- - - - -


30 changed files:

- .gitlab/ci.sh
- .gitlab/generate-ci/gen_ci.hs
- .gitlab/jobs.yaml
- configure.ac
- distrib/configure.ac.in
- hadrian/bindist/Makefile
- hadrian/bindist/config.mk.in
- hadrian/cfg/default.host.target.in
- hadrian/src/Builder.hs
- hadrian/src/Context.hs
- hadrian/src/Expression.hs
- hadrian/src/Flavour.hs
- hadrian/src/Flavour/Type.hs
- hadrian/src/Hadrian/Expression.hs
- hadrian/src/Hadrian/Haskell/Hash.hs
- hadrian/src/Hadrian/Oracles/TextFile.hs
- hadrian/src/Oracles/Flag.hs
- hadrian/src/Oracles/Flavour.hs
- hadrian/src/Oracles/Setting.hs
- hadrian/src/Oracles/TestSettings.hs
- hadrian/src/Packages.hs
- hadrian/src/Rules/BinaryDist.hs
- hadrian/src/Rules/CabalReinstall.hs
- hadrian/src/Rules/Compile.hs
- hadrian/src/Rules/Documentation.hs
- hadrian/src/Rules/Generate.hs
- hadrian/src/Rules/Gmp.hs
- hadrian/src/Rules/Libffi.hs
- hadrian/src/Rules/Library.hs
- hadrian/src/Rules/Program.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/89f7421ba6e73fdd55c118fb3c10c3ed29ae2106...222be3d78721c56e5597cc171585b3cff8c9532a

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/89f7421ba6e73fdd55c118fb3c10c3ed29ae2106...222be3d78721c56e5597cc171585b3cff8c9532a
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20231013/08f6008e/attachment.html>


More information about the ghc-commits mailing list