Skip to content

GHC-9.0 doesn't compile if there are no LLVM installed

compiler/GHC/CmmToLlvm/Base.hs:288:40: error:
    Variable not in scope: sUPPORTED_LLVM_VERSION_MIN :: Int
    |
288 | supportedLlvmVersionMin = LlvmVersion (sUPPORTED_LLVM_VERSION_MIN NE.:| [])
    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^

compiler/GHC/CmmToLlvm/Base.hs:289:40: error:
    Variable not in scope: sUPPORTED_LLVM_VERSION_MAX :: Int
    |
289 | supportedLlvmVersionMax = LlvmVersion (sUPPORTED_LLVM_VERSION_MAX NE.:| [])
    |             

Is having (compatible) LLVM is now a hard requirement?

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