ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
3

What is the purpose of the architecture_independent tag?

asked 2015-10-29 19:32:00 -0500

Jim Rothrock gravatar image

updated 2018-07-16 22:03:09 -0500

130s gravatar image

I've read the description in REP 140, but I'm still not clear about the meaning of architecture_independent My interpretation was that the package contains no files that require a particular CPU architecture. An example of a non-architecture-independent package would be one that contains C++ source code that accesses data in a manner that requires a little-endian CPU architecture. Since none of my C++ code is that architecture-specific, I've been specifying architecture_independent in my package.xml files. After reading some discussions about architecture_independent, though, I now suspect that it means "This package generates no architecture-specific object files at build time." I'd be grateful if someone can provide clarification.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-10-29 19:49:15 -0500

tfoote gravatar image

The tag refers to the built packages. This is used for optimization at packaging time.

Any package with c++ cannot be marked as architecture independent.

I opened a PR with more specifics for the description: https://github.com/ros-infrastructure...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-10-29 19:32:00 -0500

Seen: 337 times

Last updated: Jul 16 '18