Skip to content

Conversation

Lord-Grey
Copy link

@Lord-Grey Lord-Grey commented Oct 18, 2025

CMake file correction to ensure that builds related to atomic will not fail e.g. on an raspberry PI 1.

Credits to @Paulchen-Panther who prepared the fix.

Without the correction, builds fail with:

-- Protocol Buffers Configuring...
-- protobuf version: 32.1.0
-- Configuration script parsing status [
--   Description : Protocol Buffers
--   Version     : 32.1.0 (6.32.1)
--   Contact     : [email protected]
-- ]
-- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT
-- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT - Success
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Failed
-- Could NOT find absl (missing: absl_DIR)
-- Fallback to downloading Abseil 20250512.1 from GitHub
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17 - Success
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20 - Failed
CMake Error at hyperion/dependencies/external/protobuf/cmake/protobuf-configure-target.cmake:11 (target_link_libraries):
  Cannot specify link libraries for target "libprotobuf" which is not built
  by this project.
Call Stack (most recent call first):
  hyperion/dependencies/external/protobuf/cmake/libprotobuf-lite.cmake:28 (protobuf_configure_target)
  hyperion/dependencies/external/protobuf/CMakeLists.txt:278 (include)

Copy link

google-cla bot commented Oct 18, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

1 participant