Commits on Source (23)
-
21fc180b
-
This is possible now that #22229 is fixed.
d640a3b6 -
After #22229 had been fixed, we can finally derive the `Lift` instance for the TH AST, as proposed by Ryan Scott in https://mail.haskell.org/pipermail/libraries/2015-September/026117.html. Fixes #14030, #14296, #21759 and #24560. The residency of T24471 increases by 13% because we now load `AnnLookup` from its interface file, which transitively loads the whole TH AST. Unavoidable and not terrible, I think. Metric Increase: T24471
33fee6a2 -
If a user has configured CDPATH on their system then `cd lib` may change into an unexpected directory during the installation process. If you write `cd ./lib` then it will not consult `CDPATH` to determine what you mean. I have added a check on ghcup-ci to verify that the bindist installation works in this situation. Fixes #24951
383c01a8 -
The pervasive usage of DynFlags (the parsed command-line options passed to ghc) blurs the border between different components of Haddock, and especially those that focus solely on printing text on the screen. In order to improve the understanding of the real dependencies of a function, the pretty-printer options are made concrete earlier in the pipeline instead of late when pretty-printing happens. This also has the advantage of clarifying which functions actually require DynFlags for purposes other than pretty-printing, thus making the interactions between Haddock and GHC more understandable when exploring the code base. See Henry, Ericson, Young. "Modularizing GHC". https://hsyl20.fr/home/files/papers/2022-ghc-modularity.pdf. 2022
5759133f -
To allow rules to be written on the concrete implementation of `compare` for `Int` and `Word`, we need to have an `INLINE [1]` pragma on these functions, following the `matching_overloaded_methods_in_rules` note in `GHC.Classes`. CLC proposal https://github.com/haskell/core-libraries-committee/issues/179 Fixes #22643
749e089b -
db033639
-
Improves the error message for when `ghc-toolchain` fails to read a valid `Target` value from a file (in doFormat mode).
14308a8f -
6e7cfff1
-
It is better to fail earlier if the configure step fails rather than carrying on for a more obscure error message.
958d6931 -
f48d157d
-
It is non-obvious whether the toolchain configuration should use full-paths to tools or simply their names. In addressing #24574, we've decided to prefer executable names over paths, ultimately, because the bindist configure script already does this, thus is the default in ghcs out there. Updates the in-tree configure script to prefer tool names (`AC_CHECK_TOOL` rather than `AC_PATH_TOOL`) and `ghc-toolchain` to ignore the full-path-result of `findExecutable`, which it previously used over the program name. This change doesn't undo the fix in bd92182c because `AC_CHECK_TOOL` still takes into account the target triples, unlike `AC_CHECK_PROG/AC_PATH_PROG`.
665e653e -
We introduced a configuration step for the javascript preprocessor, but only did so for the in-tree configure script. This commit makes it so that we also configure the javascript preprocessor in the configure shipped in the compiler bindist.
463716c2 -
LlvmTarget was being set and substituted in the in-tree configure, but not in the configure shipped in the bindist. We want to set the LlvmTarget to the canonical LLVM name of the platform that GHC is targetting. Currently, that is going to be the boostrapped llvm target (hence the code which sets LlvmTarget=bootstrap_llvm_target).
e99cd73d -
4199aafe
-
f599d816
-
haddock: Move the usage of mkParserOpts directly to ppHyperlinkedModuleSource in order to avoid passing a whole DynFlags Follow up to !12931
8f4b799d -
This will be reintroduced with a properly ignored commit when the cabal files are themselves formatted for good.
210cf1cd -
Sign hints for parameters are in the second component of the pair. Fixes #23034
7fe85b13 -
Matthew Pickering authored
sed on BSD systems (such as darwin) does not support the + operation. Therefore we take the simple minded approach of manually expanding group+ to groupgroup*. Fixes #24999
cd083edd -
Matthew Pickering authored
The version check was previously broken so the toolchain was not detected at all.
2e99bcdf
Showing
- .gitlab-ci.yml 2 additions, 2 deletions.gitlab-ci.yml
- .gitlab/ci.sh 1 addition, 1 deletion.gitlab/ci.sh
- .gitlab/darwin/toolchain.nix 3 additions, 0 deletions.gitlab/darwin/toolchain.nix
- .gitlab/generate-ci/gen_ci.hs 1 addition, 0 deletions.gitlab/generate-ci/gen_ci.hs
- .gitlab/jobs.yaml 80 additions, 11 deletions.gitlab/jobs.yaml
- compiler/GHC/CmmToAsm/PPC/CodeGen.hs 1 addition, 1 deletioncompiler/GHC/CmmToAsm/PPC/CodeGen.hs
- configure.ac 8 additions, 8 deletionsconfigure.ac
- distrib/configure.ac.in 30 additions, 7 deletionsdistrib/configure.ac.in
- hadrian/bindist/Makefile 4 additions, 4 deletionshadrian/bindist/Makefile
- hadrian/bootstrap/generate_bootstrap_plans 3 additions, 0 deletionshadrian/bootstrap/generate_bootstrap_plans
- hadrian/bootstrap/plan-9_10_1.json 913 additions, 0 deletionshadrian/bootstrap/plan-9_10_1.json
- hadrian/bootstrap/plan-9_4_1.json 125 additions, 73 deletionshadrian/bootstrap/plan-9_4_1.json
- hadrian/bootstrap/plan-9_4_2.json 127 additions, 75 deletionshadrian/bootstrap/plan-9_4_2.json
- hadrian/bootstrap/plan-9_4_3.json 125 additions, 73 deletionshadrian/bootstrap/plan-9_4_3.json
- hadrian/bootstrap/plan-9_4_4.json 125 additions, 73 deletionshadrian/bootstrap/plan-9_4_4.json
- hadrian/bootstrap/plan-9_4_5.json 127 additions, 75 deletionshadrian/bootstrap/plan-9_4_5.json
- hadrian/bootstrap/plan-9_4_6.json 127 additions, 75 deletionshadrian/bootstrap/plan-9_4_6.json
- hadrian/bootstrap/plan-9_4_7.json 125 additions, 73 deletionshadrian/bootstrap/plan-9_4_7.json
- hadrian/bootstrap/plan-9_4_8.json 125 additions, 73 deletionshadrian/bootstrap/plan-9_4_8.json
- hadrian/bootstrap/plan-9_6_1.json 94 additions, 65 deletionshadrian/bootstrap/plan-9_6_1.json
hadrian/bootstrap/plan-9_10_1.json
0 → 100644