commit | dcc2d2eb8da11f31394d36f64552c7d0dadb128e | [log] [tgz] |
---|---|---|
author | zhanghb97 <hongbin2019@iscas.ac.cn> | Sun Nov 29 17:37:36 2020 +0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Dec 08 19:16:01 2020 -0800 |
tree | 734d1c95fe12a2a2483fb32f66f3f59ddc69e074 | |
parent | 60d8bb10d71357b47a03b1ad021e1288efec988f [diff] |
[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
See https://mlir.llvm.org/ for more information.