Skip to content

Commit f00fce9

Browse files
authored
Retire kernels_portable framework in favor of kernels_optimized
1 parent 14c3b31 commit f00fce9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

scripts/build_apple_frameworks.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ liboptimized_native_cpu_ops_lib.a,\
6565
libportable_kernels.a,\
6666
:"
6767

68-
FRAMEWORK_KERNELS_PORTABLE="kernels_portable:\
69-
libportable_kernels.a,\
70-
libportable_ops_lib.a,\
71-
:"
72-
7368
FRAMEWORK_KERNELS_QUANTIZED="kernels_quantized:\
7469
libquantized_kernels.a,\
7570
libquantized_ops_lib.a,\
@@ -86,7 +81,6 @@ usage() {
8681
echo " --custom Only build the Custom kernels."
8782
echo " --mps Only build the Metal Performance Shaders backend."
8883
echo " --optimized Only build the Optimized kernels."
89-
echo " --portable Only build the Portable kernels."
9084
echo " --quantized Only build the Quantized kernels."
9185
echo " --xnnpack Only build the XNNPACK backend."
9286
echo
@@ -104,7 +98,6 @@ set_cmake_options_override() {
10498
"-DEXECUTORCH_BUILD_KERNELS_CUSTOM=OFF"
10599
"-DEXECUTORCH_BUILD_MPS=OFF"
106100
"-DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=OFF"
107-
"-DEXECUTORCH_BUILD_PORTABLE_OPS=OFF"
108101
"-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=OFF"
109102
"-DEXECUTORCH_BUILD_XNNPACK=OFF"
110103
)
@@ -135,7 +128,6 @@ for arg in "$@"; do
135128
--custom) set_cmake_options_override "EXECUTORCH_BUILD_KERNELS_CUSTOM" ;;
136129
--mps) set_cmake_options_override "EXECUTORCH_BUILD_MPS" ;;
137130
--optimized) set_cmake_options_override "EXECUTORCH_BUILD_KERNELS_OPTIMIZED" ;;
138-
--portable) set_cmake_options_override "EXECUTORCH_BUILD_PORTABLE_OPS" ;;
139131
--quantized) set_cmake_options_override "EXECUTORCH_BUILD_KERNELS_QUANTIZED" ;;
140132
--xnnpack) set_cmake_options_override "EXECUTORCH_BUILD_XNNPACK" ;;
141133
*)
@@ -240,7 +232,6 @@ for mode in "${MODES[@]}"; do
240232
append_framework_flag "EXECUTORCH_BUILD_XNNPACK" "$FRAMEWORK_BACKEND_XNNPACK" "$mode"
241233
append_framework_flag "EXECUTORCH_BUILD_KERNELS_CUSTOM" "$FRAMEWORK_KERNELS_CUSTOM" "$mode"
242234
append_framework_flag "EXECUTORCH_BUILD_KERNELS_OPTIMIZED" "$FRAMEWORK_KERNELS_OPTIMIZED" "$mode"
243-
append_framework_flag "EXECUTORCH_BUILD_PORTABLE_OPS" "$FRAMEWORK_KERNELS_PORTABLE" "$mode"
244235
append_framework_flag "EXECUTORCH_BUILD_KERNELS_QUANTIZED" "$FRAMEWORK_KERNELS_QUANTIZED" "$mode"
245236

246237
cd "${OUTPUT_DIR}"

0 commit comments

Comments
 (0)