Hi, I'm trying to install a library that depends on this package on a device with LLVM version 15.0.7
but I run into this LLVM error:
cabal install haskell-src-exts
Resolving dependencies...
Build profile: -w ghc-8.10.7 -O1
In order, the following will be built (use -v for more details):
- happy-1.20.1.1 (exe:happy) (requires download & build)
- haskell-src-exts-1.23.1 (lib) (requires download & build)
Downloading happy-1.20.1.1
Downloaded happy-1.20.1.1
Downloading haskell-src-exts-1.23.1
Starting happy-1.20.1.1 (exe:happy)
Downloaded haskell-src-exts-1.23.1
Building happy-1.20.1.1 (exe:happy)
Failed to build exe:happy from happy-1.20.1.1.
Build log (
/data/data/com.termux/files/home/.cabal/logs/ghc-8.10.7/happy-1.20.1.1-e-happy-e3835f5a8bc4cfed8b05a516b79a9ed3bc57fcb3b120fdca9731d68be8c1ee25.log
):
Configuring executable 'happy' for happy-1.20.1.1..
Preprocessing executable 'happy' for happy-1.20.1.1..
Building executable 'happy' for happy-1.20.1.1..
[ 1 of 19] Compiling AbsSyn ( src/AbsSyn.lhs, dist/build/happy/happy-tmp/AbsSyn.o )
You are using an unsupported version of LLVM!
Currently only 9 to 14 is supported. System LLVM version: 15.0.7
We will try though...
Cannot specify -O# and --passes=/--foo-pass, use -passes='default<O#>,other-pass'
`opt' failed in phase `LLVM Optimiser'. (Exit code: 1)
cabal: Failed to build exe:happy from happy-1.20.1.1 (which is required by
haskell-src-exts-1.23.1). See the build log above for details.
which seems to imply that newer llvm versions aren't supported.
Hi, I'm trying to install a library that depends on this package on a device with LLVM version 15.0.7 but I run into this LLVM error:
which seems to imply that newer llvm versions aren't supported.