Skip to content

pkg-config --cflags "grpc++" is taking a while to return #29137

@matttbe

Description

@matttbe

What version of gRPC and what language are you using?

1.43.2 in C++

What operating system (Linux, Windows,...) and version?

Linux CentOS 7 (with devtoolset-8 and llvm-toolset-7)

What runtime / compiler are you using (e.g. python version or version of gcc)

GCC 8.3.1

What did you do?

pkg-config --cflags "grpc grpc++" is taking a long time.

If you run pkg-config --debug --cflags "grpc++", it looks like there is a dependence loop somewhere.

What did you expect to see?

A clean and quick pkg-config --debug --cflags "grpc++"

What did you see instead?

In debug mode, you can see a lot of dependences, always the same (absl) just after this line:

    Adding 'grpc++' to list of known packages, returning as package 'grpc++'

Anything else we should know about your project / environment?

Compiled with CMake, first compiling third_party/abseil-cpp/cmake/ then other 3rd party libs and finally GRPC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions