Fix LLVM version check yet again

Authored by osa1 on Aug 23 2019, 6:43 AM.

Description

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 bf9dfe1ca32270f5e946e0f8ac1bb97184de6e4c)

Details

Committed
bgamariSun, Nov 3, 11:56 AM
Parents
rGHCa5fd82133cc9: gitlab-ci: Fix URL of Windows cabal-install tarball
Branches
Unknown
Tags
Unknown