We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebd6227 commit 10ecdeeCopy full SHA for 10ecdee
utils/bazel/configure.bzl
@@ -110,7 +110,7 @@ def _extract_cmake_settings(repository_ctx, llvm_cmake):
110
# Skip if `CMAKE_CXX_STANDARD` is set with
111
# `LLVM_REQUIRED_CXX_STANDARD`.
112
# Then `v` will not be desired form, like "${...} CACHE"
113
- if c[k] is not None:
+ if c[k] != None:
114
continue
115
116
# Pick up 1st word as the value.
@@ -160,7 +160,7 @@ def _llvm_configure_impl(repository_ctx):
160
repository_ctx,
161
"cmake/Modules/LLVMVersion.cmake",
162
)
163
- version = {k: v for k, v in version.items() if v is not None}
+ version = {k: v for k, v in version.items() if v != None}
164
vars.update(version)
165
166
_write_dict_to_file(
0 commit comments