rib / gputop

A GPU profiling tool
160 stars 37 forks source link

Use local protobuf when avaliable #208

Open uis246 opened 3 years ago

djdeath commented 3 years ago

Protobuf might not always be available on the distro used, so I think it's much better to bundle our own version.

uis246 commented 3 years ago

Not always, but when avaliable use system one, when either protobuf-c or protoc unavaliable - fallback to bundled protobuf

djdeath commented 3 years ago

But what's the advantage? I see more problems of compatibility to deal with.

uis246 commented 3 years ago

Because system protobuf and bundled can conflict. Because when protobuf installed, gcc prefer headers of system one, but link with bundled.