Skip to content

Instantly share code, notes, and snippets.

@arafangion
Created November 23, 2021 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arafangion/34176990e73ecbdf90139df68d0de627 to your computer and use it in GitHub Desktop.
Save arafangion/34176990e73ecbdf90139df68d0de627 to your computer and use it in GitHub Desktop.
Configuring library for semigroups-0.20..
Preprocessing library for semigroups-0.20..
Building library for semigroups-0.20..
<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.Semigroup.Generic ( src/Data/Semigroup/Generic.hs, dist/build/Data/Semigroup/Generic.o, dist/build/Data/Semigroup/Generic.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
cabal: Failed to build StateVar-1.2.2 (which is required by sdl2-2.5.3.0). See
the build log above for details.
@arafangion
Copy link
Author

> cabal build
Resolving dependencies...
Build profile: -w ghc-8.10.7 -O1
In order, the following will be built (use -v for more details):
 - pandemic-0.1.0.0 (exe:pandemic) (first run)
Configuring executable 'pandemic' for pandemic-0.1.0.0..
Preprocessing executable 'pandemic' for pandemic-0.1.0.0..
Building executable 'pandemic' for pandemic-0.1.0.0..
[1 of 1] Compiling Main             ( app/Main.hs, /Users/johnchapman/src/pandemic/dist-newstyle/build/aarch64-osx/ghc-8.10.7/pandemic-0.1.0.0/x/pandemic/build/pandemic/pandemic-tmp/Main.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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment