Commits on Source (22)
-
(cherry picked from commit 00981dc9)
db17cac4 -
It is better to keep these scripts in the tree as they depend on the CI configuration and so on. By keeping them in tree we can keep them up-to-date as the CI config changes and also makes it easier to backport changes to the release script between release branches in future. The final motivation is that it makes generating GHCUp metadata possible. (cherry picked from commit c41aeb30)
3f37718a -
This job exists only for the meta-reason of not allowing nightly pipelines to be cancelled. It was taking two minutes to run as in order to run "true" we would also clone the whole GHC repo. (cherry picked from commit e9cfc723)
cc54ba48 -
1. A python script in .gitlab/rel_eng/mk-ghcup-metadata which generates suitable metadata for consumption by GHCUp for the relevant pipelines. - The script generates the metadata just as the ghcup maintainers want, without taking into account platform/library combinations. It is updated manually when the mapping changes. - The script downloads the bindists which ghcup wants to distribute, calculates the hash and generates the yaml in the correct structure. - The script is documented in the .gitlab/rel_eng/mk-ghcup-metadata/README.mk file 1a. The script requires us to understand the mapping from platform -> job. To choose the preferred bindist for each platform the .gitlab/gen_ci.hs script is modified to allow outputting a metadata file which answers the question about which job produces the bindist which we want to distribute to users for a specific platform. 2. Pipelines to run on nightly and release jobs to generate metadata - ghcup-metadata-nightly: Generates metadata which points directly to artifacts in the nightly job. - ghcup-metadata-release: Generates metadata suitable for inclusion directly in ghcup by pointing to the downloads folder where the bindist will be uploaded to. 2a. Trigger jobs which test the generated metadata in the downstream `ghccup-ci` repo. See that repo for documentation about what is tested and how but essentially we test in a variety of clean images that ghcup can download and install the bindists we say exist in our metadata. (cherry picked from commit ef4ffd9d)
3b18d5d4 -
We intend to release rocky8 bindist so the fetching script needs to know about them. (cherry picked from commit 2e3dbafa)
77c0d337 -
ccf0681c
-
Doesn't force the lazy `OccName` field (#19619) which is already known as a really bad source of leaks. When we slam the hammer storing Names on disk (in interface files or the like), all this should be forced as otherwise a `Name` can easily retain an `Id` and hence the entire world. Fixes #22833 (cherry picked from commit e27eb80c)
e6fe2cf2 -
Ben Gamari authored
Addresses #22773. (cherry picked from commit f410d70a)
33e442b1 -
Sylvain Henry authored
Stage0's ar may not support at-files. Take it into account. Found while cross-compiling from Darwin to Windows. (cherry picked from commit e987e345)
85c5b5a2 -
Sylvain Henry authored
Decision to build either unix or Win32 package must be stage specific for cross-compilation to be supported. (cherry picked from commit 48131ee2)
ea9cbff9 -
Sylvain Henry authored
This change fixes a cross-compilation issue from ArchLinux to Windows because these symbols weren't found. (cherry picked from commit 288fa017)
2b5a1c17 -
Sylvain Henry authored
(cherry picked from commit 2fdf22ae)
af339b8c -
(cherry picked from commit 159426ac)
3278dee7 -
This has been removed from the downstream metadata. (cherry picked from commit 7915f039)
944df299 -
Problem: In 2463df2f, the Solo data constructor was renamed to MkSolo, and Solo was turned into a pattern synonym for backwards compatibility. Since pattern synonyms can not be promoted, the old code that pretty-printed promoted single-element tuples started producing ill-typed code: t :: Proxy ('Solo Int) This fails with "Pattern synonym ‘Solo’ used as a type" The solution is to track the distinction between type constructors and data constructors more carefully when printing single-element tuples. (cherry picked from commit 14b5982a)
c6ac0b42 -
Following the plan in GHC Proposal #143 "Remove the * kind syntax", which states: In the next release (or 3 years in), enable -fwarn-star-is-type by default. The "next release" happens to be 9.6.1 I also moved the T21583 test case from should_fail to should_compile, because the only reason it was failing was -Werror=compat in our test suite configuration. (cherry picked from commit e9c0537c)
337c3d9d
Showing
- .gitlab-ci.yml 141 additions, 3 deletions.gitlab-ci.yml
- .gitlab/gen_ci.hs 115 additions, 25 deletions.gitlab/gen_ci.hs
- .gitlab/generate_job_metadata 5 additions, 0 deletions.gitlab/generate_job_metadata
- .gitlab/generate_jobs 1 addition, 1 deletion.gitlab/generate_jobs
- .gitlab/jobs.yaml 119 additions, 0 deletions.gitlab/jobs.yaml
- .gitlab/rel_eng/default.nix 56 additions, 0 deletions.gitlab/rel_eng/default.nix
- .gitlab/rel_eng/fetch-gitlab-artifacts/.gitignore 3 additions, 0 deletions.gitlab/rel_eng/fetch-gitlab-artifacts/.gitignore
- .gitlab/rel_eng/fetch-gitlab-artifacts/README.mkd 23 additions, 0 deletions.gitlab/rel_eng/fetch-gitlab-artifacts/README.mkd
- .gitlab/rel_eng/fetch-gitlab-artifacts/default.nix 13 additions, 0 deletions.gitlab/rel_eng/fetch-gitlab-artifacts/default.nix
- .gitlab/rel_eng/fetch-gitlab-artifacts/fetch_gitlab.py 147 additions, 0 deletions.gitlab/rel_eng/fetch-gitlab-artifacts/fetch_gitlab.py
- .gitlab/rel_eng/fetch-gitlab-artifacts/setup.py 14 additions, 0 deletions.gitlab/rel_eng/fetch-gitlab-artifacts/setup.py
- .gitlab/rel_eng/mk-ghcup-metadata/.gitignore 3 additions, 0 deletions.gitlab/rel_eng/mk-ghcup-metadata/.gitignore
- .gitlab/rel_eng/mk-ghcup-metadata/README.mkd 56 additions, 0 deletions.gitlab/rel_eng/mk-ghcup-metadata/README.mkd
- .gitlab/rel_eng/mk-ghcup-metadata/default.nix 13 additions, 0 deletions.gitlab/rel_eng/mk-ghcup-metadata/default.nix
- .gitlab/rel_eng/mk-ghcup-metadata/mk_ghcup_metadata.py 273 additions, 0 deletions.gitlab/rel_eng/mk-ghcup-metadata/mk_ghcup_metadata.py
- .gitlab/rel_eng/mk-ghcup-metadata/setup.py 14 additions, 0 deletions.gitlab/rel_eng/mk-ghcup-metadata/setup.py
- .gitlab/rel_eng/nix/sources.json 68 additions, 0 deletions.gitlab/rel_eng/nix/sources.json
- .gitlab/rel_eng/nix/sources.nix 194 additions, 0 deletions.gitlab/rel_eng/nix/sources.nix
- .gitlab/rel_eng/upload.sh 250 additions, 0 deletions.gitlab/rel_eng/upload.sh
- .gitlab/rel_eng/upload_ghc_libs.py 0 additions, 0 deletions.gitlab/rel_eng/upload_ghc_libs.py
.gitlab/generate_job_metadata
0 → 100755
.gitlab/rel_eng/default.nix
0 → 100644
.gitlab/rel_eng/mk-ghcup-metadata/.gitignore
0 → 100644
.gitlab/rel_eng/mk-ghcup-metadata/README.mkd
0 → 100644
.gitlab/rel_eng/mk-ghcup-metadata/setup.py
0 → 100644
.gitlab/rel_eng/nix/sources.json
0 → 100644
.gitlab/rel_eng/nix/sources.nix
0 → 100644
.gitlab/rel_eng/upload.sh
0 → 100755