YosysHQ / oss-cad-suite-build

Multi-platform nightly builds of open source digital design and verification tools
ISC License
774 stars 70 forks source link

Include Python headers for building wheels while installing packages if necessary #37

Closed abhishek-kakkar closed 2 years ago

abhishek-kakkar commented 2 years ago

If a user wants to install Python libraries that require building wheels (or compilation of any kind), the install fails as it requires Python headers, which are not bundled in the build (or might be getting stripped in the packaging process).

For example, I was trying to update cocotb in the installed Python distribution, and it failed to locate while building its wheels. I had to manually download the Python 3.8 headers and add in the correct location to get it to build.

mmicko commented 2 years ago

This is now changed in build scripts, so there will be python3 headers available in release from next build.