A Conan 2.x recipe for pbr-cpp-memory-pool, pinned to the v1.0.0 tag. This is Phase 2 distribution (ADR-0004 §5, ADR-0031); the Phase 1 find_package / pkg-config install is ADR-0028, and the sibling vcpkg port is ADR-0030.
The recipe builds the library from source through the project's own CMake build/install rules. A Conan (CMakeDeps) consumer links the same imported target as every other consumption mode:
find_package(pbr_memory_pool CONFIG REQUIRED)
target_link_libraries(my_app PRIVATE pbr::memory_pool)No registry upload is required to consume the recipe today. Create the package into your local Conan cache, then depend on pbr-memory-pool/1.0.0:
conan create conan/ # builds + runs the test_package
# then, from a consumer:
# [requires]
# pbr-memory-pool/1.0.0
conan install . --build=missingconanfile.py— the recipe: fetches thev<version>source tag (SHA256-pinned), builds with tests/benchmarks off viaCMakeToolchain/CMake, installs, drops the upstream-bundled CMake config +.pc(Conan provides its own throughpackage_info), and setscmake_file_name/cmake_target_nameso consumers getpbr::memory_pool.test_package/— a minimal consumer (find_package+ link + run) that Conan builds duringconan createto verify the package.
The packaging-smoke workflow runs conan create conan/ — which builds the package from the pinned v1.0.0 tag and then builds + runs the test_package/ consumer — on every change to conan/** and on a weekly schedule (the recipe is version-pinned, so the schedule is the main signal for Conan / toolchain drift). Conan cannot be run on the maintainer's box, so CI is where the recipe is exercised.
The recipe is written to ConanCenter conventions and can be contributed to conan-io/conan-center-index when desired (its layout there is recipes/pbr-memory-pool/all/conanfile.py + a config.yml mapping the version to the source). Alternatively, upload to a self-hosted Artifactory / conan remote:
conan create conan/
conan upload pbr-memory-pool/1.0.0 -r <your-remote> --confirmRegistry publication (ConanCenter or self-hosted) is deferred (it depends on the index maintainers' review cadence and adds a per-release maintenance obligation — ADR-0031); creating the package locally from this recipe is the supported path in the meantime.
On a new release tag, set version in conanfile.py and replace the sha256 with the hash of the new source tarball:
curl -sSL https://github.com/danielPoloWork/pbr-cpp-memory-pool/archive/v<X.Y.Z>.tar.gz | sha256sum(The source URL is derived from version, so only the version and the hash change.)