m4/nut_check_python.m4: allow overriding of PYTHON{2,3}_SITE_PACKAGES#2147
Conversation
Allow the end-user to override PYTHON{2,3}_SITE_PACKAGES as this can be
useful when cross-compiling
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
Thanks, seems reasonable :) Let's see how CI likes it. Eventually, it would be great to also get a PR for updates to docs/config-prereqs.txt and/or docs/ci-farm-lxc-setup.txt about setting up a worker for cross-build scenarios in the NUT CI farm. So far there are very occasional (manually triggered) runs in whole containers running under qemu for this or that platform - which is prohibitively slow to be done regularly, and sometimes blows up with unimplemented CPU instructions etc. If there could be some mix, e.g. using a native (amd64) gcc or clang binary with appropriate resource file trees to produce ARM etc. binaries, and only use qemu-static to actually run them for |
Allow the end-user to override
PYTHON{2,3}_SITE_PACKAGESas this can be useful when cross-compiling