Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Bump third_party/protobuf to v3.4.1 #1462

Closed
wants to merge 1 commit into from

Conversation

pietern
Copy link
Contributor

@pietern pietern commented Nov 13, 2017

This version fixes warnings when compiling on macOS.

It is generally discouraged to use the bundled version of protobuf and
rather use the system installed version. CMake, by default, will use
the system installed version. When cross compiling Caffe2 (e.g. for
mobile), it needs to use the bundled version of protobuf.

This version fixes warnings when compiling on macOS.

It is generally discouraged to use the bundled version of protobuf and
rather use the system installed version. CMake, by default, will use
the system installed version. When cross compiling Caffe2 (e.g. for
mobile), it needs to use the bundled version of protobuf.
@caffe2bot
Copy link

caffe2bot commented Nov 13, 2017

🔨 Build started

@pietern
Copy link
Contributor Author

pietern commented Nov 13, 2017

Verified it fixes the compile warnings:

https://ci.pytorch.org/jenkins/job/caffe2-builds/job/caffe2-macos-build/4/console

@caffe2bot
Copy link

Build successful

@Yangqing
Copy link
Contributor

Hmm protobuf seems to be failing for Android.

@pietern
Copy link
Contributor Author

pietern commented Nov 13, 2017

It has to do with some js_embed binary. Never heard of it. Hopefully it can just be disabled...

@pietern
Copy link
Contributor Author

pietern commented Nov 13, 2017

@Yangqing
Copy link
Contributor

Proper solution is probably something like protocolbuffers/protobuf#3878 but not sure when it will land...

@Yangqing
Copy link
Contributor

#1466 should do the bump and also address build temporarily.

@Yangqing Yangqing closed this Nov 14, 2017
@pietern pietern deleted the update-protobuf branch November 14, 2017 05:14
facebook-github-bot pushed a commit that referenced this pull request Nov 14, 2017
Summary:
Also bumped third_party/protobuf to v3.4.1 similar to #1462 . cc pietern
Closes #1466

Reviewed By: pietern

Differential Revision: D6322210

Pulled By: Yangqing

fbshipit-source-id: 00f72472b71d1903a2705daf56652e4fb3fc021e
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants