> cabal build all --builddir=b --only-dependencies
Building StateVar-1.2.2 (lib)
Configuring library for StateVar-1.2.2..
Preprocessing library for StateVar-1.2.2..
Building library for StateVar-1.2.2..
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [9 and 13)
[1 of 1] Compiling Data.StateVar ( src/Data/StateVar.hs, dist/build/Data/StateVar.o, dist/build/Data/StateVar.dyn_o )
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [9 and 13)
ghc: could not execute: opt
Hi there!
I'm not sure whether this is an issue with
haskell-actionsper se, but I thought it worth recording in case others are also running into the same issue.Affected OS, GHC, and cabal version combinations
macOS-latestwindows-latestubuntu-latestghc-8.10ghc-9.0ghc-9.2ghc-9.4ghc-9.6ghc-9.8Building with
cabal-3.10.3.0.Known workarounds
macOS-13instead ofmacOS-latest.Issue
On affected OS platform and GHC versions, there are LLVM-related build failures similar to the following:
Note that the LLVM error appears for whatever dependency
cabalis attempting to build first. (It's not specific toStateVar.)Example action failures