-
Notifications
You must be signed in to change notification settings - Fork 37
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
[#453] Document how to make cross-compilation work with buildroot #502
base: main
Are you sure you want to change the base?
Conversation
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.
Just a couple of nitpicks. You will also need to register an eclipse account and sign the ECA agreement since we are an eclipse project.
Markdown linting might also bite you, but you can run this script to help: ./internal/scripts/check_markdown_linting.sh --fix
Could you also please fill out the PR template and ensure the open items are addressed, e.g. the commit needs to be prefixed with the issue number for traceability: [#453] Document how to make cross-compilation work with buildroot
|
||
7. add the buildroot sysroot on host PC environment: `export BINDGEN_EXTRA_CLANG_ARGS="--sysroot=/to/your/sysroot"` | ||
|
||
8. cd iceoryx2 |
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.
8. cd iceoryx2 | |
8. Change to the iceoryx2 directory | |
```console | |
cd iceoryx2 | |
``` | |
9 ... |
Could you put these instructions in code blocks to make it easier to copy the steps.
|
||
12. make install | ||
|
||
Finally, you can get the arm64 libs, include files in _OUTPUT folder. |
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.
Finally, you can get the arm64 libs, include files in _OUTPUT folder. | |
Finally, you can get the arm64 libs, include files in the `_OUTPUT` folder. |
|
||
1. install the build dependencies on your host PC, like: cmake, g++, clang... | ||
|
||
2. install the `rust` tool: `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh` |
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.
2. install the `rust` tool: `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh` | |
2. install the `rust` toolchain: `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh` |
Notes for Reviewer
Refer to: #453.
Write the steps how to make cross-compilation work with buildroot.
Pre-Review Checklist for the PR Author
Every source code file has a copyright header withSPDX-License-Identifier: Apache-2.0 OR MIT
iox2-123-introduce-posix-ipc-example
)[#123] Add posix ipc example
)Tests follow the best practice for testingtask-list-completed
)Checklist for the PR Reviewer
Unit tests have been written for new behaviorPublic API is documentedPost-review Checklist for the PR Author
References
Closes #453