[all-commits] [llvm/llvm-project] 3024b1: [mlir][Python] Check numpy in Python bindings conf...

zhanghb97 via All-commits all-commits at lists.llvm.org
Tue Dec 1 17:34:19 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3024b1efde6097779d86277131e2de60086f637b
      https://github.com/llvm/llvm-project/commit/3024b1efde6097779d86277131e2de60086f637b
  Author: zhanghb97 <hongbin2019 at iscas.ac.cn>
  Date:   2020-12-02 (Wed, 02 Dec 2020)

  Changed paths:
    M mlir/CMakeLists.txt

  Log Message:
  -----------
  [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




More information about the All-commits mailing list