Skip to content

[21270] Support compilation againt Ubuntu 24.04 swig4.1 - #153

Merged
richiware merged 2 commits into
mainfrom
bugfix/21268
Jul 4, 2024
Merged

[21270] Support compilation againt Ubuntu 24.04 swig4.1#153
richiware merged 2 commits into
mainfrom
bugfix/21268

Conversation

@richiware

@richiware richiware commented Jun 28, 2024

Copy link
Copy Markdown
Member

Description

Due to an error, fastdds_python doesn't compile with current SWIG version (4.2.0) on Ubuntu 24.04. The fix is in swig 4.2.1 but it's not accessible in ubuntu noble. This ubuntu also contains the package swig4.1 but CMake is not prepare to find its executable. This PR fixes this using a trick.

Related to:

Contributor Checklist

  • Commit messages follow the project guidelines.
  • N/A Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
  • Changes are API compatible.
  • N/A Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • The title and description correctly express the PR's purpose.
  • Check contributor checklist is correct.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

@richiware richiware changed the title Support compilation againt Ubuntu 24.04 swig4.1 [21270] Support compilation againt Ubuntu 24.04 swig4.1 Jun 28, 2024
@JesusPoderoso JesusPoderoso added this to the v2.0.0 milestone Jul 4, 2024

@JesusPoderoso JesusPoderoso left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

JesusPoderoso

This comment was marked as resolved.

richiware added 2 commits July 4, 2024 08:23
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
@JesusPoderoso JesusPoderoso added the ready-to-merge Ready to be merged. CI and changes have been reviewed and approved. label Jul 4, 2024
@richiware
richiware merged commit 577f1ee into main Jul 4, 2024
@richiware
richiware deleted the bugfix/21268 branch July 4, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Ready to be merged. CI and changes have been reviewed and approved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants