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 dd5b6a2 commit 355c0ebCopy full SHA for 355c0eb
mojo/mojo_host_platform.bzl
@@ -194,9 +194,8 @@ def _impl(rctx):
194
constraints.extend([
195
apple_constraint,
196
"@mojo_gpu_toolchains//:apple_gpu",
197
+ "@mojo_gpu_toolchains//:has_gpu",
198
])
- if rctx.getenv("MOJO_ENABLE_HAS_GPU_FOR_APPLE"):
199
- constraints.append("@mojo_gpu_toolchains//:has_gpu")
200
201
rctx.file("WORKSPACE.bazel", "workspace(name = {})".format(rctx.attr.name))
202
rctx.file("BUILD.bazel", """
@@ -215,7 +214,6 @@ mojo_host_platform = repository_rule(
215
214
implementation = _impl,
216
configure = True,
217
environ = [
218
- "MOJO_ENABLE_HAS_GPU_FOR_APPLE", # NOTE: Will likely be removed in the future
219
"MOJO_IGNORE_UNKNOWN_GPUS",
220
"MOJO_VERBOSE_GPU_DETECT",
221
],
0 commit comments