File tree Expand file tree Collapse file tree
devtools/etdump/data_sinks/tests
examples/models/llama/experimental
extension/kernel_util/test Expand file tree Collapse file tree File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 11load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
2+ load ("@fbsource//tools/build_defs:fbsource_utils.bzl" , "is_fbcode" )
23
34def define_common_targets ():
45 """Define targets for SlimTensor c10 core module."""
56
7+ if not is_fbcode ():
8+ return
9+
610 # Header-only library for DeviceType
711 runtime .cxx_library (
812 name = "device_type" ,
File renamed without changes.
Original file line number Diff line number Diff line change 11load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
2+ load ("@fbsource//tools/build_defs:fbsource_utils.bzl" , "is_fbcode" )
23
34def define_common_targets ():
45 """Define targets for SlimTensor util module."""
56
7+ if not is_fbcode ():
8+ return
9+
610 # Header-only library for SharedPtr
711 runtime .cxx_library (
812 name = "shared_ptr" ,
File renamed without changes.
Original file line number Diff line number Diff line change 11load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
2+ load ("@fbsource//tools/build_defs:fbsource_utils.bzl" , "is_fbcode" )
23
34def define_common_targets ():
45 """Define test targets for SlimTensor util module."""
56
7+ if not is_fbcode ():
8+ return
9+
610 runtime .cxx_test (
711 name = "test_size_util" ,
812 srcs = [
Original file line number Diff line number Diff line change 11load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
2+ load ("@fbsource//tools/build_defs:fbsource_utils.bzl" , "is_fbcode" )
23
34def define_common_targets ():
5+ if not is_fbcode ():
6+ return
7+
48 runtime .python_library (
59 name = "aoti_partitioner" ,
610 srcs = [
File renamed without changes.
Original file line number Diff line number Diff line change 11load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
2+ load ("@fbsource//tools/build_defs:fbsource_utils.bzl" , "is_fbcode" )
23
34def define_common_targets ():
5+ if not is_fbcode ():
6+ return
7+
48 """Defines targets that should be shared between fbcode and xplat.
59 The directory containing this targets.bzl file should also contain both
610 TARGETS and BUCK files that call this function.
711 """
8-
12+
913 runtime .python_library (
1014 name = "partition" ,
1115 srcs = glob ([
You can’t perform that action at this time.
0 commit comments