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

Support building with GHC 9.6 #80

Merged
merged 5 commits into from
Aug 8, 2023
Merged

Support building with GHC 9.6 #80

merged 5 commits into from
Aug 8, 2023

Commits on Aug 7, 2023

  1. Whitespace only

    RyanGlScott committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    c02fe37 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Support building with GHC 9.6

    This patch contains a handful of small tweaks needed to make the libraries in
    the `semmc` repo build with GHC 9.6:
    
    * I have disambiguated a use of `Data.Parameterized.NatRepr.withKnownNat` in
      `semmc-aarch32` to avoid clashing with a newly exported function of the same
      name in `GHC.TypeNats`.
    * I have bumped `semmc`'s upper version bounds on `mtl` and `transformers` to
      allow building with `mtl-2.3.*` and `transformers-0.6.*`, which are bundled
      with GHC 9.6.
    * I have bumped the following submodules to bring in GHC 9.6–related changes:
      * `asl-translator`: GaloisInc/asl-translator#53
      * `crucible`: GaloisInc/crucible#1102
      * `elf-edit`: GaloisInc/elf-edit#38
      * `llvm-pretty`: GaloisInc/llvm-pretty#112
      * `what4`: GaloisInc/what4#235
    RyanGlScott committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    0aa2ae0 View commit details
    Browse the repository at this point in the history
  2. Don't use deprecated TypeInType extension

    As of GHC 8.6, `TypeInType` is simply an alias for `DataKinds` + `PolyKinds`.
    And as of GHC 9.6, `TypeInType` is deprecated. Let's just remove our use of
    `TypeInType` to avoid deprecation warnings.
    RyanGlScott committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    93aa575 View commit details
    Browse the repository at this point in the history
  3. SemMC.Architecture: Avoid -Woverlapping-patterns warning

    GHC's pattern-match coverage checker continues to become smarter, and it is now
    smart enough to recognize that the `error` case in `taggedExprImmediate` is
    unreachable. I've rewritten this function slightly to make this more obvious to
    the coverage checker and avoid a warning.
    RyanGlScott committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    4a85bc0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6fb7da4 View commit details
    Browse the repository at this point in the history