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

[ignition-cmake0, ignition-math4] Add support for writing ports of Ignition Robotics libraries 🤖 #7781

Merged
merged 3 commits into from
Sep 3, 2019

Conversation

traversaro
Copy link
Contributor

@traversaro traversaro commented Aug 20, 2019

The Ignition Robotics Libraries ( https://ignitionrobotics.org ) are a set of libraries that are used to develop robotics applications. In particular, they are dependencies for the widely used Gazebo simulator ( http://gazebosim.org ).

In this PR, three ports are added:

As most ignition libraries follow the same structure and convention, the use of ignition-modularscript reduces the process of writing a port of an ignition library to a few lines, unless the library has some particular features, for which custom lines can be added to the portfile.

One interesting feature of the ignition libraries is that they different major version of the same library can be installed side-by-side in the same system. For this reason, it is quite natural to create a port for each major supported version, to enable user and downstream project to autonomously select which major version of the library they need. This is the reason why, as a first example of ports, Ignition CMake 0 and Ignition Math 4 are added even if more recent version have been released as well, as they are the version used as dependencies for the latest stable version of the Gazebo robotic simulator.

@traversaro
Copy link
Contributor Author

Related downstream issue: j-rivero/vcpkg_ignition#2 .
cc @seanyen @j-rivero

@traversaro traversaro force-pushed the addIgnition branch 3 times, most recently from b647aeb to 5c41ae2 Compare August 20, 2019 13:54
Modeled after the qt5-modularscript port, this port just contain
ignition_modular_library, an helper CMake function to simplify the
process of writing port of C++ libraries developed by the Ignition
Robotics project ( https://ignitionrobotics.org ).
@traversaro
Copy link
Contributor Author

The ports now compile fine in all the triplets tested by the CI system. Two patches were necessary to permit compilation on arm-windows and arm64-windows, they have been already submitted upstream and included as patches in the ignition-cmake0 port:

@vicroms
Copy link
Member

vicroms commented Sep 3, 2019

Thanks for the PR!

@vicroms vicroms merged commit 75a2b65 into microsoft:master Sep 3, 2019
@vicroms vicroms changed the title Add support for writing ports of Ignition Robotics libraries and ports for ignition-cmake0 and ignition-math4 [ignition-cmake0, ignition-math4] Add support for writing ports of Ignition Robotics libraries Sep 3, 2019
@vicroms vicroms changed the title [ignition-cmake0, ignition-math4] Add support for writing ports of Ignition Robotics libraries [ignition-cmake0, ignition-math4] Add support for writing ports of Ignition Robotics libraries 🤖 Sep 3, 2019
@traversaro
Copy link
Contributor Author

traversaro commented Sep 4, 2019

Thanks @vicroms ! Just to understand, I now need to add 🤖 to the title of any robotics-related PR? 😄

@vicroms
Copy link
Member

vicroms commented Sep 4, 2019

The suggested format for titles is "[ports] description" but I thought that the 🤖 would be a nice touch 🤣

@j-rivero
Copy link

j-rivero commented Sep 5, 2019

Related downstream issue: j-rivero/vcpkg_ignition#2 .
cc @seanyen @j-rivero

wow! thanks Silvio!

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.

4 participants