diff options
author | Bastien Montagne <bastien@blender.org> | 2020-12-07 17:28:24 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-12-14 13:00:28 +0300 |
commit | 5d570c875eda8fb9aa3635f7f4edac0dc1eaedc8 (patch) | |
tree | c25cf569dd78fcacab71fc1fea1d1eed11bad276 /.github/stale.yml | |
parent | 53ed96641c60531e2ece17230879088df899f8a5 (diff) |
Fix several issues with handling of numpy in CMake.
Issues were:
* Abusing of `WITH_PYTHON_INSTALL_NUMPY` by both Audaspace and
Mantaflow.
- `PYTHON_INSTALL` options only decide whether we copy python (and
some extra modules) in our Blender installation. On linux it
makes much more sense to use global python installation.
- Now we have instead a proper `WITH_PYTHON_NUMPY`
* Bad assumptions regarding path of headers relative to path of python
module.
- In current Debian testing, modules are under `python3.9`
directory, while headers are under `python3` directory.
- Now we properly `find_path` for headers as well, modifying
`find_python_package` to take an optional argument for headers.
Note that the required changes done to `extern` libraries are in
blender-specific files that do not exist upstream.
Differential Revision: https://developer.blender.org/D9773
Diffstat (limited to '.github/stale.yml')
0 files changed, 0 insertions, 0 deletions