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 D92276
[mlir][Python] Check numpy in Python bindings configuration. zhanghb97 on Nov 29 2020, 1:58 AM. Authored by
Details The test process of the ir_array_attributes.py depends on numpy. This patch checks numpy in Python bindings configuration.
Diff Detail
Unit Tests Event Timeline
Comment Actions Check numpy in find_package by adding OPTIONAL_COMPONENTS NumPy.
|
Numpy can just be one of the COMPONENTS here I believe?