-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add arm7l compatability to ROS2 #14
Conversation
@@ -79,6 +79,11 @@ else () | |||
set (MMK_ABI "arm") | |||
set (MMK_BITS 32) | |||
set (MMK_ARCH_ARM 1) | |||
elseif (_ARCH MATCHES "armv7l") |
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.
@rydb why not adding v7l
to the ARM32
regex above?
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.
What do you mean?
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.
@rydb friendly ping
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.
arm7l is a different architecture from arm32, if not explicitly stated as seperate architecture option, it won't be detected as a compatible architecture.
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 may have pinged and not seen your first question. Sorry about that.
Point is, v7l
is a 32 bits ARM processor. So instead of replicating the if clause, consider adding v7l
to the regex in line 26.
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.
@@ -79,6 +79,11 @@ else () | |||
set (MMK_ABI "arm") | |||
set (MMK_BITS 32) | |||
set (MMK_ARCH_ARM 1) | |||
elseif (_ARCH MATCHES "armv7l") |
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.
What do you mean?
@@ -79,6 +79,11 @@ else () | |||
set (MMK_ABI "arm") | |||
set (MMK_BITS 32) | |||
set (MMK_ARCH_ARM 1) | |||
elseif (_ARCH MATCHES "armv7l") |
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.
arm7l is a different architecture from arm32, if not explicitly stated as seperate architecture option, it won't be detected as a compatible architecture.
Superseded by #16. |
I added a patch to ros2/Mimick using Snaipe#17 (comment) 's workaround and after removing Rviz(which breaks due to missing atomic functions from the pi), I was able to successfully compile ros2 for the pi 4.