mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 03:04:12 +08:00
mdbx-make: using ldd
to check used dso.
This commit is contained in:
parent
06734bf8ff
commit
f0a46da6a5
@ -808,13 +808,13 @@ else
|
|||||||
define bench-rule
|
define bench-rule
|
||||||
bench-$(1)_$(2).txt: $(3) $(IOARENA) $(lastword $(MAKEFILE_LIST))
|
bench-$(1)_$(2).txt: $(3) $(IOARENA) $(lastword $(MAKEFILE_LIST))
|
||||||
@echo ' RUNNING ioarena for $1/$2...'
|
@echo ' RUNNING ioarena for $1/$2...'
|
||||||
$(QUIET)LD_LIBRARY_PATH="./:$$$${LD_LIBRARY_PATH}" \
|
$(QUIET)(export LD_LIBRARY_PATH="./:$$$${LD_LIBRARY_PATH}"; \
|
||||||
|
ldd $(IOARENA) && \
|
||||||
$(IOARENA) -D $(1) -B crud -m $(BENCH_CRUD_MODE) -n $(2) \
|
$(IOARENA) -D $(1) -B crud -m $(BENCH_CRUD_MODE) -n $(2) \
|
||||||
| tee $$@ | grep throughput && \
|
| tee $$@ | grep throughput && \
|
||||||
LD_LIBRARY_PATH="./:$$$${LD_LIBRARY_PATH}" \
|
$(IOARENA) -D $(1) -B iterate,get,iterate,get,iterate -m $(BENCH_CRUD_MODE) -r 4 -n $(2) \
|
||||||
$(IOARENA) -D $(1) -B get,iterate -m $(BENCH_CRUD_MODE) -r 4 -n $(2) \
|
|
||||||
| tee -a $$@ | grep throughput \
|
| tee -a $$@ | grep throughput \
|
||||||
|| mv -f $$@ $$@.error
|
) || mv -f $$@ $$@.error
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user