~jojo/Carth

248a28f18b034536dca53f3e012be1bc6e78eb03 — JoJo 1 year, 2 months ago b68313f
Update stackage release to lts-15.1

Had some trouble building the thing on new laptop, both on Guix and
with Stack on Arch. I couldn't find much info about it, but one person
suggested memory error. I hoped this wasn't the case, since the laptop
is brand new, but that it instead was some kind of GHC/Cabal
bug. Indeed, the GHC version in both cases was 8.6.something. Updating
to 8.8.something with LTS 15.1 seems to have helped! While the
miscompilation occured a bit randomly before, it was still likely to
happen, but now the compilation succeeded on the first try, so that
was probably it!
4 files changed, 8 insertions(+), 9 deletions(-)

M carth.cabal
M src/Abi.hs
M stack.yaml
M stack.yaml.lock
M carth.cabal => carth.cabal +3 -3
@@ 48,7 48,7 @@ library
  other-modules:
  hs-source-dirs:
      src
  ghc-options: -Weverything -Werror -Wno-safe -Wno-unsafe -Wno-missing-import-lists -Wno-missing-exported-signatures -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-implicit-prelude -Wno-name-shadowing -Wno-orphans -Wno-missed-specialisations -Wno-all-missed-specialisations -Wno-unticked-promoted-constructors
  ghc-options: -Weverything -Werror -Wno-safe -Wno-unsafe -Wno-missing-import-lists -Wno-missing-exported-signatures -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-implicit-prelude -Wno-name-shadowing -Wno-orphans -Wno-missed-specialisations -Wno-all-missed-specialisations -Wno-unticked-promoted-constructors -Wno-missing-deriving-strategies
  build-depends:
      base
    , bytestring


@@ 72,7 72,7 @@ executable carth
      Prebaked
  hs-source-dirs:
      app
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Weverything -Werror -Wno-safe -Wno-unsafe -Wno-missing-import-lists -Wno-missing-exported-signatures -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-implicit-prelude -Wno-name-shadowing -Wno-orphans -Wno-missed-specialisations -Wno-all-missed-specialisations -Wno-unticked-promoted-constructors
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Weverything -Werror -Wno-safe -Wno-unsafe -Wno-missing-import-lists -Wno-missing-exported-signatures -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-implicit-prelude -Wno-name-shadowing -Wno-orphans -Wno-missed-specialisations -Wno-all-missed-specialisations -Wno-unticked-promoted-constructors -Wno-missing-deriving-strategies
  build-depends:
      base
    , bytestring


@@ 97,7 97,7 @@ test-suite carth-test
      CheckSpec
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Weverything -Werror -Wno-safe -Wno-unsafe -Wno-missing-import-lists -Wno-missing-exported-signatures -Wno-missing-export-lists -Wno-missing-local-signatures -Wno-missing-signatures -Wno-monomorphism-restriction -Wno-implicit-prelude -Wno-name-shadowing -Wno-orphans -Wno-missed-specialisations -Wno-all-missed-specialisations -Wno-unticked-promoted-constructors
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Weverything -Werror -Wno-safe -Wno-unsafe -Wno-missing-import-lists -Wno-missing-exported-signatures -Wno-missing-export-lists -Wno-missing-local-signatures -Wno-missing-signatures -Wno-monomorphism-restriction -Wno-implicit-prelude -Wno-name-shadowing -Wno-orphans -Wno-missed-specialisations -Wno-all-missed-specialisations -Wno-unticked-promoted-constructors -Wno-missing-deriving-strategies
  build-depends:
      QuickCheck
    , base

M src/Abi.hs => src/Abi.hs +0 -1
@@ 31,7 31,6 @@ import qualified LLVM.AST.CallingConvention as LLCallConv
import qualified LLVM.AST.Linkage as LLLink
import qualified LLVM.AST.Visibility as LLVis
import qualified LLVM.AST.Constant as LLConst
import LLVM.AST.Global (Parameter)
import qualified LLVM.AST.Global as LLGlob
import qualified LLVM.AST.AddrSpace as LLAddr
import Control.Monad.Writer

M stack.yaml => stack.yaml +1 -1
@@ 1,7 1,7 @@
# Resolver to choose a 'specific' stackage snapshot or a compiler version.
# A snapshot resolver dictates the compiler version and the set of packages
# to be used for project dependencies.
resolver: nightly-2019-09-21
resolver: lts-15.1

# User packages to be built.
packages:

M stack.yaml.lock => stack.yaml.lock +4 -4
@@ 13,7 13,7 @@ packages:
    hackage: llvm-hs-pretty-0.6.2.0@sha256:4c600122965e8dff586bdca0044ec2b1896f2875c2da5ad89bbab9799c9697cd,1670
snapshots:
- completed:
    size: 529134
    url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2019/9/21.yaml
    sha256: 1fb0ce1b3aab70f7b5147dc7b4abb8b1376d89e6991b78b977999be81e4c7912
  original: nightly-2019-09-21
    size: 489011
    url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/15/1.yaml
    sha256: d4ecc42b7125d68e4c3c036a08046ad0cd02ae0d9efbe3af2223a00ff8cc16f3
  original: lts-15.1