Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts/build-android-armv7.sh fails with NDK 21 #6246

Closed
fbarchard opened this issue Apr 1, 2024 · 0 comments · May be fixed by #6248
Closed

scripts/build-android-armv7.sh fails with NDK 21 #6246

fbarchard opened this issue Apr 1, 2024 · 0 comments · May be fixed by #6248

Comments

@fbarchard
Copy link
Contributor

scripts/build-android-armv7.sh

/usr/local/google/home/fbarchard/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=armv7-none-linux-androideabi16 --gcc-toolchain=/usr/local/google/home/fbarchard/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64 --sysroot=/usr/local/google/home/fbarchard/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPTHREADPOOL_NO_DEPRECATED_API=1 -DXNN_ENABLE_ARM_BF16=0 -DXNN_ENABLE_ARM_DOTPROD=1 -DXNN_ENABLE_ARM_FP16_SCALAR=1 -DXNN_ENABLE_ARM_FP16_VECTOR=1 -DXNN_ENABLE_ARM_I8MM=1 -DXNN_ENABLE_ASSEMBLY=1 -DXNN_ENABLE_AVX512AMX=0 -DXNN_ENABLE_AVXVNNI=0 -DXNN_ENABLE_CPUINFO=1 -DXNN_ENABLE_DWCONV_MULTIPASS=0 -DXNN_ENABLE_GEMM_M_SPECIALIZATION=1 -DXNN_ENABLE_JIT=0 -DXNN_ENABLE_MEMOPT=1 -DXNN_ENABLE_RISCV_VECTOR=1 -DXNN_ENABLE_SPARSE=1 -DXNN_ENABLE_VSX=1 -I/usr/local/google/home/fbarchard/git/XNNPACK/src -I/usr/local/google/home/fbarchard/git/XNNPACK/build/android/armeabi-v7a/pthreadpool-source/include -I/usr/local/google/home/fbarchard/git/XNNPACK/build/android/armeabi-v7a/FXdiv-source/include -I/usr/local/google/home/fbarchard/git/XNNPACK/build/android/armeabi-v7a/FP16-source/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -Oz -DNDEBUG -std=c99 -fPIC -O2 -pthread -fno-math-errno -marm -march=armv8.2-a+i8mm+fp16 -mfpu=neon-fp-armv8 -MD -MT CMakeFiles/microkernels-all.dir/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x8c8-minmax-neoni8mm.c.o -MF CMakeFiles/microkernels-all.dir/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x8c8-minmax-neoni8mm.c.o.d -o CMakeFiles/microkernels-all.dir/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x8c8-minmax-neoni8mm.c.o -c /usr/local/google/home/fbarchard/git/XNNPACK/src/qd8-f16-qc8w-gemm/gen/qd8-f16-qc8w-gemm-7x8c8-minmax-neoni8mm.c
clang: error: the clang compiler does not support '-march=armv8.2-a+i8mm+fp16'
ninja: build stopped: subcommand failed.

copybara-service bot pushed a commit that referenced this issue Apr 1, 2024
Fixes #6246

PiperOrigin-RevId: 620927744
copybara-service bot pushed a commit that referenced this issue Apr 2, 2024
Fixes #6246

PiperOrigin-RevId: 620927744
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant