[MacPorts] #56288: port:leveldb : minor upgrade with build system fixes and tcmalloc variant
MacPorts
noreply at macports.org
Sat Apr 14 07:19:28 UTC 2018
#56288: port:leveldb : minor upgrade with build system fixes and tcmalloc variant
----------------------+----------------------
Reporter: RJVB | Owner: (none)
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: haspatch
Port: leveldb |
----------------------+----------------------
Comment (by RJVB):
leveldb has been depending on gperftools since the beginning, so you could
have known :)
And the tcmalloc dependency is purely private to leveldb, there are no ABI
differences, in fact, even the leveldb code doesn't contain anything
that's tcmalloc-specific. My patch only disables the linking-in of
tcmalloc; the current variant is no different than the optimisation (or
debug!) variants other ports propose.
You can get back the "stock" leveldb behaviour by doing the equivalent of
`LD_PRELOAD=libtcmalloc`.
Maybe read up a bit on the subject to make an informed decision? It'd be a
pity to remove one of leveldb's sales arguments (its speed) just because
it might cause side-effects. On my side I plan to sort this out further.
Again, the issue might be caused by an issue in code I'm working on and/or
a system bug in OS X 10.9 .
--
Ticket URL: <https://trac.macports.org/ticket/56288#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list