Skip to content

Commit

Permalink
Merge pull request #88 from greenhouse-org:fix-llvm-version
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 341810986
Change-Id: Ieb85da0b1c25d095cd48b6cadcf6a5c825d24a48
  • Loading branch information
copybara-github committed Nov 11, 2020
2 parents 7bcfb53 + 1a27322 commit b1c40e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cc/private/toolchain/windows_cc_configure.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def _get_clang_version(repository_ctx, clang_cl):
auto_configure_fail("Failed to get clang version by running \"%s -v\"" % clang_cl)

# Stderr should look like "clang version X.X.X ..."
return result.stderr.strip().split(" ")[2]
return result.stderr.splitlines()[0].split(" ")[2]

def _get_msys_mingw_vars(repository_ctx):
"""Get the variables we need to populate the msys/mingw toolchains."""
Expand Down

0 comments on commit b1c40e1

Please sign in to comment.