Downgrade llvm from 15 to 12 and ghc from 9.2 to 8.10 for better support

main
Ethan Reece 2023-09-15 01:03:45 -05:00
parent 0a376070cb
commit dbf8b9b522
Signed by: me
GPG Key ID: D3993665FF92E1C3
5 changed files with 36 additions and 23 deletions

View File

@ -30,7 +30,7 @@ Main repo: https://git.sudoer.ch/me/really-bad-compiler-in-haskell
- Language: Haskell
- Haskell tools: GHCup, Stack, Cabal
- Libraries: megaparsec, parser-combinators, text, llvm-hs-pure
- Libraries: megaparsec, parser-combinators, text, llvm-hs-pure, llvm-hs-pretty
- IDE: VSCodium
- Git platform: Forgejo
- AI: Phind

View File

@ -2,13 +2,13 @@ name: really-bad-compiler-in-haskell
version: 0
author: sudoer777
dependencies:
- base >= 4.16.4 && < 5
- megaparsec >= 9.2.2 && < 10
- base >= 4.14.3 && < 5
- megaparsec >= 9.0.1 && < 10
- parser-combinators
- text
- llvm-hs-pure >= 15 && < 16
# - llvm-hs-pretty >= 0.9 && < 1
tested-with: GHC == 9.2.8
- llvm-hs-pure >= 12 && < 13
- llvm-hs-pretty >= 12 && < 13
tested-with: GHC == 8.10.7
category: Compilers/Interpreters
ghc-options: -threaded -Wall -j8 +RTS -A64M -RTS

View File

@ -11,7 +11,7 @@ author: sudoer777
maintainer: sudoer777
build-type: Simple
tested-with:
GHC == 9.2.8
GHC == 8.10.7
executable really-bad-compiler-in-haskell
main-is: Main.hs
@ -24,9 +24,10 @@ executable really-bad-compiler-in-haskell
app
ghc-options: -threaded -Wall -j8 +RTS -A64M -RTS
build-depends:
base >=4.16.4 && <5
, llvm-hs-pure ==15.*
, megaparsec >=9.2.2 && <10
base >=4.14.3 && <5
, llvm-hs-pretty ==12.*
, llvm-hs-pure ==12.*
, megaparsec >=9.0.1 && <10
, parser-combinators
, text
default-language: Haskell2010

View File

@ -1,10 +1,11 @@
resolver: lts-20.26
resolver: lts-18.28
packages:
- .
extra-deps:
# - llvm-hs-pretty-0.9.0.0
- github: llvm-hs/llvm-hs-pretty
commit: 655ff4d47b3a584b4c9a5863f6121b954825920c
- github: llvm-hs/llvm-hs
commit: 5bca2c1a2a3aa98ecfb19181e7a5ebbf3e212b76
commit: 423220bffac4990d019fc088c46c5f25310d5a33
subdirs:
- llvm-hs-pure

View File

@ -4,22 +4,33 @@
# https://docs.haskellstack.org/en/stable/lock_files
packages:
- completed:
name: llvm-hs-pretty
pantry-tree:
sha256: 8bf37846506a4987d3033ad6d90f9d38ecba57811861b716008986ff0ff60b7a
size: 5098
sha256: db5be408733ee280f7c2956dc8bca843f507eab18c85d8016e3f56c5acccf122
size: 43688
url: https://github.com/llvm-hs/llvm-hs-pretty/archive/655ff4d47b3a584b4c9a5863f6121b954825920c.tar.gz
version: 12.0.0
original:
url: https://github.com/llvm-hs/llvm-hs-pretty/archive/655ff4d47b3a584b4c9a5863f6121b954825920c.tar.gz
- completed:
name: llvm-hs-pure
pantry-tree:
sha256: b512f9e5f8f2b3e3a06bad2fa5ff053a83d817798c7efcd47e254e68c842169d
sha256: cdb0ef9cee5b3569791494c8ac4e1dc5d0fe778f7c9bd2f661e537d1e2ca639b
size: 2712
sha256: 526b67e2da9ce25b3856c221b6772e699a7593dbb5ba38e7ee2436349de70966
size: 9802209
sha256: e3f57577735088c23eac466ccb60ab7ffadeeaa1cb92881bfbb585b50ed227e3
size: 9805847
subdir: llvm-hs-pure
url: https://github.com/llvm-hs/llvm-hs/archive/5bca2c1a2a3aa98ecfb19181e7a5ebbf3e212b76.tar.gz
version: 15.0.0
url: https://github.com/llvm-hs/llvm-hs/archive/423220bffac4990d019fc088c46c5f25310d5a33.tar.gz
version: 12.0.0
original:
subdir: llvm-hs-pure
url: https://github.com/llvm-hs/llvm-hs/archive/5bca2c1a2a3aa98ecfb19181e7a5ebbf3e212b76.tar.gz
url: https://github.com/llvm-hs/llvm-hs/archive/423220bffac4990d019fc088c46c5f25310d5a33.tar.gz
snapshots:
- completed:
sha256: 5a59b2a405b3aba3c00188453be172b85893cab8ebc352b1ef58b0eae5d248a2
size: 650475
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/26.yaml
original: lts-20.26
sha256: 428ec8d5ce932190d3cbe266b9eb3c175cd81e984babf876b64019e2cbe4ea68
size: 590100
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/28.yaml
original: lts-18.28