Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Add arm7l compatability to ROS2 #14

wants to merge 1 commit into from

Conversation

rydb
Copy link

@rydb rydb commented Nov 6, 2020

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.

@@ -79,6 +79,11 @@ else ()
set (MMK_ABI "arm")
set (MMK_BITS 32)
set (MMK_ARCH_ARM 1)
elseif (_ARCH MATCHES "armv7l")
Copy link

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?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rydb friendly ping

Copy link
Author

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.

Copy link

@hidmic hidmic Dec 21, 2020

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.

@clalancette
Copy link

@rydb Friendly ping; can you respond to @hidmic's review comments?

@clalancette clalancette added the more-information-needed Further information is required label Dec 17, 2020
Copy link
Author

@rydb rydb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rydb Friendly ping; can you respond to @hidmic's review comments?

I'm sure I did in the conversation above? Is there something I missed?

@@ -79,6 +79,11 @@ else ()
set (MMK_ABI "arm")
set (MMK_BITS 32)
set (MMK_ARCH_ARM 1)
elseif (_ARCH MATCHES "armv7l")
Copy link
Author

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")
Copy link
Author

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.

@clalancette clalancette removed the more-information-needed Further information is required label Dec 18, 2020
@hidmic
Copy link

hidmic commented Jan 7, 2021

Superseded by #16.

@hidmic hidmic closed this Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants