Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GHC 9.6.2 bindist to CI matrix #2045

Merged
merged 13 commits into from
Nov 28, 2023
Merged

Add GHC 9.6.2 bindist to CI matrix #2045

merged 13 commits into from
Nov 28, 2023

Conversation

avdv
Copy link
Member

@avdv avdv commented Nov 16, 2023

Fixes #1986

Copy link
Contributor

mergify bot commented Nov 16, 2023

⚠️ The sha of the head commit of this PR conflicts with #1921. Mergify cannot evaluate rules on this PR. ⚠️

@avdv avdv force-pushed the ci-ghc-9.6-bindist branch 2 times, most recently from 8f65a10 to 528223b Compare November 17, 2023 13:19
The proto-lens protoc plugin currently crashes with an access violation:

```
ERROR: C:/_bzl/33jjwvv5/external/stackage/BUILD.bazel:772:22: HaskellCabalLibrary @stackage//:language-c [for tool] failed: (Exit 1): cabal_wrapper.exe failed: error executing command (from target @stackage//:language-c)
  cd /d C:/_bzl/33jjwvv5/execroot/rules_haskell_tests
  SET CC_WRAPPER_CC_PATH=external/rules_haskell_ghc_windows_amd64/mingw/bin/clang
    SET CC_WRAPPER_CPU=x64_windows
    SET CC_WRAPPER_PLATFORM=windows
    SET LANG=C.UTF-8
    SET PATH=bazel-out/x64_windows-opt-exec-2B5CBBC6/bin/external/stackage/happy-1.20.1.1/_install/bin;bazel-out/x64_windows-opt-exec-2B5CBBC6/internal/_middlemen;bazel-out/x64_windows-opt-exec-2B5CBBC6/bin/external/alex/_install/bin;bazel-out/x64_windows-opt-exec-2B5CBBC6/internal/_middlemen;C:/Program Files/Git/usr/bin
    SET RULES_HASKELL_DOCDIR_PATH=external/rules_haskell_ghc_windows_amd64/doc/html/libraries/base-4.18.0.0
    SET RULES_HASKELL_GHC_PATH=external/rules_haskell_ghc_windows_amd64/bin/ghc-9.6.2.exe
    SET RULES_HASKELL_GHC_PKG_PATH=external/rules_haskell_ghc_windows_amd64/bin/ghc-pkg-9.6.2.exe
    SET RULES_HASKELL_LIBDIR_PATH=external/rules_haskell_ghc_windows_amd64/lib
  bazel-out\x64_windows-opt-exec-2B5CBBC6\bin\external\rules_haskell\haskell\cabal_wrapper.exe bazel-out/x64_windows-opt-exec-2B5CBBC6/bin/external/stackage/language-c_cabal_wrapper_args.json

Access violation in generated code when executing data at 0x7ff75714e360

 Attempting to reconstruct a stack trace...

   Frame	Code address
 * 0x6f166fd5d0	0x7ff75714e360
 * 0x6f166fd5d8	0x7ffe00000a77
 * 0x6f166fd5e0	0x2235758bcc0
```
The pending PR has been merged to master.
@avdv avdv marked this pull request as ready for review November 28, 2023 11:19
@avdv avdv requested a review from aherrmann November 28, 2023 11:19
Comment on lines 4 to 6
# See https://github.com/avdv/proto-lens#readme
- git: https://github.com/avdv/proto-lens
commit: 2ab0a8d1ec1f54f3d1a0ecd1a257311389126490
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a path to upstreaming this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This depends on a PR for ghc-source-gen adding support for GHC 9.6 first: google/ghc-source-gen#103

If that is available we could upstream this too.

@avdv avdv added the merge-queue merge on green CI label Nov 28, 2023
@mergify mergify bot merged commit deeaf7f into master Nov 28, 2023
46 checks passed
@mergify mergify bot deleted the ci-ghc-9.6-bindist branch November 28, 2023 12:37
@mergify mergify bot removed the merge-queue merge on green CI label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add full support for GHC 9.6 bindist
2 participants