diff options
author | Jeff King <peff@peff.net> | 2021-08-06 15:20:22 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-06 13:30:24 -0700 |
commit | 33f13ad7c5cfffdcd446a02dd8ef4b77bc70affe (patch) | |
tree | cb1f16bbe6186b33da3fb35c15b86daab7744196 /t/t4018/matlab-octave-section-2 | |
parent | build: update detect-compiler for newer Xcode version (diff) | |
download | tgif-33f13ad7c5cfffdcd446a02dd8ef4b77bc70affe.tar.xz |
build: clang version may not be followed by extra words
The get_family and get_version helpers of detect-compiler assume
that the line to identify the version from the compilers have a
token "version", followed by the version number, followed by some
other string, e.g.
$ CC=gcc get_version_line
gcc version 10.2.1 20210110 (Debian 10.2.1-6)
But that is not necessarily true, e.g.
$ CC=clang get_version_line
Debian clang version 11.0.1-2
Tweak the script not to require extra string after the version.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/matlab-octave-section-2')
0 files changed, 0 insertions, 0 deletions