[mlir][Python] Check numpy in Python bindings configuration.

The test process of the ir_array_attributes.py depends on numpy. This patch checks numpy in Python bindings configuration.
- Add NumPy in find_package as a required component to check numpy.
- If numpy is found, print the version and include directory.

Differential Revision: https://reviews.llvm.org/D92276

GitOrigin-RevId: 3024b1efde6097779d86277131e2de60086f637b
1 file changed
tree: 734d1c95fe12a2a2483fb32f66f3f59ddc69e074
  1. cmake/
  2. docs/
  3. examples/
  4. include/
  5. integration_test/
  6. lib/
  7. test/
  8. tools/
  9. unittests/
  10. utils/
  11. .clang-format
  12. .clang-tidy
  13. CMakeLists.txt
  14. LICENSE.TXT
  15. README.md
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.