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

zenoh-c: new recipe #23374

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

zenoh-c: new recipe #23374

wants to merge 7 commits into from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Apr 4, 2024

Adds the C API for Zenoh.

Zenoh is a pub/sub/query protocol unifying data in motion, data at rest and computations. It elegantly blends traditional pub/sub with geo distributed storage, queries and computations, while retaining a level of time and space efficiency that is well beyond any of the mainstream stacks.

https://zenoh.io/
https://github.com/eclipse-zenoh/zenoh-c

Requires #20991 for rust/1.76.0, since the internals of the library are implemented in Rust. All Rust dependencies and the Rust standard library are linked statically into a single static or shared library, so no dependencies on Rust remain for the library consumer.

@valgur
Copy link
Contributor Author

valgur commented Apr 4, 2024

@jcar87 @memsharded @uilianries Can we please add support for Rust purely as a build tool on CCI via #20991, please? It's fundamentally no different from zulu-openjdk or other compiler toolchains as long as the projects take care to statically link all of the Rust dependencies for the exported C/C++-ABI libraries, as is done by the project in this PR (and is also the default for Rust in general).

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Copy link

@oteffahi oteffahi left a comment

Choose a reason for hiding this comment

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

Ideally it is better to use Rust 1.72 to build zenoh-c, in order to have it support the pre-built plugins/backends from the 0.10.1-rc releases. I notice that 1.76 was recently added to #20991, so maybe we can add 1.72 too?

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 7 (46df99de05ca1dbe3f3fa4d38c3dd2feba45545f):

  • zenoh-c/0.10.1-rc:
    Error running command conan info zenoh-c/0.10.1-rc@#8175ea2d3fa952ba09e4f0be05a1d2bf --json {jsonName} --dry-build -pr {profileName}:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    zenoh-c:shared=False
    
    ...
    ERROR: Failed requirement 'rust/1.72.1' from 'zenoh-c/0.10.1-rc'
    ERROR: Unable to find 'rust/1.72.1' in remotes
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 7 (46df99de05ca1dbe3f3fa4d38c3dd2feba45545f):

  • zenoh-c/0.10.1-rc:
    Error running command conan graph info --requires zenoh-c/0.10.1-rc@#8175ea2d3fa952ba09e4f0be05a1d2bf -f json -pr:h /home/conan/workspace/prod-v2/bsr/23767/fbdcb/profile_linux_11_libstdcpp11_17_gcc_release_64.-shared-False.txt -pr:b /home/conan/workspace/prod-v2/bsr/23767/fbdcb/profile_linux_11_libstdcpp11_17_gcc_release_64..txt:
    ======== Computing dependency graph ========
    cmake/3.29.0: Not found in local cache, looking in remotes...
    cmake/3.29.0: Checking remote: conan-center
    cmake/3.29.0: Downloaded recipe revision a055de871f63a7904aa3dcb9f3c61242
    rust/1.72.1: Not found in local cache, looking in remotes...
    rust/1.72.1: Checking remote: conan-center
    rust/1.72.1: Checking remote: c3i_PR-v2-23374
    Graph root
        cli
    Requirements
        zenoh-c/0.10.1-rc#8175ea2d3fa952ba09e4f0be05a1d2bf - Cache
    Build requirements
        cmake/3.29.0#a055de871f63a7904aa3dcb9f3c61242 - Downloaded (conan-center)
    Resolved version ranges
        cmake/[>=3.16 <4]: cmake/3.29.0
    Graph error
        Package 'rust/1.72.1' not resolved: Unable to find 'rust/1.72.1' in remotes.
    ERROR: Package 'rust/1.72.1' not resolved: Unable to find 'rust/1.72.1' in remotes.
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants