-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SWPROT-8953: build: Improve detection/setup of foreign arch like armhf #14
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rzr
added a commit
that referenced
this pull request
Jan 31, 2025
It was tested on github, the alternative would not to support arm images provided by github. For the record, native build on arm64 takes up to 5h on github. Relate-to: https://medium.com/swlh/using-github-actions-to-build-arm-based-docker-images-413a8d498ee Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr
added a commit
that referenced
this pull request
Jan 31, 2025
It was tested on github, the alternative would not to support arm images provided by github. For the record, native build on arm64 takes up to 5h on github. Relate-to: https://medium.com/swlh/using-github-actions-to-build-arm-based-docker-images-413a8d498ee Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr
added a commit
that referenced
this pull request
Jan 31, 2025
For some reason it was not buidling despite the tricks in helper script. Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr
added a commit
that referenced
this pull request
Jan 31, 2025
For some reason it was not buidling despite the tricks in helper script. Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr
added a commit
that referenced
this pull request
Jan 31, 2025
It was tested on github, the alternative would not to support arm images provided by github. For the record, native build on arm64 takes up to 5h on github. Relate-to: https://medium.com/swlh/using-github-actions-to-build-arm-based-docker-images-413a8d498ee Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr
added a commit
that referenced
this pull request
Jan 31, 2025
For some reason it was not buidling despite the tricks in helper script. Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr
added a commit
that referenced
this pull request
Feb 1, 2025
For some reason armhf is not buidling despite the tricks in helper script: [5/1594] Running: cargo build target unify_build error: failed to determine package fingerprint for build script for unify_attribute_poll v0.1.0 (/.../unifysdk-src/components/unify_attribute_poll) Could be related to symlinks: rust-lang/cargo#9881 Amazingly no problems observed on arm64 (with same rustup versions) Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr
added a commit
that referenced
this pull request
Feb 1, 2025
For some reason armhf is not buidling despite the tricks in helper script: [5/1594] Running: cargo build target unify_build error: failed to determine package fingerprint for build script for unify_attribute_poll v0.1.0 (/.../unifysdk-src/components/unify_attribute_poll) Could be related to symlinks: rust-lang/cargo#9881 Amazingly no problems observed on arm64 (with same rustup versions) Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
32a94dd
to
8f8cb40
Compare
rzr
added a commit
that referenced
this pull request
Feb 1, 2025
For some reason armhf is not buidling despite the tricks in helper script: [5/1594] Running: cargo build target unify_build error: failed to determine package fingerprint for build script for unify_attribute_poll v0.1.0 (/.../unifysdk-src/components/unify_attribute_poll) (...) "Value too large for defined data type; class=Os (2)" Amazingly no problems observed on arm64 (with same rustup versions) Not only on github because ot is reproducable locally. Not sure problem is related to symlinks, issues to track at qemu, glibc, linux ext4... Relate-to: https://gitlab.com/qemu-project/qemu/-/issues/263 Relate-to: https://bugzilla.kernel.org/show_bug.cgi?id=205957 Relate-to: https://sourceware.org/bugzilla/show_bug.cgi?id=23960 Relate-to: https://sourceware.org/bugzilla/show_bug.cgi?id=23960 Relate-to: https://bugs.launchpad.net/qemu/+bug/1805913 Relate-to: rust-lang/cargo#8719 Relate-to: rust-lang/cargo#9881 Relate-to: rust-lang/cargo#9545 (comment) Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr
added a commit
that referenced
this pull request
Feb 6, 2025
It was tested on github, the alternative would not to support arm images provided by github. For the record, native build on arm64 takes up to 5h on github. Relate-to: https://medium.com/swlh/using-github-actions-to-build-arm-based-docker-images-413a8d498ee Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr
added a commit
that referenced
this pull request
Feb 6, 2025
For some reason it was not buidling despite the tricks in helper script. Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
It was tested on github, the alternative would not to support arm images provided by github. For the record, native build on arm64 takes up to 5h on github. Relate-to: https://medium.com/swlh/using-github-actions-to-build-arm-based-docker-images-413a8d498ee Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
For some reason it was not buidling despite the tricks in helper script. Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
silabs-aydogane
approved these changes
Feb 6, 2025
rzr
added a commit
that referenced
this pull request
Feb 6, 2025
It was tested on github, the alternative would not to support arm images provided by github. For the record, native build on arm64 takes up to 5h on github. Relate-to: https://medium.com/swlh/using-github-actions-to-build-arm-based-docker-images-413a8d498ee Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr
added a commit
that referenced
this pull request
Feb 6, 2025
For some reason armhf is not buidling despite the tricks in helper script: [5/1594] Running: cargo build target unify_build error: failed to determine package fingerprint for build script for unify_attribute_poll v0.1.0 (/.../unifysdk-src/components/unify_attribute_poll) (...) "Value too large for defined data type; class=Os (2)" Amazingly no problems observed on arm64 (with same rustup versions) Not only on github because ot is reproducable locally. Not sure problem is related to symlinks, issues to track at qemu, glibc, linux ext4... Relate-to: https://gitlab.com/qemu-project/qemu/-/issues/263 Relate-to: https://bugzilla.kernel.org/show_bug.cgi?id=205957 Relate-to: https://sourceware.org/bugzilla/show_bug.cgi?id=23960 Relate-to: https://sourceware.org/bugzilla/show_bug.cgi?id=23960 Relate-to: https://bugs.launchpad.net/qemu/+bug/1805913 Relate-to: rust-lang/cargo#8719 Relate-to: rust-lang/cargo#9881 Relate-to: rust-lang/cargo#9545 (comment) Origin: #14 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It was tested on github, the alternative would not to support arm images provided by github.
For the record, native build on arm64 takes up to 5h on github.
Relate-to: https://medium.com/swlh/using-github-actions-to-build-arm-based-docker-images-413a8d498ee
Change
Checklist