Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/selective_build/targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def define_common_targets():
deps = [
":select_ops_in_dict",
],
dtype_selective_build = True,
dtype_selective_build = is_xplat(),
visibility = ["//executorch/..."],
)

Expand All @@ -78,7 +78,7 @@ def define_common_targets():
deps = [
":select_ops_in_dict",
],
dtype_selective_build = True,
dtype_selective_build = is_xplat(),
visibility = ["//executorch/..."],
)

Expand Down
3 changes: 1 addition & 2 deletions shim_et/xplat/executorch/codegen/codegen.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -644,8 +644,7 @@ def executorch_generated_lib(

if dtype_selective_build:
if not expose_operator_symbols and not is_xplat():
# TODO(T225169282): make this a fail once internal cases move to xplat.
warning("""
fail("""
Dtype selective build with expose_operator_symbols=False works only in xplat -
there are undefined symbols otherwise. Please try to use xplat, or talk to the
executorch team. Setting expose_operator_symbols=True is not recommended as the
Expand Down
Loading