Recent update of xnnpack broke compilation of TensorFlow Lite
Hi @Teledhil 

Can you please try with the latest master pull and see if the issue still persists?

I see commit https://github.com/google/XNNPACK/commit/ae2875cb2538b00f11564c5cbf649249caf510f1 in GEMM microkernels which might be a related to the issue.

Thanks.  Hi @pjpratik 

I tried again to do the build, this time with 5d18993f81c9990a35dce7c34ad233ad14c29591 and the same happens.

Manually updating the version of **cpuinfo** downloaded by `tensorflow/lite/tools/cmake/modules/cpuinfo.cmake` from `3dc310302210c1891ffcfb12ae67b11a3ad3a150` to a newer version that knows about `cpuinfo_uarch_cortex_a715` and `cpuinfo_uarch_cortex_x3`, like `959002f82d7962a473d8bf301845f2af720e0aa4` fixes the issue I have. @Teledhil Thanks for the information.

@pkgoogle Could you please look into this issue?

Thanks. Hi @Teledhil, I was able to build at HEAD on master doing:

```
PYTHON=python3 tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh native
```

can you try on master or nightly, update and try again and let me know how it goes? Hi @pkgoogle @pjpratik 

I tried again with HEAD (9af1d271c240e22d20196cbc3a0c993450b35d4e) and still the same error. I followed this steps:
```bash
git clone https://github.com/tensorflow/tensorflow.git tensorflow_src
cd tensorflow_src
PYTHON=python3 BUILD_NUM_JOBS=4 tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh native 2>&1 | tee build_9af1d271c240e22d20196cbc3a0c993450b35d4e.log
```

I added `BUILD_NUM_JOBS=4` because I'm building tensorflow with a Raspberry Pi 4 with 8 GB of ram and otherwise it will run out of memory.

I'm attaching the build log: [build_9af1d271c240e22d20196cbc3a0c993450b35d4e.log](https://github.com/tensorflow/tensorflow/files/12437977/build_9af1d271c240e22d20196cbc3a0c993450b35d4e.log)

I also tried to build HEAD, updating the version of **cpuinfo**. I replaced the version downloaded by `tensorflow/lite/tools/cmake/modules/cpuinfo.cmake` from `3dc310302210c1891ffcfb12ae67b11a3ad3a150` to a newer version (`959002f82d7962a473d8bf301845f2af720e0aa4`) that knows about `cpuinfo_uarch_cortex_a715` and `cpuinfo_uarch_cortex_x3`, and the build was successful.

I followed this steps:
```bash
git clone https://github.com/tensorflow/tensorflow.git tensorflow_src
cd tensorflow_src
sed -i -e 's/3dc310302210c1891ffcfb12ae67b11a3ad3a150/959002f82d7962a473d8bf301845f2af720e0aa4/g' tensorflow/lite/tools/cmake/modules/cpuinfo.cmake
PYTHON=python3 BUILD_NUM_JOBS=4 tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh native 2>&1 | tee build_9af1d271c240e22d20196cbc3a0c993450b35d4e_cpuinfo_updated.log
```

I'm attaching the build log: [build_9af1d271c240e22d20196cbc3a0c993450b35d4e_cpuinfo_updated.log](https://github.com/tensorflow/tensorflow/files/12438303/build_9af1d271c240e22d20196cbc3a0c993450b35d4e_cpuinfo_updated.log)


 @Teledhil Thank you for investigating! The issue should be fixed as of f4b266951aec468c4ee0a3ffe6d4e65742699261 @Maratyszcza Thanks!, @Teledhil please let us know if the issue is fixed, thanks. It works!! 🎉

Thank you for your help! Hi @Teledhil, awesome, if there are no more open items for this issue, please close as completed. Thanks! Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61678">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61678">No</a>

### Issue type

Build/Install

### Have you reproduced the bug with TensorFlow Nightly?

Didn't tried

### Source

source

### TensorFlow version

7701a45e3893bbf8c451f6437d039172db89d548

### Custom code

No

### OS platform and distribution

Raspberry Pi 4, Raspbian 

### Mobile device

_No response_

### Python version

3.9

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

Raspberry Pi 4

### Current behavior?

Updating **xnnpack** in https://github.com/tensorflow/tensorflow/commit/7701a45e3893bbf8c451f6437d039172db89d548 broke the compilation with this error:

```
/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/xnnpack/src/configs/gemm-config.c: In function ‘init_f16_gemm_config’:
gmake[3]: Entering directory '/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build'
cd /home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build && /home/pi/.local/pipx/venvs/cmake/lib/python3.9/site-packages/cmake/data/bin/cmake -E cmake_depends "Unix Makefiles" /home/pi/src/tensorflow_src/tensorflow/lite /home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings /home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build /home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/_deps/abseil-cpp-build/absl/strings /home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/_deps/abseil-cpp-build/absl/strings/CMakeFiles/absl_cordz_handle.dir/DependInfo.cmake --color=
/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/xnnpack/src/configs/gemm-config.c:159:18: error: ‘cpuinfo_uarch_cortex_a715’ undeclared (first use in this function); did you mean ‘cpuinfo_uarch_cortex_a710’?
  159 |             case cpuinfo_uarch_cortex_a715:
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                  cpuinfo_uarch_cortex_a710
/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/xnnpack/src/configs/gemm-config.c:159:18: note: each undeclared identifier is reported only once for each function it appears in
gmake[3]: Entering directory '/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build'
/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/xnnpack/src/configs/gemm-config.c:162:18: error: ‘cpuinfo_uarch_cortex_x3’ undeclared (first use in this function); did you mean ‘cpuinfo_uarch_cortex_x2’?
  162 |             case cpuinfo_uarch_cortex_x3:
      |                  ^~~~~~~~~~~~~~~~~~~~~~~
      |                  cpuinfo_uarch_cortex_x2
gmake[3]: Leaving directory '/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build'
/usr/bin/gmake  -f _deps/abseil-cpp-build/absl/flags/CMakeFiles/absl_flags_program_name.dir/build.make _deps/abseil-cpp-build/absl/flags/CMakeFiles/absl_flags_program_name.dir/build
```

The version of **cpuinfo** downloaded in `tensorflow/lite/tools/cmake/modules/cpuinfo.cmake` doesn't include `cpuinfo_uarch_cortex_a715` or `cpuinfo_uarch_cortex_x3`

### Standalone code to reproduce the issue

```shell
Follow steps from https://www.tensorflow.org/lite/guide/build_cmake_pip
```


### Relevant log output

```shell
/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/xnnpack/src/configs/gemm-config.c: In function ‘init_f16_gemm_config’:
gmake[3]: Entering directory '/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build'
cd /home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build && /home/pi/.local/pipx/venvs/cmake/lib/python3.9/site-packages/cmake/data/bin/cmake -E cmake_depends "Unix Makefiles" /home/pi/src/tensorflow_src/tensorflow/lite /home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings /home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build /home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/_deps/abseil-cpp-build/absl/strings /home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/_deps/abseil-cpp-build/absl/strings/CMakeFiles/absl_cordz_handle.dir/DependInfo.cmake --color=
/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/xnnpack/src/configs/gemm-config.c:159:18: error: ‘cpuinfo_uarch_cortex_a715’ undeclared (first use in this function); did you mean ‘cpuinfo_uarch_cortex_a710’?
  159 |             case cpuinfo_uarch_cortex_a715:
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                  cpuinfo_uarch_cortex_a710
/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/xnnpack/src/configs/gemm-config.c:159:18: note: each undeclared identifier is reported only once for each function it appears in
gmake[3]: Entering directory '/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build'
/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/xnnpack/src/configs/gemm-config.c:162:18: error: ‘cpuinfo_uarch_cortex_x3’ undeclared (first use in this function); did you mean ‘cpuinfo_uarch_cortex_x2’?
  162 |             case cpuinfo_uarch_cortex_x3:
      |                  ^~~~~~~~~~~~~~~~~~~~~~~
      |                  cpuinfo_uarch_cortex_x2
gmake[3]: Leaving directory '/home/pi/src/tensorflow_src/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build'
/usr/bin/gmake  -f _deps/abseil-cpp-build/absl/flags/CMakeFiles/absl_flags_program_name.dir/build.make _deps/abseil-cpp-build/absl/flags/CMakeFiles/absl_flags_program_name.dir/build
```
