Skip to content

Commit

Permalink
WIP: Support GHC 9.10
Browse files Browse the repository at this point in the history
  • Loading branch information
langston-barrett committed Feb 13, 2025
1 parent 50d1550 commit 30b77b2
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/crux-llvm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
matrix:
os: [ubuntu-22.04]
cabal: ["3.10.3.0"]
ghc: ["9.4.8", "9.6.5", "9.8.2"]
ghc: ["9.4.8", "9.6.5", "9.8.2", "9.10.1"]
include:
- os: ubuntu-20.04
cabal: 3.10.3.0
Expand Down
4 changes: 4 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
--
-- export PATH=$PWD/dist-newstyle/build/x86_64-linux/ghc-7.10.3/hpb-0.1.1/c/hpb/build/hpb:$PATH

-- TODO: https://github.com/travitch/itanium-abi/pull/15
allow-newer: itanium-abi:text
allow-newer: boomerang:template-haskell

packages:
crucible/
crucible-cli/
Expand Down
1 change: 1 addition & 0 deletions crucible-llvm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# next -- TBA

* Add support for GHC 9.10
* Fix a bug in which the memory model would panic when attempting to unpack
constant string literals.

Expand Down
2 changes: 1 addition & 1 deletion crucible-llvm/crucible-llvm.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ common bldflags
library
import: bldflags
build-depends:
base >= 4.13 && < 4.20,
base >= 4.13 && < 4.21,
attoparsec,
bv-sized >= 1.0.0,
bytestring,
Expand Down
4 changes: 4 additions & 0 deletions crucible-symio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Revision history for crucible-symio

# next

* Add support for GHC 9.10

## 0.1.1 -- 2024-08-30

* Add support for GHC 9.8
Expand Down
2 changes: 1 addition & 1 deletion crucible-symio/crucible-symio.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ source-repository head
subdir: crucible-symio

common shared
build-depends: base >=4.12 && <4.20,
build-depends: base >=4.12 && <4.21,
aeson,
bv-sized,
bytestring,
Expand Down
1 change: 1 addition & 0 deletions crucible/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# next -- TBA

* Add support for GHC 9.10
* Add support for Bitwuzla as an online SMT solver backend.
* Add a function `ppTypeRepr` to `Lang.Crucible.Types` for pretty-printing
`TypeRepr`s. Modify the `Pretty` instance to use this function.
Expand Down
2 changes: 1 addition & 1 deletion crucible/crucible.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ library
import: bldflags
build-depends:
async,
base >= 4.13 && < 4.20,
base >= 4.13 && < 4.21,
bimap,
bv-sized >= 1.0.0 && < 1.1,
containers >= 0.5.9.0,
Expand Down
1 change: 1 addition & 0 deletions crux-llvm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# next -- TBA

* Add support for GHC 9.10.
* Add support for the Bitwuzla SMT solver in the test suite.
* Add `--debug` option for starting the Crucible debugger.

Expand Down
2 changes: 1 addition & 1 deletion crux-llvm/crux-llvm.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ common bldflags
-Wincomplete-uni-patterns
ghc-prof-options: -O2
default-language: Haskell2010
build-depends: base >= 4.8 && < 4.20
build-depends: base >= 4.8 && < 4.21
, bytestring
, containers
, crucible
Expand Down
1 change: 1 addition & 0 deletions crux-mir/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# next -- TBA

* Add support for GHC 9.10
* Add `--debug` option for starting the Crucible debugger.

# 0.9 -- 2024-08-30
Expand Down
1 change: 1 addition & 0 deletions crux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# next -- TBA

* Add support for GHC 9.10
* Add support for the Bitwuzla SMT solver.
* Add `--debug` option for starting the Crucible debugger.
* For the sake of the `--debug` flag, Crux now depends on the
Expand Down
4 changes: 2 additions & 2 deletions uc-crux-llvm/uc-crux-llvm.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ library
build-depends:
aeson,
async,
base >= 4.8 && < 4.20,
base >= 4.8 && < 4.21,
bv-sized,
bytestring,
containers,
Expand Down Expand Up @@ -217,7 +217,7 @@ executable uc-crux-llvm
hs-source-dirs: exe

build-depends:
base >= 4.8 && < 4.20,
base >= 4.8 && < 4.21,
uc-crux-llvm

ghc-options: -threaded
Expand Down

0 comments on commit 30b77b2

Please sign in to comment.