Skip to content

Commit 36a2752

Browse files
committed
[bazel] Grab correct version info after 81e2047
This is a bit awkward.
1 parent bdbad0d commit 36a2752

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

utils/bazel/configure.bzl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,14 @@ def _llvm_configure_impl(repository_ctx):
149149
llvm_cmake,
150150
)
151151

152+
# Grab version info and merge it with the other vars
153+
version = _extract_cmake_settings(
154+
repository_ctx,
155+
"cmake/Modules/LLVMVersion.cmake",
156+
)
157+
version = {k: v for k, v in version.items() if v != None}
158+
vars.update(version)
159+
152160
_write_dict_to_file(
153161
repository_ctx,
154162
filepath = "vars.bzl",

0 commit comments

Comments
 (0)