my rage from v8 is spilling over
Go to file
Marco A. Harrendorf dd04ffb923 Adding default shell env
I am adding default shell environment, so that protobuf compilation makes use of set
LD_LIBRARY_PATH and so on.
In this way, also non-default gcc installations (e.g. not in /usr/lib) can be used to compile protobuf.
This would fix the following issue:
https://github.com/bazelbuild/bazel/issues/2515
2017-04-03 17:01:36 +02:00
benchmarks Added C++ benchmark. (#1525) 2016-09-23 11:07:45 -07:00
cmake add delimited_message_util.cc to libprotobuf.cmake 2017-03-16 20:52:58 +08:00
conformance Merge pull request #1662 from haberman/jsconformance 2017-03-27 12:03:09 -07:00
csharp Merge pull request #2884 from anandolee/master 2017-03-27 11:05:38 -07:00
docs Fix Bad Link for Common Lisp 2017-03-08 15:24:04 -08:00
editors [master] Add dependency cl. Fixes google/protobuf#295. 2016-08-05 15:13:12 +08:00
examples Integrate from internal code base. 2016-07-13 13:48:40 -07:00
java Merge pull request #2860 from prehistoric-penguin/master 2017-03-20 10:49:48 -07:00
javanano Add a notice for nano. 2017-03-16 16:09:41 -07:00
jenkins Update commit number in Docker to update composer dependency (#2869) 2017-03-21 10:18:49 -07:00
js Merge pull request #1662 from haberman/jsconformance 2017-03-27 12:03:09 -07:00
m4 Fixed cross compilations with the Autotools build 2017-01-03 13:14:39 -08:00
more_tests Add makefile for extended tests to be run before release. 2010-01-12 22:45:15 +00:00
objectivec Remove the use of dispatch_once that is heap backed. 2017-03-29 13:03:33 -04:00
php Update commit number in Docker to update composer dependency (#2869) 2017-03-21 10:18:49 -07:00
protoc-artifacts Prefer the term "3-Clause BSD License" over "New BSD License" 2017-02-28 09:58:24 +01:00
python Merge pull request #2613 from aausch/fix_memory_leak 2017-03-06 16:48:54 -08:00
ruby Ruby: only link against specific version of memcpy if we're using glibc 2017-03-17 11:23:01 -07:00
src Removes ignored const from return type (#2915) 2017-03-29 11:39:29 -07:00
third_party Added C++ benchmark. (#1525) 2016-09-23 11:07:45 -07:00
util/python Remove hack for building Python support with Bazel. 2016-02-25 12:52:21 -08:00
.gitignore Add some new ignores for things generated in conformance. 2017-03-28 11:04:58 -04:00
.gitmodules Added C++ benchmark. (#1525) 2016-09-23 11:07:45 -07:00
.travis.yml Add python compatibility tests against v2.5.0 amd run on Travis. 2017-01-26 11:05:16 -08:00
appveyor.bat Rename UNICODE to protobuf_UNICODE 2016-09-01 17:18:22 -07:00
appveyor.yml Use "appveyor DownloadFile" 2016-10-10 11:44:21 -07:00
autogen.sh Update gmock links. 2016-08-25 14:28:59 -07:00
BUILD Compile the Java proto runtime with Java 6 2017-03-22 14:27:51 -04:00
CHANGES.txt Prefer the term "3-Clause BSD License" over "New BSD License" 2017-02-28 09:58:24 +01:00
composer.json Fixed issue with autoloading - Invalid paths (#2538) 2016-12-28 13:33:36 -08:00
configure.ac Hide unnecessary exported library symbols 2017-03-13 14:27:39 +02:00
CONTRIBUTORS.txt Add nano proto authors and update LICENSE file to include Android.mk. 2014-11-20 14:27:46 -08:00
generate_changelog.py generate_changelog.py: flush output so piping works correctly. 2016-12-09 16:13:18 -08:00
generate_descriptor_proto.sh Add file option php_class_prefix (#2849) 2017-03-17 11:08:06 -07:00
gmock.BUILD Update repo to use google test 2016-09-09 13:10:56 -04:00
LICENSE Add support for POWER Linux 2015-11-03 14:49:42 -08:00
Makefile.am Add file option php_class_prefix (#2849) 2017-03-17 11:08:06 -07:00
post_process_dist.sh Add php files for make dist. 2016-10-10 11:44:21 -07:00
protobuf-lite.pc.in Uncomment conflict fields from pkg-config files. 2015-05-12 17:50:05 +02:00
protobuf.bzl Adding default shell env 2017-04-03 17:01:36 +02:00
protobuf.pc.in Uncomment conflict fields from pkg-config files. 2015-05-12 17:50:05 +02:00
Protobuf.podspec Prefer the term "3-Clause BSD License" over "New BSD License" 2017-02-28 09:58:24 +01:00
README.md README.md: Make docs URL a link 2017-02-18 13:05:19 -08:00
six.BUILD Add srcs_version = "PY2AND3" in BUILD files 2015-12-03 13:16:06 -08:00
tests.sh Merge pull request #1662 from haberman/jsconformance 2017-03-27 12:03:09 -07:00
update_file_lists.sh Fix bugs on windows 2015-08-25 17:58:48 -07:00
WORKSPACE Fix gson dependency. 2016-09-21 22:51:36 +00:00

Protocol Buffers - Google's data interchange format

Build Status Build status Build Status Build Status Build Status

Copyright 2008 Google Inc.

https://developers.google.com/protocol-buffers/

Overview

Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. You can find protobuf's documentation on the Google Developers site.

This README file contains protobuf installation instructions. To install protobuf, you need to install the protocol compiler (used to compile .proto files) and the protobuf runtime for your chosen programming language.

Protocol Compiler Installation

The protocol compiler is written in C++. If you are using C++, please follow the C++ Installation Instructions to install protoc along with the C++ runtime.

For non-C++ users, the simplest way to install the protocol compiler is to download a pre-built binary from our release page:

https://github.com/google/protobuf/releases

In the downloads section of each release, you can find pre-built binaries in zip packages: protoc-$VERSION-$PLATFORM.zip. It contains the protoc binary as well as a set of standard .proto files distributed along with protobuf.

If you are looking for an old version that is not available in the release page, check out the maven repo here:

http://repo1.maven.org/maven2/com/google/protobuf/protoc/

These pre-built binaries are only provided for released versions. If you want to use the github master version at HEAD, or you need to modify protobuf code, or you are using C++, it's recommended to build your own protoc binary from source.

If you would like to build protoc binary from source, see the C++ Installation Instructions.

Protobuf Runtime Installation

Protobuf supports several different programming languages. For each programming language, you can find instructions in the corresponding source directory about how to install protobuf runtime for that specific language:

Language Source
C++ (include C++ runtime and protoc) src
Java java
Python python
Objective-C objectivec
C# csharp
JavaNano javanano
JavaScript js
Ruby ruby
Go golang/protobuf
PHP php

Usage

The complete documentation for Protocol Buffers is available via the web at:

https://developers.google.com/protocol-buffers/