| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Previously the Hadrian jobs used the `FLAVOUR` environment variable to
communicate which flavour `ci.sh` should build whereas `make` used
`BUILD_FLAVOUR`. This caused unnecessary confusion. Consolidate these
two.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Previously cabal-install wouldn't overwrite toolchain executables if
they already existed (as they likely would due to caching).
|
|
|
|
|
| |
Also, always invoke cabal-install to ensure that happy/alex symlinks are
up-to-date.
|
| |
|
|
|
|
|
|
|
| |
We now generate our Docker images via Dhall definitions, as described in
ghc/ci-images!52. Additionally, we are far more careful about where tools
come from, using the ALEX, HAPPY, HSCOLOR, and GHC environment variables
(set in the Dockerfiles) to find bootstrapping tools.
|
|
|
|
|
|
| |
Centos apparently has C.utf8 rather than C.UTF-8.
(cherry picked from commit d9f85dd25a26a04d3485470afb3395ee2dec6464)
|
|
|
|
|
|
|
|
| |
Previously we would assume that the `locale` utility exists. However,
this is not so on Alpine as musl's locale support is essentially
non-existent.
(cherry picked from commit 17cdb7ac3b557a245fee1686e066f9f770ddc21e)
|
| |
|
|
|
|
|
|
|
|
| |
Previously ci.sh would unconditionally use C.UTF-8. However, this fails
on Centos 7, which appears not to provide this locale. Now we first try
C.UTF-8, then try en_US.UTF-8, then fail.
Works around #18607.
|
|
|
|
|
| |
This patch adds an exclusion rule for `docs/users_guide/images`,
to avoid lint errors of PDF files.
|
| |
|
|
|
|
|
| |
Otherwise the Windows builds hang forever waiting for the process to
terminate.
|
|
|
|
|
|
|
|
| |
Recently build system migrated from INTEGER_LIBRARY to BIGNUM_BACKEND.
But gitlab CI was never updated. Let's enable BIGNUM_BACKEND=native.
Bug: https://gitlab.haskell.org/ghc/ghc/-/issues/18437
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Previously we ci.sh would run with `set -e` implying that we wouldn't
push perf notes if the testsuite were to fail, even if it *only* failed
due to perf notes. This rendered the whole performance testing story
quite fragile as a single regressing commit would cause every successive
commit to fail since a new baseline would not be uploaded.
Fix this by ensuring that we always push performance notes.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Key changes:
* Adds a new rule for forall-coercions over coercion variables, which
was implemented but conspicuously missing from the spec.
* Adds treatment for FunCo.
* Adds treatment for ForAllTy over coercion variables.
* Improves commentary (including restoring a Note lost in
03d4852658e1b7407abb4da84b1b03bfa6f6db3b) in the source.
No changes to running code.
|
|
|
|
|
|
| |
Convert hadrian buildscripts to unsuffixed, dashed form
final cleanups
|
|
|
|
|
| |
This exposes the flag of the same name supported by the testsuite
driver.
|
|
|
|
|
| |
I've ruined two trees already by failing to pass --flavour to hadrian.
Let's factor this out so it can be reused during troubleshooting.
|
|
|
|
| |
Darwin sh doesn't support \e.
|
| |
|
|
|
|
|
|
|
|
| |
Previously our attempt to cache the cabal store would
`cp cabal-cache ~/.cabal`. However, if the latter already
existed this meant that we would end up with
~/.cabal/cabal-cache. Not only would this not help caching
but it would exponentially grow the size of ~/.cabal. Not
good!
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves nearly all of the CI logic to .gitlab/ci.sh. This improves
things in a number of ways:
* it's harder for inconsistencies to arise between architectures
* it's easier to share logic between architectures
* on Windows, it's easier to ensure that all CI steps are executed from
within a properly initialized mingw session.
While in town I also add a FreeBSD build job and update the Windows job
to use the gitlab-runner PowerShell executor, since cmd.exe will be
deprecated soon (fixing #17699).
|
|
|
|
|
| |
Otherwise the testsuite driver may not have an up-to-date
baseline.
|
|
|
|
| |
Refactoring to follow.
|
| |
|
| |
|
|
|
|
| |
Allowing it to be easily used locally.
|
|
|
|
| |
Allowing it to be easily used locally.
|
|
|
|
| |
Fall back to xz
|
|
|
|
|
|
| |
The `process` changes have now been merged into `hsc2hs`.
(cherry picked from commit fa029f53132ad59f847ed012d3b835452cf16615)
|
|
|
|
|
| |
This is an attempt to mitigate #17480 by ensuring that a functional version of
the process library is available before attempting the build.
|
| |
|
|
|
|
| |
This is a common bug that creeps into Makefiles (e.g. see T12674).
|
|
|
|
| |
This makes testing much easier.
|
| |
|
|
|
|
| |
Fixes #17180.
|
|
|
|
|
| |
This was inadvertently referring to the cabal-install-latest/ directory
which is volatile.
|
|
|
|
|
| |
Now that we have absolute paths for submodules (since a76b233d) we no
longer need this script.
|