driplineorg / dripline-python

python implementation of project8/dripline
Apache License 2.0
3 stars 6 forks source link

arm7 build takes 4+ hours #156

Closed nsoblath closed 6 months ago

nsoblath commented 7 months ago

For some reason the arm7 build takes 4+ hours, while the arm64 and amd64 builds take ~1 min. The attached screenshots show the duration of time used for the pip install stage of the builds for amd64 and arm7.

amd64 build screenshot arm7 build screenshot

nsoblath commented 6 months ago

I added the verbose flag to the pip install, and found out that it's getting delayed by building a cmake wheel. Pip does not have a pre-built CMake for the arm/v7 architecture (at any version, as far as I saw on pypi.org). CMake should already be on the system, though, just not available via pip. Maybe there's a way to use that version of CMake instead of requiring an installation with a wheel.

nsoblath commented 6 months ago

This is addressed in v4.7.0 by removing CMake as a python dependency. If a way can be found to make pip recognize a system (non-pip) installation of CMake, this could be reinstated.