conda-forge / libignition-gazebo-feedstock

A conda-smithy repository for libignition-gazebo.
BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

Do we need to set environment variable `IGNITION_VERSION`? #41

Open wolfv opened 2 years ago

wolfv commented 2 years ago

Solution to issue cannot be found in the documentation.

Issue

In the CMakeLists of "dolly" they check for the env var of IGNITION_VERSION to be set to "fortress" in order to search for ignition-gazebo6.

I was wondering if we should also set that in an activation script? Thoughts?

https://github.com/chapulina/dolly/blob/de9efdf34235d749b9f3b458607d554816304b88/dolly_ignition/CMakeLists.txt#L6-L11

Installed packages

-

Environment info

-
Tobias-Fischer commented 2 years ago

Yes I think I've seen this elsewhere (the ROS ign packages maybe). Good idea!

traversaro commented 2 years ago

In the specific case, IGNITION_VERSION is specified by the CI, see https://github.com/chapulina/dolly/blob/6a9b6d698a38cca092901257ca4343d8b2a40176/.github/workflows/ci.yml#L33 . I would be inclined not to define such a variable, for two main reasons:

However, I would need to check how ros_ign build system works. Perhaps @chapulina herself may have some input on this?

wolfv commented 2 years ago

Actually, i saw that in the released version of this package Gazebo5 is hard coded... sadly