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.4 #17

Merged
merged 4 commits into from
Apr 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ghc-ver: ["8.8.4", "8.10.7", "9.0.2", "9.2.2"]
cabal: ["3.6.2.0"]
ghc-ver: ["8.10.7", "9.2.7", "9.4.4"]
cabal: ["3.8.1.0"]
# complete all jobs
fail-fast: false
name: macaw-loader - GHC v${{ matrix.ghc-ver }} - ubuntu-latest
Expand All @@ -26,8 +26,8 @@ jobs:
with:
ghc-version: ${{ matrix.ghc-ver }}
cabal-version: ${{ matrix.cabal }}
- name: Cache
uses: actions/cache@v1
- uses: actions/cache/restore@v3
name: Restore cabal store cache
with:
path: /home/runner/.cabal/store/ghc-${{ matrix.ghc-ver }}
# Prefer previous SHA hash if it is still cached
Expand All @@ -50,3 +50,10 @@ jobs:
- name: macaw-loader-ppc
run: |
cabal build pkg:macaw-loader-ppc
- uses: actions/cache/save@v3
name: Save cabal store cache
if: always()
with:
path: /home/runner/.cabal/store/ghc-${{ matrix.ghc-ver }}
# Prefer previous SHA hash if it is still cached
key: linux-${{ matrix.ghc-ver }}-${{ hashFiles('cabal.project.freeze') }}-${{ github.sha }}
1 change: 1 addition & 0 deletions macaw-loader-ppc/src/Data/Macaw/BinaryLoader/PPC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}

module Data.Macaw.BinaryLoader.PPC
Expand Down
1 change: 1 addition & 0 deletions macaw-loader/src/Data/Macaw/BinaryLoader.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{-# LANGUAGE GADTs #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE UndecidableSuperClasses #-}

module Data.Macaw.BinaryLoader (
BinaryLoader(..),
Expand Down
2 changes: 1 addition & 1 deletion submodules/crucible
Submodule crucible updated 65 files
+11 −5 .github/workflows/crucible-go-build.yml
+11 −5 .github/workflows/crucible-jvm-build.yml
+11 −5 .github/workflows/crucible-wasm-build.yml
+14 −7 .github/workflows/crux-llvm-build.yml
+8 −3 .github/workflows/crux-mir-build.yml
+38 −34 cabal.GHC-8.10.7.config
+38 −34 cabal.GHC-8.8.4.config
+0 −295 cabal.GHC-9.2.2.config
+0 −294 cabal.GHC-9.2.3.config
+42 −38 cabal.GHC-9.2.7.config
+58 −54 cabal.GHC-9.4.4.config
+1 −0 crucible-concurrency/src/Cruces/ExploreCrux.hs
+2 −2 crucible-llvm/crucible-llvm.cabal
+7 −12 crucible-llvm/src/Lang/Crucible/LLVM/Translation/Instruction.hs
+2 −0 crucible-llvm/src/Lang/Crucible/LLVM/TypeContext.hs
+1 −0 crucible-llvm/test/TestMemory.hs
+1 −1 crucible-mir/crucible-mir.cabal
+1 −1 crucible-mir/src/Mir/Generator.hs
+28 −14 crucible-mir/src/Mir/Trans.hs
+7 −3 crucible-mir/src/Mir/TransCustom.hs
+2 −2 crucible-symio/crucible-symio.cabal
+0 −3 crucible-symio/src/Data/Parameterized/IntervalsMap.hs
+0 −3 crucible-symio/src/What4/CachedArray.hs
+2 −2 crucible-syntax/crucible-syntax.cabal
+1 −0 crucible-syntax/src/Lang/Crucible/Syntax/Prog.hs
+1 −1 crucible-wasm/crucible-wasm.cabal
+1 −1 crucible-wasm/src/Lang/Crucible/Wasm.hs
+1 −1 crucible-wasm/src/Lang/Crucible/Wasm/Instantiate.hs
+34 −6 crucible-wasm/src/Lang/Crucible/Wasm/Main.hs
+74 −23 crucible-wasm/src/Lang/Crucible/Wasm/Translate.hs
+1 −0 crucible-wasm/test-data/.gitignore
+0 −0 crucible-wasm/test-data/basic-binary.good
+ crucible-wasm/test-data/basic-binary.wasm
+1 −0 crucible-wasm/test-data/basic-script.good
+6 −0 crucible-wasm/test-data/basic-script.wast
+0 −2 crucible-wasm/test-data/basic.config
+0 −0 crucible-wasm/test-data/basic.z3.result.out
+1 −0 crucible-wasm/test-data/multi-value.good
+39 −0 crucible-wasm/test-data/multi-value.wast
+1 −0 crucible-wasm/test-data/sign-extend.good
+57 −0 crucible-wasm/test-data/sign-extend.wast
+13 −14 crucible-wasm/test/Test.hs
+1 −1 crucible/crucible.cabal
+2 −2 crux-llvm/README.md
+2 −2 crux-llvm/crux-llvm.cabal
+1 −1 crux-mir/README.md
+1 −1 crux-mir/crux-mir.cabal
+1 −1 crux/crux.cabal
+10 −2 crux/src/Crux.hs
+1 −0 crux/src/Crux/Goal.hs
+1 −1 dependencies/aig
+1 −1 dependencies/haskell-wasm
+1 −1 dependencies/llvm-pretty
+1 −1 dependencies/llvm-pretty-bc-parser
+1 −1 dependencies/what4
+1 −0 uc-crux-llvm/src/UCCrux/LLVM/Overrides/Skip.hs
+1 −0 uc-crux-llvm/src/UCCrux/LLVM/Overrides/Spec.hs
+1 −0 uc-crux-llvm/src/UCCrux/LLVM/Overrides/Unsound.hs
+1 −0 uc-crux-llvm/src/UCCrux/LLVM/Postcondition/Apply.hs
+1 −0 uc-crux-llvm/src/UCCrux/LLVM/Run/Simulate.hs
+1 −0 uc-crux-llvm/src/UCCrux/LLVM/Specs/Type.hs
+1 −0 uc-crux-llvm/src/UCCrux/LLVM/View/Postcond.hs
+1 −0 uc-crux-llvm/src/UCCrux/LLVM/View/Precond.hs
+1 −0 uc-crux-llvm/src/UCCrux/LLVM/View/Specs.hs
+3 −3 uc-crux-llvm/uc-crux-llvm.cabal
2 changes: 1 addition & 1 deletion submodules/dismantle
2 changes: 1 addition & 1 deletion submodules/llvm-pretty
2 changes: 1 addition & 1 deletion submodules/semmc
Submodule semmc updated 35 files
+15 −3 .github/workflows/ci.yml
+31 −31 cabal.GHC-8.10.7.config
+0 −267 cabal.GHC-8.8.4.config
+37 −35 cabal.GHC-9.2.7.config
+52 −51 cabal.GHC-9.4.4.config
+1 −0 semmc-arm/src/SemMC/Architecture/ARM/Eval.hs
+1 −0 semmc-arm/test/TestFormulas.hs
+1 −0 semmc-arm/tools/GenBase.hs
+1 −1 semmc-learning/semmc-learning.cabal
+1 −0 semmc-learning/src/SemMC/Stochastic/CandidateProgram.hs
+1 −0 semmc-ppc/src/SemMC/Architecture/PPC.hs
+1 −0 semmc-ppc/src/SemMC/Architecture/PPC/Eval.hs
+1 −0 semmc-ppc/src/SemMC/Architecture/PPC/Pseudo.hs
+1 −0 semmc-ppc/tests/Main.hs
+2 −1 semmc-ppc/tools/GenBase.hs
+1 −0 semmc-ppc/tools/SynthDemo.hs
+1 −0 semmc-synthesis/src/SemMC/Synthesis.hs
+1 −1 semmc-synthesis/src/SemMC/Synthesis/Cegis/EvalFormula.hs
+3 −3 semmc-synthesis/src/SemMC/Synthesis/Cegis/Types.hs
+1 −0 semmc-synthesis/src/SemMC/Synthesis/Core.hs
+1 −0 semmc-synthesis/src/SemMC/Synthesis/DivideAndConquer.hs
+1 −0 semmc-synthesis/src/SemMC/Synthesis/Testing.hs
+1 −1 semmc-toy/semmc-toy.cabal
+1 −0 semmc-toy/src/SemMC/Toy/Tests.hs
+2 −2 semmc/semmc.cabal
+6 −5 semmc/src/SemMC/Architecture.hs
+1 −0 semmc/src/SemMC/Architecture/AllocatedOperand.hs
+1 −0 semmc/src/SemMC/Architecture/Concrete.hs
+1 −0 semmc/src/SemMC/Architecture/Pseudo.hs
+1 −0 semmc/src/SemMC/Formula/Equivalence.hs
+2 −2 semmc/tests/semstore/ParamFormulaTests.hs
+1 −1 submodules/asl-translator
+1 −1 submodules/crucible
+1 −1 submodules/dismantle
+1 −1 submodules/llvm-pretty