Skip to content

Conversation

@wesm
Copy link
Member

@wesm wesm commented Feb 26, 2018

C++-only libprotobuf is now being provided by conda-forge

Change-Id: I1b901957b362d1d78e1ab8c2658cfcf4964e0e36
conda create -y -q -p $CPP_TOOLCHAIN python=2.7 \
nomkl \
boost-cpp \
libprotobuf \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we also need to install protobuf? Are we assuming that libprotobuf and the protoc called by the orc build step are compatible?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

libprotobuf includes protoc

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh okay, cool.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we are assuming that orc's protoc and ours are compatible? I could be missing something obvious here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ORC build will just use this one; before this patch we were building protobuf ourselves from source in https://github.com/apache/arrow/blob/master/cpp/cmake_modules/ThirdpartyToolchain.cmake#L882

This does upgrade protocol buffers from 2.6.0 to 3.5.1, but I think it's forward compatible (might be wrong). If not we may need to add a protobuf 2.x package to conda-forge

@wesm
Copy link
Member Author

wesm commented Feb 26, 2018

Merging. Travis build failure is unrelated

@wesm wesm closed this in 5521bcf Feb 26, 2018
@wesm wesm deleted the ARROW-2094 branch February 26, 2018 16:54
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.

3 participants