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

Hs dependency upgrade #4094

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from
Draft

Hs dependency upgrade #4094

wants to merge 16 commits into from

Conversation

jberthold
Copy link
Member

@jberthold jberthold commented Feb 24, 2025

Upgrades HS backend build to ghc-9.8.4 and stackage LTS-23.9

  • no custom version of hashable required any more
  • removed time-profile app which brought in the profiteur dependency (not maintained, problematic dependencies)
  • new versions of hlint and fourmolu in the nix derivation -> minor code changes
  • new warning about partial functions head and tail in GHC: code changes to avoid them
    • flag -Wno-x-partial could be used but can for some reason not be configured in kore.cabal (stack build --pedantic seems to override it with -Wall -Werror later in the command line - not visible in verbose output)

This currently fails with a segfault in the LLVM compilation during integration tests. The reason is unclear, it happens locally, too, under nix.

Before merging this

  • modify rv-nix-env to use the chosen nixpkgs hash globally, and revert the local change here
  • test the new nixpkgs setting in various downstream packages

* Removes custom dependency on `hashable-1.4.2`
* Removes the `time-profile` tool from `dev-tools`: we don't use it actively and its dependency `profiteur` creates problems.
* Disables the (new) warnings about partial functions (`-Wx-partial`) in `kore` where some `head/tail` instances are used. The code should be remediated and the warning re-enabled.
@jberthold jberthold marked this pull request as draft February 24, 2025 05:37
@jberthold jberthold force-pushed the hs-dependency-upgrade branch from 72b3f62 to b80955f Compare February 24, 2025 08:07
@jberthold jberthold force-pushed the hs-dependency-upgrade branch from b80955f to a7b03d2 Compare February 24, 2025 08:14
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.

1 participant