-
Notifications
You must be signed in to change notification settings - Fork 0
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 mtl-2.3.*
(GHC 9.6)
#53
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This patch contains two changes needed to make `asl-translator` compile with GHC 9.6: * GHC 9.6 bundles `mtl-2.3.*`, which no longer re-exports `Control.Monad` and similar modules from `mtl`-related modules. To accommodate this, various imports have been made more explicit. * I have bumped the following submodules to bring in GHC 9.6–related changes: * `crucible`: GaloisInc/crucible#1102 * `what4`: GaloisInc/what4#235
As of GHC 8.6, `TypeInType` is simply an alias for `DataKinds` + `PolyKinds`. And as of GHC 9.6, `TypeInType` is deprecated. Since we are already using `DataKinds` + `PolyKinds` in all of the places where we enable `TypeInType` in `asl-translator`, let's just remove our use of `TypeInType` to avoid deprecation warnings.
`base-4.18.*` (GHC 9.6) adds `liftA2` to the `Prelude`, which means that some `Control.Applicative` imports in `asl-translator` are flagged as unused when building with GHC 9.6. This patch avoids the warnings by using qualified imports.
kquick
approved these changes
Aug 8, 2023
RyanGlScott
added a commit
to GaloisInc/semmc
that referenced
this pull request
Aug 8, 2023
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
added a commit
to GaloisInc/semmc
that referenced
this pull request
Aug 8, 2023
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
added a commit
to GaloisInc/macaw
that referenced
this pull request
Aug 8, 2023
This patch contains a handful of tweaks needed to make the libraries in the `macaw` repo build with GHC 9.6: * GHC 9.6 bundles `mtl-2.3.*`, which no longer re-exports `Control.Monad`, `Control.Monad.Trans`, and similar modules from `mtl`-related modules. To accommodate this, various imports have been made more explicit. * I have disambiguated a use of `Data.Parameterized.NatRepr.withKnownNat` in `macaw-aarch32` to avoid clashing with a newly exported function of the same name in `GHC.TypeNats`. * I have bumped various upper version bounds on `doctest`, `optparse-applicative`, and `what4` to allow building these libraries 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 * `dwarf`: GaloisInc/dwarf#6 * `elf-edit`: GaloisInc/elf-edit#38 * `flexdis86`: GaloisInc/flexdis86#54 * `grift`: GaloisInc/grift#9 * `llvm-pretty`: GaloisInc/llvm-pretty#112 * `llvm-pretty-bc-parser`: GaloisInc/llvm-pretty-bc-parser#225 * `semmc`: GaloisInc/semmc#80 * `what4`: GaloisInc/what4#235
RyanGlScott
added a commit
to GaloisInc/macaw
that referenced
this pull request
Aug 8, 2023
This patch contains a handful of tweaks needed to make the libraries in the `macaw` repo build with GHC 9.6: * GHC 9.6 bundles `mtl-2.3.*`, which no longer re-exports `Control.Monad`, `Control.Monad.Trans`, and similar modules from `mtl`-related modules. To accommodate this, various imports have been made more explicit. * I have disambiguated a use of `Data.Parameterized.NatRepr.withKnownNat` in `macaw-aarch32` to avoid clashing with a newly exported function of the same name in `GHC.TypeNats`. * I have bumped various upper version bounds on `doctest`, `optparse-applicative`, and `what4` to allow building these libraries 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 * `dwarf`: GaloisInc/dwarf#6 * `elf-edit`: GaloisInc/elf-edit#38 * `flexdis86`: GaloisInc/flexdis86#54 * `grift`: GaloisInc/grift#9 * `llvm-pretty`: GaloisInc/llvm-pretty#112 * `llvm-pretty-bc-parser`: GaloisInc/llvm-pretty-bc-parser#225 * `semmc`: GaloisInc/semmc#80 * `what4`: GaloisInc/what4#235
RyanGlScott
added a commit
to GaloisInc/macaw
that referenced
this pull request
Aug 21, 2023
This patch contains a handful of tweaks needed to make the libraries in the `macaw` repo build with GHC 9.6: * GHC 9.6 bundles `mtl-2.3.*`, which no longer re-exports `Control.Monad`, `Control.Monad.Trans`, and similar modules from `mtl`-related modules. To accommodate this, various imports have been made more explicit. * I have disambiguated a use of `Data.Parameterized.NatRepr.withKnownNat` in `macaw-aarch32` to avoid clashing with a newly exported function of the same name in `GHC.TypeNats`. * I have bumped various upper version bounds on `doctest`, `optparse-applicative`, and `what4` to allow building these libraries 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 * `dwarf`: GaloisInc/dwarf#6 * `elf-edit`: GaloisInc/elf-edit#38 * `flexdis86`: GaloisInc/flexdis86#54 * `grift`: GaloisInc/grift#9 * `llvm-pretty`: GaloisInc/llvm-pretty#112 * `llvm-pretty-bc-parser`: GaloisInc/llvm-pretty-bc-parser#225 * `semmc`: GaloisInc/semmc#80 * `what4`: GaloisInc/what4#235
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch contains two changes needed to make
asl-translator
compile with GHC 9.6:mtl-2.3.*
, which no longer re-exportsControl.Monad
and similar modules frommtl
-related modules. To accommodate this, various imports have been made more explicit.crucible
: Support building with GHC 9.6 crucible#1102what4
: Support building with GHC 9.6 what4#235