{"id":15136864,"url":"https://github.com/eclipse-uprotocol/up-conan-recipes","last_synced_at":"2025-10-23T11:31:56.612Z","repository":{"id":242535157,"uuid":"807570999","full_name":"eclipse-uprotocol/up-conan-recipes","owner":"eclipse-uprotocol","description":"Conan recipes for uProtocol C++ libraries","archived":false,"fork":false,"pushed_at":"2024-08-16T22:38:55.000Z","size":72,"stargazers_count":1,"open_issues_count":2,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-30T18:38:06.508Z","etag":null,"topics":["conan","cpp","uprotocol"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eclipse-uprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-29T11:02:43.000Z","updated_at":"2024-09-12T19:33:06.000Z","dependencies_parsed_at":"2024-06-27T22:01:13.738Z","dependency_job_id":"f4b5bb0e-ea84-4503-8909-5280c906db9b","html_url":"https://github.com/eclipse-uprotocol/up-conan-recipes","commit_stats":null,"previous_names":["eclipse-uprotocol/up-conan-recipes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-uprotocol%2Fup-conan-recipes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-uprotocol%2Fup-conan-recipes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-uprotocol%2Fup-conan-recipes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-uprotocol%2Fup-conan-recipes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eclipse-uprotocol","download_url":"https://codeload.github.com/eclipse-uprotocol/up-conan-recipes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237821660,"owners_count":19371802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["conan","cpp","uprotocol"],"created_at":"2024-09-26T06:41:38.756Z","updated_at":"2025-10-23T11:31:56.605Z","avatar_url":"https://github.com/eclipse-uprotocol.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uProtocol C++ Conan Recipes (up-conan-recipes)\n\nThis is a collection of Conan recipes for uProtocol C++ libraries. For each uP\npackage, two recipes are provided: release and developer.\n\nThe release recipes aim to provide a repeatable way to build all tagged releases\nof the various uProtocol libraries. They pull the source archive for a given tag\nfrom github, confirm the checksum, and build the package.\n\nThe developer packages are intended to support arbitrary builds for developers.\nThey will, by default, clone eclipse-uprotocol/[repo] and build the main branch.\nConan options can be provided to override the fork and commit that are checked\nout and built.\n\n## Building Release Packages\n\nWith Conan 2:\n\n```shell\nconan create --version 1.6.0-alpha4 --build=missing up-core-api/release/\nconan create --version 1.0.1 --build=missing up-cpp/release/\nconan create --version 1.0.0-rc3 --build=missing up-transport-zenoh-cpp/release/\n```\n\n## Building Developer Packages\n\nThe default fork and checkout commit can be overridden with `-o fork=[fork]` and\n`-o commitish=[commit/branch/tag]`\n\nWith Conan 2:\n\n```shell\nconan create --version 1.6.1-dev --build=missing up-core-api/developer/\nconan create --version 1.1.0-dev --build=missing up-cpp/developer/\nconan create --version 1.0.0-dev --build=missing up-transport-zenoh-cpp/developer/\nconan create --version 1.0.0-dev --build=missing up-transport-socket-cpp/developer/\n```\n\nNote that developer recipes will generally only support recent commits in a\nlibrary's repo. Older releases are available through the release recipes.\n\nWhen changing fork or commit-ish for developer builds, it will be necessary to\nfirst remove the any existing copies of the target package. For example, up-cpp\nwould be removed with `conan remove 'up-cpp'`.\n\n## Building (Temporary) Zenoh Packages\n\nAt time of writing, conan packages were not available for zenoh-c and zenoh-cpp.\nThey are prerequisites for the up-transport-zenoh-cpp packages. With Conan 2:\n\n```shell\nconan create --version 1.2.1 zenohc-tmp/prebuilt\nconan create --version 1.2.1 zenohcpp-tmp/from-source\n```\n\n## Running in a clean docker container\n\n```shell\ncd tools/ubuntu-24.04-docker/\n./launch-shell.sh\n\n# Build packages here\n```\n\n## Building Release Packages for QNX (cross-compile)\n\n**NOTE**: QNX cross-compilation are only supported from a Linux(x86_64) build machine.\n          For QNX, we have to explicitly build all dependencies\n\nPre-requisite:\n\n* Install QNX license and SDP installation (~/.qnx and ~/qnx800 by default)\n  - https://www.qnx.com/products/everywhere/ (**Non-Commercial Use**)\n\n```shell\n# source QNX SDP\nsource \u003cQNX_SDP\u003e/qnxsdp-env.sh\n\n# build protobuf for Linux\nconan create --version=3.21.12 --build=missing protobuf\n\n# IMPORTANT\n# update conan settings for QNX8.0 support\nconan config install tools/qnx-8.0-extension/settings_user.yml\n\n# build protobuf for QNX\n#\n# \u003cprofile-name\u003e could be one of: nto-7.1-aarch64-le, nto-7.1-x86_64, nto-8.0-aarch64-le, nto-8.0-x86_64\n# \u003cversion-number\u003e: 3.15.0, 3.21.12, 5.27.2\n#\nconan create -pr:h=tools/profiles/\u003cprofile-name\u003e --version=3.21.12 --build=missing protobuf\n\n# build up-core-api for QNX\n#\n# \u003cprofile-name\u003e: nto-7.1-aarch64-le, nto-7.1-x86_64, nto-8.0-aarch64-le, nto-8.0-x86_64\n# \u003cversion-number\u003e: 1.6.0-alpha2, 1.6.0-alpha3, 1.6.0-alpha4\n#\nconan create -pr:h=tools/profiles/\u003cprofile-name\u003e --version=1.6.0-alpha2 up-core-api/release/\n\n# build gtest for QNX\n#\n# \u003cprofile-name\u003e: nto-7.1-aarch64-le, nto-7.1-x86_64, nto-8.0-aarch64-le, nto-8.0-x86_64\n# \u003cversion-number\u003e: 1.10.0, 1.13.0, 1.14.0\n#\nconan create -pr:h=tools/profiles/\u003cprofile-name\u003e --version=1.14.0 gtest\n\n# build up-cpp for QNX\n#\n# \u003cprofile-name\u003e: nto-7.1-aarch64-le, nto-7.1-x86_64, nto-8.0-aarch64-le, nto-8.0-x86_64\n# \u003cversion-number\u003e: 1.0.0-rc0, 1.0.0, 1.0.1-rc1, 1.0.1\n#\nconan create -pr:h=tools/profiles/\u003cprofile-name\u003e --version=1.0.1 --build=missing up-cpp/release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipse-uprotocol%2Fup-conan-recipes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feclipse-uprotocol%2Fup-conan-recipes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipse-uprotocol%2Fup-conan-recipes/lists"}