Skip to content

LLVM version check: ... only 10 to 12 is supported. System LLVM version: 12.0.0

Confusing error message: it is inconsistent about supporting version 12. The generated code seems fine. Possibly related: #16912 (closed)

$ echo "main=print()" > main.hs && ghc -c -fllvm main.hs
You are using an unsupported version of LLVM!
Currently only 10 to 12 is supported. System LLVM version: 12.0.0
We will try though...

$ clang --version
clang version 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

$ llc --version
LLVM (http://llvm.org/):
  LLVM version 12.0.0
  Optimized build.
  Default target: x86_64-unknown-linux-gnu
  Host CPU: znver1

  Registered Targets:  ...

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.10.5

(This ghc compiled from source, with ghc-8.10.4)

Edited by jwaldmann
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information