Disable xnn_enable_avxvnniint8 for Android.

This is only supported on the very latest compilers at the moment.

PiperOrigin-RevId: 676469843
This commit is contained in:
Vladimir Belitskiy 2024-09-19 10:28:41 -07:00 committed by TensorFlower Gardener
parent d8f20aebe7
commit 9b4fae4332
3 changed files with 6 additions and 0 deletions

View File

@ -150,6 +150,8 @@ build:android_x86_64 --fat_apk_cpu=x86_64
# Build everything statically for Android since all static libs are later
# bundled together into a single .so for deployment.
build:android --dynamic_mode=off
# TODO(belitskiy): Remove once on Clang 20.
build:android --define=xnn_enable_avxvnniint8=false
# Sets the default Apple platform to macOS.
build:macos --apple_platform_type=macos

View File

@ -150,6 +150,8 @@ build:android_x86_64 --fat_apk_cpu=x86_64
# Build everything statically for Android since all static libs are later
# bundled together into a single .so for deployment.
build:android --dynamic_mode=off
# TODO(belitskiy): Remove once on Clang 20.
build:android --define=xnn_enable_avxvnniint8=false
# Sets the default Apple platform to macOS.
build:macos --apple_platform_type=macos

View File

@ -150,6 +150,8 @@ build:android_x86_64 --fat_apk_cpu=x86_64
# Build everything statically for Android since all static libs are later
# bundled together into a single .so for deployment.
build:android --dynamic_mode=off
# TODO(belitskiy): Remove once on Clang 20.
build:android --define=xnn_enable_avxvnniint8=false
# Sets the default Apple platform to macOS.
build:macos --apple_platform_type=macos