Skip to content

Build client library for only pubsub #10174

Closed Answered by dbolduc
aks-zero asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, what you are doing with -DGOOGLE_CLOUD_CPP_ENABLE=pubsub looks right to me.

I think you may be running into #8022, which is a known issue. Basically the protos for a bunch of libraries are built, even when the client libraries are not enabled.

I used your command in this Dockerfile to reproduce the problem. Then I squinted at the output of building the Dockerfile.

I see it builds targets like google_cloud_cpp_bigtable_protos, google_cloud_cpp_cloud_bigquery_protos, etc. These are just the protos for those libraries. (The actual client libraries are google_cloud_cpp_bigtable. google_cloud_cpp_bigquery, etc.).

So, obviously it is not great, that you are building extra protos at this ti…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@dbolduc
Comment options

Answer selected by aks-zero
Comment options

You must be logged in to vote
3 replies
@dbolduc
Comment options

@aks-zero
Comment options

@dbolduc
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants