tikv / tikv/client-c

Add compilation options -DENABLE_TESTS=ON cause project compile fail

Open
#104 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
41
Forks
56
Avg merge
5m
Merged PRs (30d)
2

Description

Add compilation options such as:cmake -DENABLE_TESTS=ON ..
This command causes compilation to fail,As mentioned in the pingcap Developer Forum, grpc is compiled with dynamic libraries. The old version of clien-c can be compiled and used temporarily, but the latest version cannot. Moreover, we recommend using static libraries.Please fix it as soon as possible. Thank you

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with cmake -DENABLE_TESTS=ON .. and inspect the CMake configuration for grpc library selection. Compare the dynamic-library setup described in the issue with the requested static-library setup; done means the project compiles successfully with tests enabled and the chosen grpc linkage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, grpc
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.