[Git][ghc/ghc][wip/romes/hardwire-ghc-unit-id] 3 commits: Validate compatibility of ghcs when loading plugins

Rodrigo Mesquita (@alt-romes) gitlab at gitlab.haskell.org
Wed Apr 26 14:55:34 UTC 2023



Rodrigo Mesquita pushed to branch wip/romes/hardwire-ghc-unit-id at Glasgow Haskell Compiler / GHC


Commits:
26d1e373 by romes at 2023-04-26T15:49:57+01:00
Validate compatibility of ghcs when loading plugins

Ensure, when loading plugins, that the ghc the plugin depends on is the
ghc loading the plugin -- otherwise fail to load the plugin.

Progress towards #20742.

- - - - -
775e6b5b by romes at 2023-04-26T15:51:42+01:00
Add hashes to unit-ids created by hadrian

This commit adds support for computing an inputs hash for packages
compiled by hadrian. The result is that ABI incompatible packages should
be given different hashes and therefore be distinct in a cabal store.

Hashing is enabled by the `--flag`, and is off by default as the hash
contains a hash of the source files. We enable it when we produce
release builds so that the artifacts we distribute have the right unit
ids.

- - - - -
d4bbc74b by Matthew Pickering at 2023-04-26T15:51:42+01:00
Use hash-unit-ids in release jobs

Includes fix upload_ghc_libs glob

- - - - -


8 changed files:

- .gitlab/gen_ci.hs
- .gitlab/jobs.yaml
- .gitlab/rel_eng/upload_ghc_libs.py
- compiler/GHC/Runtime/Loader.hs
- hadrian/bindist/Makefile
- hadrian/bootstrap/plan-9_2_1.json
- hadrian/bootstrap/plan-9_2_2.json
- hadrian/bootstrap/plan-9_2_3.json


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/8488080c632408d2397f9f129078f579e61e8652...d4bbc74b9f211d24428a06246a88fd88813f01b0

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/8488080c632408d2397f9f129078f579e61e8652...d4bbc74b9f211d24428a06246a88fd88813f01b0
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/20230426/b5c26c86/attachment-0001.html>


More information about the ghc-commits mailing list