robotology / gym-ignition

Framework for developing OpenAI Gym robotics environments simulated with Ignition Gazebo
https://robotology.github.io/gym-ignition
GNU Lesser General Public License v3.0
227 stars 26 forks source link

Do not overwrite default linker flags so that LDFLAGS environment variable is considered #330

Closed traversaro closed 3 years ago

traversaro commented 3 years ago

If one wants to specify additional linked flags, those should be appended to CMAKE_SHARED_LINKER_FLAGS, not overwrite it as this would lead to the LDFLAGS environment variable to be ignored, leading to linking errors in some environments (for example conda).

For more details see:

diegoferigo commented 3 years ago

Thanks @traversaro for propagating this fix to all our repositories, I'm the responsible of these linker tweaks that got spread around in the past few years :smiling_imp:

Let's ignore the Website pipeline fail triggered by the push event, what's matters is the one triggered by the pull event, that succeeds. Unfortunately there's no way for push events to know against which channel (stable / nightly) to get tested, and we default with nightly (because with our development cycle it's more common). In any case, these failings happen when stable and nightly channel support different Ignition distributions like right now, and this happens quite rarely.