[all-commits] [llvm/llvm-project] e7a1dc: [CMake] Remove requirement of NumPy header files (...
Erick Ochoa via All-commits
all-commits at lists.llvm.org
Thu Sep 12 18:16:49 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e7a1dc231ad2c8dcf034585472f311617e24006e
https://github.com/llvm/llvm-project/commit/e7a1dc231ad2c8dcf034585472f311617e24006e
Author: Erick Ochoa <github at ceci-nest-pas.me>
Date: 2024-09-12 (Thu, 12 Sep 2024)
Changed paths:
M mlir/cmake/modules/MLIRDetectPythonEnv.cmake
Log Message:
-----------
[CMake] Remove requirement of NumPy header files (#108465)
NumPy header files were required for building MLIR, however the NumPy
C-API is never used. In other words, NumPy is not a build time
dependency. `numpy`, the python package, is required at runtime for the
python bindings tests. In particular the file
`mlir/python/mlir/runtime/np_to_memref.py` and all tests which may use
it. This commit removes the build time dependency, but the runtime
dependency remains through the `requirements.txt` file.
Co-authored-by: Erick Ochoa <erick at ceci-nest-pas.me>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list