gputop icon indicating copy to clipboard operation
gputop copied to clipboard

Use local protobuf when avaliable

Open uis246 opened this issue 5 years ago • 4 comments

uis246 avatar Nov 09 '20 16:11 uis246

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

djdeath avatar Nov 09 '20 19:11 djdeath

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

uis246 avatar Nov 09 '20 21:11 uis246

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

djdeath avatar Nov 09 '20 22:11 djdeath

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

uis246 avatar Nov 10 '20 06:11 uis246