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.8 #2098

Merged
merged 17 commits into from
Aug 22, 2024
Merged

Support building with GHC 9.8 #2098

merged 17 commits into from
Aug 22, 2024

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    8356fc2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8bcb7f3 View commit details
    Browse the repository at this point in the history
  3. verif-viewer: Adapt to json' being moved to new package in aeson-2.2.*

    As of `aeson-2.2.*`, the `json'` function has been removed and migrated to a
    new package, `attoparsec-aeson`. Adapt to this change accordingly in
    `verif-viewer`, which uses `json'`.
    RyanGlScott committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    82588ca View commit details
    Browse the repository at this point in the history
  4. saw-core-sbv: Fix the build with sbv-10.3+

    In `sbv-10.3`, `UINone` gained an additional `Bool` field to represent if the
    `UICodeKind` is curried or not. (See
    LeventErkok/sbv@46fb932)
    This usually defaults to `True`, so we follow suit in `saw-core-sbv`.
    RyanGlScott committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    5ced82d View commit details
    Browse the repository at this point in the history
  5. saw-script: Fix warnings related to sbv-10.3 adding support for OpenSMT

    `sbv-10.3` adds support for the OpenSMT solver
    (https://verify.inf.usi.ch/opensmt). Annoyingly, it's not possible to query the
    OpenSMT version number from the command line, which is the one operation that
    SAW's SMT caching requires. As such, we do the bare minimum to fix warnings
    related to missing pattern match cases on `OpenSMT`, but without going as far
    as adding full support for OpenSMT.
    RyanGlScott committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    78414c4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    58d3016 View commit details
    Browse the repository at this point in the history
  7. Enable -Wno-orphans to fix warnings uncovered by GHC 9.8

    GHC 9.8 is better about reporting orphan type family instances, which are used
    in various spots in Macaw. Enable `-Wno-orphans` to suppress these warnings.
    RyanGlScott committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    7f42851 View commit details
    Browse the repository at this point in the history
  8. saw-script: Fix ambiguous occurrence of unzip function

    `base-4.19.0.0` (GHC 9.8) adds `unzip` to `Data.Functor`, which clashes with
    the `unzip` function defined in `Data.List`. We resolve the ambiguity by using
    explicit imports from `Data.Functor` to avoid importing `Data.Functor.unzip`.
    RyanGlScott committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    8335e25 View commit details
    Browse the repository at this point in the history
  9. Heapster: Panic instead of calling partial head function (#2096)

    Really, we should be throwing a proper error message here instead of throwing a
    `panic`, and we should document the requirement that the list of mutually
    recursive functions must be non-empty. That is left as future work (see #2096).
    RyanGlScott committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    09a49b7 View commit details
    Browse the repository at this point in the history
  10. resolveSpecName: Panic instead of calling partial tail function (#2097)

    Really, we should be throwing a proper error message here instead of throwing a
    `panic`, and we should document the requirement that `__breakpoint__` functions
    must end with `#<parent_name>`. That is left as future work (see #2097).
    RyanGlScott committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    738f1dc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    44da2e4 View commit details
    Browse the repository at this point in the history
  12. Install pkg-config in Dockerfiles

    `pkg-config` is needed for the Haskell `zlib` library to locate the system's
    `zlib` installation.
    RyanGlScott committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    b06020e View commit details
    Browse the repository at this point in the history
  13. Install zlib1g in final Docker stages

    These are needed to install shared libraries for `zlib`, which SAW depends on
    an runtime.
    RyanGlScott committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    59a7166 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4cc25c7 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e28e5c0 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Configuration menu
    Copy the full SHA
    dd88074 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98a1a87 View commit details
    Browse the repository at this point in the history