[Git][ghc/ghc][wip/ci-docs] 65 commits: GHCi: Improve response to unloading, loading and reloading modules

Matthew Pickering (@mpickering) gitlab at gitlab.haskell.org
Wed Feb 28 19:29:03 UTC 2024



Matthew Pickering pushed to branch wip/ci-docs at Glasgow Haskell Compiler / GHC


Commits:
4e4d47a0 by Jade at 2024-02-26T15:17:20-05:00
GHCi: Improve response to unloading, loading and reloading modules

Fixes #13869

- - - - -
f3de8a3c by Zubin Duggal at 2024-02-26T15:17:57-05:00
rel-eng/fetch-gitlab.py: Fix name of aarch64 alpine 3_18 release job

- - - - -
c71bfdff by Cheng Shao at 2024-02-26T15:18:35-05:00
hadrian/hie-bios: pass -j to hadrian

This commit passes -j to hadrian in the hadrian/hie-bios scripts. When
the user starts HLS in a fresh clone that has just been configured, it
takes quite a while for hie-bios to pick up the ghc flags and start
actual indexing, due to the fact that the hadrian build step defaulted
to -j1, so -j speeds things up and improve HLS user experience in GHC.
Also add -j flag to .ghcid to speed up ghcid, and sets the Windows
build root to .hie-bios which also works and unifies with other
platforms, the previous build root _hie-bios was missing from
.gitignore anyway.

- - - - -
50bfdb46 by Cheng Shao at 2024-02-26T15:18:35-05:00
ci: enable parallelism in hadrian/ghci scripts

This commit enables parallelism when the hadrian/ghci scripts are
called in CI. The time bottleneck is in the hadrian build step, but
previously the build step wasn't parallelized.

- - - - -
61a78231 by Felix Yan at 2024-02-26T15:19:14-05:00
m4: Correctly detect GCC version

When calling as `cc`, GCC does not outputs lowercased "gcc" at least in 13.2.1 version here.

```
$ cc --version
cc (GCC) 13.2.1 20230801
...
```

This fails the check and outputs the confusing message: `configure: $CC is not gcc; assuming it's a reasonably new C compiler`

This patch makes it check for upper-cased "GCC" too so that it works correctly:

```
checking version of gcc... 13.2.1
```
- - - - -
001aa539 by Teo Camarasu at 2024-02-27T13:26:46-05:00
Fix formatting in whereFrom docstring

Previously it used markdown syntax rather than Haddock syntax for code quotes

- - - - -
e8034d15 by Teo Camarasu at 2024-02-27T13:26:46-05:00
Move ClosureType type to ghc-internal

- Use ClosureType for InfoProv.ipDesc.
- Use ClosureType for CloneStack.closureType.
- Now ghc-heap re-exports this type from ghc-internal.

See the accompanying CLC proposal: https://github.com/haskell/core-libraries-committee/issues/210

Resolves #22600

- - - - -
3da0a551 by Matthew Craven at 2024-02-27T13:27:22-05:00
StgToJS: Simplify ExprInline constructor of ExprResult

Its payload was used only for a small optimization in genAlts,
avoiding a few assignments for programs of this form:

  case NormalDataCon arg1 arg2 of x { NormalDataCon x1 x2 -> ... ; }

But when compiling with optimizations, this sort of code is
generally eliminated by case-of-known-constructor in Core-to-Core.
So it doesn't seem worth tracking and cleaning up again in StgToJS.

- - - - -
61bc92cc by Cheng Shao at 2024-02-27T16:58:42-05:00
rts: add missing ccs_mutex guard to internal_dlopen

See added comment for details. Closes #24423.

- - - - -
dd29d3b2 by doyougnu at 2024-02-27T16:59:23-05:00
cg: Remove GHC.Cmm.DataFlow.Collections

In pursuit of #15560 and #17957 and generally removing redundancy.

- - - - -
d3a050d2 by Cheng Shao at 2024-02-27T17:00:00-05:00
utils: remove unused lndir from tree

Ever since the removal of the make build system, the in tree lndir
hasn't been actually built, so this patch removes it.

- - - - -
092764b5 by Matthew Pickering at 2024-02-28T19:25:33+00:00
ci: Bump darwin, windows, freebsd boot compilers to 9.6.4

- - - - -
c385b239 by Matthew Pickering at 2024-02-28T19:25:33+00:00
ci: darwin: Update nixpkgs commit for toolchain

Also update to use LLVM-15 rather than LLVM-11, which is out of date.

- - - - -
12a9f9bd by Matthew Pickering at 2024-02-28T19:25:33+00:00
ci: Enable more documentation building

- - - - -
cab4aa5c by Matthew Pickering at 2024-02-28T19:25:34+00:00
Bump minimum bootstrap version to 9.6

- - - - -
c649dc10 by Matthew Pickering at 2024-02-28T19:25:34+00:00
Temporary hack for CI fastness

- - - - -
6f7977ff by Matthew Pickering at 2024-02-28T19:25:34+00:00
Fix darwin hashes

- - - - -
a5209920 by Matthew Pickering at 2024-02-28T19:25:34+00:00
Attempt to fix darwin

- - - - -
1527cd6a by Matthew Pickering at 2024-02-28T19:25:34+00:00
Remove 9.4.8 bootstrap testing job

- - - - -
cc4d7278 by Matthew Pickering at 2024-02-28T19:25:34+00:00
WIP:darwin

- - - - -
cb140f9d by Matthew Pickering at 2024-02-28T19:25:34+00:00
9.6.2

- - - - -
3d24ef80 by Matthew Pickering at 2024-02-28T19:25:34+00:00
Try fetch sphinx

- - - - -
4ab596b1 by Matthew Pickering at 2024-02-28T19:25:34+00:00
sphinx?

- - - - -
29331709 by Matthew Pickering at 2024-02-28T19:25:34+00:00
debug

- - - - -
3d4123a1 by Matthew Pickering at 2024-02-28T19:25:34+00:00
debug

- - - - -
8ace141d by Matthew Pickering at 2024-02-28T19:25:34+00:00
fix paths

- - - - -
3f8d6213 by Matthew Pickering at 2024-02-28T19:25:34+00:00
fixes?

- - - - -
2e338232 by Matthew Pickering at 2024-02-28T19:25:34+00:00
fixes?

- - - - -
c7f1b53b by Matthew Pickering at 2024-02-28T19:25:34+00:00
verbose

- - - - -
3c7b2e4a by Matthew Pickering at 2024-02-28T19:25:34+00:00
debug

- - - - -
5e015f43 by Matthew Pickering at 2024-02-28T19:25:34+00:00
path to pipe

- - - - -
edbdba68 by Matthew Pickering at 2024-02-28T19:25:34+00:00
debug

- - - - -
bf89af84 by Matthew Pickering at 2024-02-28T19:25:34+00:00
Uninstall sphinx

- - - - -
70e6d162 by Matthew Pickering at 2024-02-28T19:25:34+00:00
fix

- - - - -
80fd50a8 by Matthew Pickering at 2024-02-28T19:25:34+00:00
help

- - - - -
c8249e4c by Matthew Pickering at 2024-02-28T19:25:34+00:00
VERBOSE

- - - - -
de73eb7b by Matthew Pickering at 2024-02-28T19:25:34+00:00
please

- - - - -
f2c64036 by Matthew Pickering at 2024-02-28T19:25:34+00:00
Making tea for edsko

- - - - -
e53e4a93 by Matthew Pickering at 2024-02-28T19:25:34+00:00
please edsko

- - - - -
20444346 by Matthew Pickering at 2024-02-28T19:25:34+00:00
someone help me

- - - - -
f6ac46b2 by Matthew Pickering at 2024-02-28T19:25:34+00:00
pip just seems broken

- - - - -
a816135b by Matthew Pickering at 2024-02-28T19:25:34+00:00
tea making

- - - - -
30cb8110 by Matthew Pickering at 2024-02-28T19:25:34+00:00
we did it

- - - - -
6e3b3c5d by Matthew Pickering at 2024-02-28T19:25:34+00:00
try setting pythonpath

- - - - -
20376387 by Matthew Pickering at 2024-02-28T19:25:34+00:00
set pythonpath

- - - - -
78663d0b by Matthew Pickering at 2024-02-28T19:25:34+00:00
Don't attempt to build pdfs

- - - - -
ae185199 by Matthew Pickering at 2024-02-28T19:25:34+00:00
test

