-
- Downloads
Fix LLVM version check yet again
There were two problems with LLVM version checking:
- The parser would only parse x and x.y formatted versions. E.g. 1.2.3
would be rejected.
- The version check was too strict and would reject x.y formatted
versions. E.g. when we support version 7 it'd reject 7.0 ("LLVM
version 7.0") and only accept 7 ("LLVM version 7").
We now parse versions with arbitrarily deep minor numbering (x.y.z.t...)
and accept versions as long as the major version matches the supported
version (e.g. 7.1, 7.1.2, 7.1.2.3 ...).
(cherry picked from commit bf9dfe1c)
Showing
- compiler/llvmGen/LlvmCodeGen.hs 14 additions, 14 deletionscompiler/llvmGen/LlvmCodeGen.hs
- compiler/llvmGen/LlvmCodeGen/Base.hs 28 additions, 15 deletionscompiler/llvmGen/LlvmCodeGen/Base.hs
- compiler/main/DriverPipeline.hs 5 additions, 5 deletionscompiler/main/DriverPipeline.hs
- compiler/main/SysTools/Tasks.hs 5 additions, 13 deletionscompiler/main/SysTools/Tasks.hs
Loading
Please register or sign in to comment