Replies: 2 comments 1 reply
-
When trying to build the latest version in my fork, the build failed after 1.5 hours on a random segfault when installing Python 3.11 build dependencies (while no error was raised for Python 3.9 build). This code was unchanged and the failure is probably caused by a known QEMU issue tonistiigi/binfmt#215 and the original repo would be affected too. As I don't have the nerves trying to fix it and wait another bunch of hours, I took a more radical approach and adjusted the workflow to run on native ARM64 builder, this is in branch |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestions. I have implemented these changes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I proposed bump of the Hailo library in #17094, I was unable to open a PR for the update of the wheels and userspace binaries because the repository used for their build is a fork with downstream patches rebased on top of the upstream
master
branch every time there's a need for a new build. This makes it hard/impossible to accept pull request from third parties and makes the history hard to track, as the old releases exist only as tags with detached history.A better solution would be to keep only the reference to the upstream code used for the build through a submodule. Updating to newer versions can be then easily achieved by bumping the submodule reference and creating the release from the head of the branch, persisting linear history with future changes. Eventually, an automation (e.g. Dependabot) could be also implemented to sync on new upstream releases, which would be also clumsy with the current approach.
I implemented this in the
submodule-build
branch of my fork (which also contains a minor change to use all cores for build, but otherwise it's equivalent to the old build workflow). As the solution is based on an orphan branch, it's not possible to submit it as a PR, and issues are closed in that repo too, hence this discussion thread. If this proposal is accepted, pushing my branch tofrigate-nvr/hailort
(and ideally setting it as the default branch of the repo) is the way forward.Beta Was this translation helpful? Give feedback.
All reactions