- - - - -
5b9db56a by Matthew Pickering at 2024-02-28T19:25:34+00:00
testing

- - - - -
d97bfaa5 by Matthew Pickering at 2024-02-28T19:25:34+00:00
sphinx

- - - - -
8e7ecb08 by Matthew Pickering at 2024-02-28T19:25:34+00:00
hadrian: Improve parallelism in binary-dist-dir rule

I noticed that the "docs" target was needed after the libraries and
executables were built. We can improve the parallelism by needing
everything at once so that documentation can be built immediately after
a library is built for example.

- - - - -
a5c667be by Matthew Pickering at 2024-02-28T19:25:34+00:00
try..

- - - - -
068da629 by Matthew Pickering at 2024-02-28T19:25:34+00:00
Attempt

- - - - -
349bf6d5 by Matthew Pickering at 2024-02-28T19:25:34+00:00
try

- - - - -
625c078a by Matthew Pickering at 2024-02-28T19:25:34+00:00
debug

- - - - -
39c3c5dc by Matthew Pickering at 2024-02-28T19:25:34+00:00
Try 17

- - - - -
943414c5 by Matthew Pickering at 2024-02-28T19:25:34+00:00
we get ever closer

- - - - -
5d88f1d7 by Matthew Pickering at 2024-02-28T19:25:34+00:00
mp

- - - - -
eaa1edcc by Matthew Pickering at 2024-02-28T19:25:34+00:00
testing

- - - - -
654694dd by Matthew Pickering at 2024-02-28T19:25:34+00:00
testing

- - - - -
bb81d6aa by Matthew Pickering at 2024-02-28T19:25:34+00:00
testing

- - - - -
fbaaf49e by Matthew Pickering at 2024-02-28T19:25:34+00:00
testing

- - - - -
76804948 by Matthew Pickering at 2024-02-28T19:25:34+00:00
fix

- - - - -
95a1c3e6 by Matthew Pickering at 2024-02-28T19:25:35+00:00
fixes

- - - - -
a7eec621 by Matthew Pickering at 2024-02-28T19:27:34+00:00
fixes

- - - - -
00ace82a by Matthew Pickering at 2024-02-28T19:28:45+00:00
debug

- - - - -


30 changed files:

- .ghcid
- .gitignore
- .gitlab-ci.yml
- .gitlab/ci.sh
- .gitlab/darwin/nix/sources.json
- .gitlab/darwin/toolchain.nix
- .gitlab/generate-ci/gen_ci.hs
- .gitlab/jobs.yaml
- .gitlab/rel_eng/fetch-gitlab-artifacts/fetch_gitlab.py
- compiler/GHC/Cmm.hs
- compiler/GHC/Cmm/CommonBlockElim.hs
- compiler/GHC/Cmm/ContFlowOpt.hs
- compiler/GHC/Cmm/Dataflow.hs
- − compiler/GHC/Cmm/Dataflow/Collections.hs
- compiler/GHC/Cmm/Dataflow/Graph.hs
- compiler/GHC/Cmm/Dataflow/Label.hs
- compiler/GHC/Cmm/DebugBlock.hs
- compiler/GHC/Cmm/Dominators.hs
- compiler/GHC/Cmm/Info.hs
- compiler/GHC/Cmm/Info/Build.hs
- compiler/GHC/Cmm/LayoutStack.hs
- compiler/GHC/Cmm/Lint.hs
- compiler/GHC/Cmm/Liveness.hs
- compiler/GHC/Cmm/Node.hs
- compiler/GHC/Cmm/Pipeline.hs
- compiler/GHC/Cmm/ProcPoint.hs
- compiler/GHC/Cmm/Reducibility.hs
- compiler/GHC/Cmm/Sink.hs
- compiler/GHC/Cmm/Utils.hs
- compiler/GHC/CmmToAsm.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/e1152603568ecfc593916d89965f704e338f9b2e...00ace82a1558b9e1ea1cd4fc27c16b9419456c5e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/e1152603568ecfc593916d89965f704e338f9b2e...00ace82a1558b9e1ea1cd4fc27c16b9419456c5e
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/20240228/01843b74/attachment-0001.html>


More information about the ghc-commits mailing list