-
Notifications
You must be signed in to change notification settings - Fork 56
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
build_library: support multi-arch in generate_au_zip #141
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
2 tasks
Replace black list with deny list, white list with allow list.
8669bba
to
0175c1a
Compare
pothos
reviewed
Aug 13, 2021
pothos
approved these changes
Aug 13, 2021
To be able to support arm64 native SDK without cross builds, we should make generate_au_zip support both architectures, amd64 and arm64. Without doing that, `build_image` fails with `ERROR : Required WHITE_LIST items ld-linux-x86-64.so.2 not found!!!`, because the script recognizes only amd64 libs in WHITE_LIST. We should first determine the architecture in build_image, before running generate_au_zip, and pass the architecture, either amd64 or arm64. Also add allow_list and ld_linux parameters to necessary functions.
0175c1a
to
34cb6d3
Compare
CI passed |
krnowak
reviewed
Aug 13, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only spotted some docstring issues.
Fix several docstring issues, so that the docstrings could match with the actual code.
krnowak
approved these changes
Aug 16, 2021
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.
To be able to support arm64 native SDK without cross builds, we should make
generate_au_zip
support both architectures, amd64 and arm64.Without doing that,
build_image
fails withERROR : Required WHITE_LIST items ld-linux-x86-64.so.2 not found!!!
, because the script recognizes only amd64 libs in WHITE_LIST.We should first determine the architecture in build_image, before running
generate_au_zip
, and pass the architecture, either amd64 or arm64.Also add
allow_list
andld_linux
parameters to necessary functions.Replace
black list
withdeny list
,white list
withallow list
.How to use
Testing done
CI passed: http://jenkins.infra.kinvolk.io:8080/job/os/job/manifest/3281/cldsv