Open SPKorhonen opened 1 year ago
I have an overlay for numpy: https://github.com/Neumann-A/my-vcpkg-ports/tree/master/numpy but you also need an overlay for boost pulling in it.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
Is your feature request related to a problem? Please describe.
Currently boost-python build process pulls the numpy required to build boost-python the wrappers for numpy from external python installation which could incompatibilities.
Proposed solution
One could add a feature "numpy" to boost-python which would use the vcpkg installed python to install pip via ensurepip and subsequently to install numpy via pip which can then be used to build boost-python.
By default we could install either latest version of numpy or a specific hard-coded version. There could also be an environmental variable like VCPKG_NUMPY_VERSION which can be used to specify the desired version.
I have implemented this in a fork of vcpkg and could submit a PR.
Describe alternatives you've considered
The current work-around is to keep a compatible version of python and numpy so that the jam build system finds the required numpy installation from external source outside of vcpkg.
Additional context
No response