Skip to content

Inconsistency between Bazel & CMake #2072

Open
@cngzhnp

Description

@cngzhnp

Describe your environment In OTLP project, there are two different build mechanisms which one of them could be used for compilation different targets. Also, it would be helpful to maintain different third party packages from their source codes.

Steps to reproduce
For CMake, there is a file(third_party_release) which contains which third party library is linked with which version. Same for Bazel, the file(repository.bzl) contains same information. However, both file contains different third-party versions as an information.

For example;

  • benchmark=v1.5.3 was defined for CMake but for Bazel it was defined "benchmark-1.6.0".
  • CURL library was not defined as a depedency in the CMake.

What is the expected behavior?
Same versions must be used for even different build mechanisms.

What is the actual behavior?
There are different versions for Bazel and CMake which could cause inconsistency.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdo-not-stalegood first issueGood for newcomershelp wantedGood for taking. Extra help will be provided by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions