Skip to content

Conversation

@williamspatrick
Copy link
Contributor

Add a simple meson.build file, which allows:

  • meson repositories to use stdexec as a subproject[1,2].
  • a simple way to install stdexec for Yocto-based distributions3.

Meson only easily supports meson or cmake dependencies. The current
CMakeLists.txt doesn't work as a Meson subproject due to the use of
downloaded pieces, such as rapids-cmake. Similarly, Yocto does not
allow unmanaged downloads, but instead requires all downloads to be
able to be cached.

The meson.build file proposed here is very simple and only exposes
the headers that would be installed by the default CMake invocation.
It also generates a pkgconfig file so that the package can be found
as a dependency when installed into a Linux distribution.

OpenBMC currently leverages stdexec for performing asynchronous
dbus operations. Currently, we are vendoring portions of stdexec
directly into the dbus library ("sdbusplus"). This work allows
separation of the two.

Signed-off-by: Patrick Williams [email protected]

Add a simple meson.build file, which allows:

   - meson repositories to use stdexec as a subproject[1,2].
   - a simple way to install stdexec for Yocto-based distributions[3].

Meson only easily supports meson or cmake dependencies.  The current
CMakeLists.txt doesn't work as a Meson subproject due to the use of
downloaded pieces, such as rapids-cmake.  Similarly, Yocto does not
allow unmanaged downloads, but instead requires all downloads to be
able to be cached.

The meson.build file proposed here is very simple and only exposes
the headers that would be installed by the default CMake invocation.
It also generates a pkgconfig file so that the package can be found
as a dependency when installed into a Linux distribution.

OpenBMC currently leverages stdexec for performing asynchronous
dbus operations.  Currently, we are vendoring portions of stdexec
directly into the dbus library ("sdbusplus").  This work allows
separation of the two.

[1]: https://mesonbuild.com/Subprojects.html
[2]: https://gerrit.openbmc.org/c/openbmc/sdbusplus/+/85062
[3]: https://gerrit.openbmc.org/c/openbmc/openbmc/+/85064

Signed-off-by: Patrick Williams <[email protected]>
@copy-pr-bot
Copy link

copy-pr-bot bot commented Nov 7, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ericniebler
Copy link
Collaborator

/ok to test 1a0fc52

@ericniebler ericniebler merged commit 5d9f3bf into NVIDIA:main Nov 11, 2025
18 checks passed
@ericniebler
Copy link
Collaborator

thank you!

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.

2 participants