Skip to content

Commit 8219d2e

Browse files
committed
added missing flag
1 parent 9bca355 commit 8219d2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/build_apple_frameworks.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ for arg in "$@"; do
127127
--portable) PORTABLE=ON ;;
128128
--quantized) QUANTIZED=ON ;;
129129
--xnnpack) XNNPACK=ON ;;
130+
--torchao) TORCHAO=ON ;;
130131
*)
131132
if [[ -z "$SOURCE_ROOT_DIR" ]]; then
132133
SOURCE_ROOT_DIR="$arg"
@@ -282,6 +283,7 @@ for mode in "${MODES[@]}"; do
282283
append_framework_flag "$OPTIMIZED" "$FRAMEWORK_KERNELS_OPTIMIZED" "$mode"
283284
append_framework_flag "$PORTABLE" "$FRAMEWORK_KERNELS_PORTABLE" "$mode"
284285
append_framework_flag "$QUANTIZED" "$FRAMEWORK_KERNELS_QUANTIZED" "$mode"
286+
append_framework_flag "$TORCHAO" "$FRAMEWORK_KERNELS_TORCHAO" "$mode"
285287

286288
"$SOURCE_ROOT_DIR"/scripts/create_frameworks.sh "${FRAMEWORK_FLAGS[@]}"
287289
done

0 commit comments

Comments
 (0)