Skip to content

Conda-forge packages for spot-cpp-sdk (multi-platform support) #13

@diegoferigo-rai

Description

@diegoferigo-rai

Hello everyone,

I'd like to share that the spot-cpp-sdk is now available as native package on conda-forge for the following platforms:

  • linux-64
  • linux-aarch64
  • osx-64
  • osx-arm64

It is possible to obtain a ready-to-use setup using pixi as environment manager as follows:

# Install pixi (in ~/.pixi).
# https://pixi.prefix.dev/latest/installation/
curl -fsSL https://pixi.sh/install.sh | sh
source ~/.bashrc

# Initialize and configure the manifest.
pixi init
pixi workspace platform add linux-64
pixi workspace platform add linux-aarch64
pixi workspace platform add osx-64
pixi workspace platform add osx-arm64

# Add dependencies to the manifest (inspect pixi.toml afterwards).
pixi add spot-cpp-sdk spot-cpp-sdk-devel cmake-package-check

# Create the environment and get a shell.
pixi shell

# Check the CMake targets.
cmake-package-check bosdyn

During the packaging process, I had to introduce a few patches to make the project compatible with more recent versions of protobuf and gRPC. You might be interested to port them upstream.

I also attempted to support Windows, but ran into significant issues (see the staged-recipes discussion). Given the expected limited user base on that platform and lack of immediate need, I've disabled Windows builds for now. Contributions to enable this are very welcome.

If anyone from upstream would like to become a co-maintainer of the feedstock, I'd be happy to add you.

We've successfully tested the package on a Spot running on a Jetson AGX Orin, and it worked well! 🤖

FYI @ruben-arts @wolfv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions