Skip to content

Protocol buffers build for Linux ARM systems

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE.protobuf
Notifications You must be signed in to change notification settings

asteris-llc/protocol-buffers-arm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protocol-buffers-arm

Protocol buffers build for Linux ARM systems

This sets up a debian-based Linux ARM system to compile Google's Protocol Buffers. Since Google currently does not have builds for Linux running on ARM chips and the build cycle can take several hours, a binary releases are provided.

We use converge to manage system configurations.

This can be used on a Raspberry Pi devices, or on C1 scaleway ARM-based systems.

Downloading and Installing Binaries

Precompiled binares are available at the releases page.

To install, unpack the zip file into a directory like /usr/local:

unzip protoc-3.1.0-linux-arm.zip

Building From Source

Install converge onto your system. The install script will automatically download a Linux ARM version of the binary:

curl -L https://raw.githubusercontent.com/asteris-llc/converge/master/install-converge.sh | sudo bash -

Once converge is installed, set up the build environment.

converge apply --local protobuf-setup.hcl

The setup module installs packages required to build Protocol Buffers, downloads the source and runs autogen.sh.

The build takes several hours:

converge apply --local protobuf-build.hcl

By default, the build directory is:

{{env `HOME`}}/protobuf-build/protobuf-{{param `protobuf_version`}}

and the install directory is

{{env `HOME`}}/protobuf-install/protobuf-{{param `protobuf_version`}}

These can be overridden using command line arguments to converge:

converge apply --local -p install_dir=/usr/local

License

The configuration files are released under the Apache 2.0 license. See LICENSE.

Binary and source releases of Protocol Buffers are released under the following license.

About

Protocol buffers build for Linux ARM systems

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE.protobuf

Stars

Watchers

Forks

Packages

No packages published