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

support meson #690

Open
christianrauch opened this issue Nov 18, 2022 · 2 comments · May be fixed by #691
Open

support meson #690

christianrauch opened this issue Nov 18, 2022 · 2 comments · May be fixed by #691

Comments

@christianrauch
Copy link
Contributor

Trying to bloom a meson package locally via bloom-generate rosdebian fails with: Build type 'meson' is not supported by this version of bloom..

Since the release of colcon-meson as Debian package python3-colcon-meson, we should be able to build meson packages on the build farm. I assume that currently, only the association of

<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
  [...]
  <buildtool_depend>python3-colcon-meson</buildtool_depend>
  [...]
  <export>
    <build_type>meson</build_type>
  </export>
</package>

to the build tool is missing.

Can someone point me to where this has to be added or how I can make bloom use python3-colcon-meson otherwise?

@christianrauch christianrauch linked a pull request Nov 18, 2022 that will close this issue
@wjwwood
Copy link
Contributor

wjwwood commented Nov 18, 2022

Others will probably give you more info than me, but I saw this while looking for another issue just now.

The build farm doesn't use colcon, as it builds each package one at a time. So it doesn't matter what colcon supports, but we have to shoehorn this into the packaging system for each Linux distribution (or other OSes) we support, e.g. here are some templates we use for various build types on debian platforms:

https://github.com/ros-infrastructure/bloom/tree/master/bloom/generators/debian/templates

There are similar ones for rhel.

@christianrauch
Copy link
Contributor Author

After digging into the source code I also found that everything only depends on the templates and that those use the build systems directly without colcon. I created a meson template in #691 which is mostly derived from the cmake template with adaptations for meson.

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 a pull request may close this issue.

2 participants