Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-compile libraries #190

Merged
merged 1 commit into from
Sep 14, 2021
Merged

Cross-compile libraries #190

merged 1 commit into from
Sep 14, 2021

Conversation

lucacome
Copy link
Member

@lucacome lucacome commented Sep 10, 2021

  • Cross-compile libraries leveraging helper tools from https://github.com/tonistiigi/xx
  • Remove gRPC build (doesn't seem to be used)
  • Build plugin directly for zipkin, jaeger and datadog
  • Avoid building unnecessary files for jaeger

@lucacome lucacome force-pushed the master branch 3 times, most recently from 12ec679 to 2941bf2 Compare September 10, 2021 05:58
@lucacome
Copy link
Member Author

Well, my main goal (other than supporting s390x) was to improve building time but seems like gRPC still takes forever. What is it needed for?

@miry
Copy link
Collaborator

miry commented Sep 10, 2021

As I remember it was used for some of the adpater Lightstep or Jaeger.

@lucacome
Copy link
Member Author

Ah yeah seems like it’s required for Lightstep (even though not in the latest version). Should I disable the build for now since Lightstep is not being built and the other tracer don’t use it (it’s in a different stage that non of the other use)?

@lucacome lucacome marked this pull request as draft September 13, 2021 03:03
@miry
Copy link
Collaborator

miry commented Sep 13, 2021

@lucacome There is also zipkin-cpp that requires grpc: https://github.com/flier/zipkin-cpp/blob/master/CMakeLists.txt#L58

@lucacome
Copy link
Member Author

Interesting, it wasn't complaining when I tried to disable the build for gRPC...

@lucacome
Copy link
Member Author

@miry I think that's a different repo for zipkin, this uses https://github.com/rnburn/zipkin-cpp-opentracing.git ?

@lucacome lucacome changed the title Improve libraries builds Cross-compile libraries Sep 14, 2021
@lucacome lucacome marked this pull request as ready for review September 14, 2021 06:51
@lucacome
Copy link
Member Author

I've updated this PR to cross-compile libraries and commented out gRPC since it's not used at the moment (and causes problems)

@miry miry merged commit 416b281 into opentracing-contrib:master Sep 14, 2021
@lucacome lucacome added the chore label Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants