@@ -59,6 +59,151 @@ define_overridable_option(
59
59
"Build executorch runtime optimizing for binary size"
60
60
BOOL OFF
61
61
)
62
+ define_overridable_option(
63
+ EXECUTORCH_BUILD_ARM_BAREMETAL
64
+ "Build the Arm Baremetal flow for Cortex-M and Ethos-U"
65
+ BOOL OFF
66
+ )
67
+ define_overridable_option(
68
+ EXECUTORCH_BUILD_KERNELS_CUSTOM
69
+ "Build the custom kernels"
70
+ BOOL OFF
71
+ )
72
+ define_overridable_option(
73
+ EXECUTORCH_BUILD_KERNELS_CUSTOM_AOT
74
+ "Build the custom ops lib for AOT"
75
+ BOOL OFF
76
+ )
77
+ define_overridable_option(
78
+ EXECUTORCH_BUILD_EXTENSION_DATA_LOADER
79
+ "Build the Data Loader extension"
80
+ BOOL OFF
81
+ )
82
+ define_overridable_option(
83
+ EXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR
84
+ "Build the Flat Tensor extension"
85
+ BOOL OFF
86
+ )
87
+ define_overridable_option(
88
+ EXECUTORCH_BUILD_EXTENSION_LLM
89
+ "Build the LLM extension"
90
+ BOOL OFF
91
+ )
92
+ define_overridable_option(
93
+ EXECUTORCH_BUILD_EXTENSION_MODULE
94
+ "Build the Module extension"
95
+ BOOL OFF
96
+ )
97
+ define_overridable_option(
98
+ EXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL
99
+ "Build the Runner Util extension"
100
+ BOOL OFF
101
+ )
102
+ define_overridable_option(
103
+ EXECUTORCH_BUILD_EXTENSION_TENSOR
104
+ "Build the Tensor extension"
105
+ BOOL OFF
106
+ )
107
+ define_overridable_option(
108
+ EXECUTORCH_BUILD_EXTENSION_TRAINING
109
+ "Build the training extension"
110
+ BOOL OFF
111
+ )
112
+ define_overridable_option(
113
+ EXECUTORCH_BUILD_MPS
114
+ "Build the MPS backend"
115
+ BOOL OFF
116
+ )
117
+ define_overridable_option(
118
+ EXECUTORCH_BUILD_NEURON
119
+ "Build the backends/mediatek directory"
120
+ BOOL OFF
121
+ )
122
+ define_overridable_option(
123
+ EXECUTORCH_BUILD_OPENVINO
124
+ "Build the Openvino backend"
125
+ BOOL OFF
126
+ )
127
+ define_overridable_option(
128
+ EXECUTORCH_BUILD_PYBIND
129
+ "Build the Python Bindings"
130
+ BOOL OFF
131
+ )
132
+ define_overridable_option(
133
+ EXECUTORCH_BUILD_QNN
134
+ "Build the Qualcomm backend"
135
+ BOOL OFF
136
+ )
137
+ define_overridable_option(
138
+ EXECUTORCH_BUILD_KERNELS_OPTIMIZED
139
+ "Build the optimized kernels"
140
+ BOOL OFF
141
+ )
142
+ define_overridable_option(
143
+ EXECUTORCH_BUILD_KERNELS_QUANTIZED
144
+ "Build the quantized kernels"
145
+ BOOL OFF
146
+ )
147
+ define_overridable_option(
148
+ EXECUTORCH_BUILD_DEVTOOLS
149
+ "Build the ExecuTorch Developer Tools"
150
+ BOOL OFF
151
+ )
152
+ define_overridable_option(
153
+ EXECUTORCH_BUILD_TESTS
154
+ "Build CMake-based unit tests"
155
+ BOOL OFF
156
+ )
157
+ define_overridable_option(
158
+ EXECUTORCH_NNLIB_OPT
159
+ "Build Cadence backend Hifi nnlib kernel"
160
+ BOOL OFF
161
+ )
162
+ define_overridable_option(
163
+ EXECUTORCH_CADENCE_CPU_RUNNER
164
+ "Build Cadence backend CPU runner"
165
+ BOOL OFF
166
+ )
167
+ define_overridable_option(
168
+ EXECUTORCH_BUILD_SIZE_TEST
169
+ "Build the size test"
170
+ BOOL OFF
171
+ )
172
+ define_overridable_option(
173
+ EXECUTORCH_BUILD_XNNPACK
174
+ "Build the XNNPACK backend"
175
+ BOOL OFF
176
+ )
177
+ define_overridable_option(
178
+ EXECUTORCH_BUILD_VULKAN
179
+ "Build the Vulkan backend"
180
+ BOOL OFF
181
+ )
182
+ define_overridable_option(
183
+ EXECUTORCH_BUILD_PORTABLE_OPS
184
+ "Build portable_ops library"
185
+ BOOL ON
186
+ )
187
+ define_overridable_option(
188
+ EXECUTORCH_USE_DL
189
+ "Use libdl library"
190
+ BOOL ON
191
+ )
192
+ define_overridable_option(
193
+ EXECUTORCH_BUILD_CADENCE
194
+ "Build the Cadence DSP backend"
195
+ BOOL OFF
196
+ )
197
+ define_overridable_option(
198
+ EXECUTORCH_BUILD_CORTEX_M
199
+ "Build the Cortex-M backend"
200
+ BOOL OFF
201
+ )
202
+ define_overridable_option(
203
+ EXECUTORCH_BUILD_GFLAGS
204
+ "Build the gflags library."
205
+ BOOL ON
206
+ )
62
207
63
208
# MARK: - Validations
64
209
# At this point all the options should be configured with their final value.
0 commit comments