work on perf

This commit is contained in:
Niko Matsakis 2011-11-29 11:06:08 -08:00
parent 6bced5be31
commit aba6e63543
2 changed files with 3 additions and 2 deletions

View File

@ -35,6 +35,7 @@ ifneq ($(findstring freebsd,$(CFG_OSTYPE)),)
CFG_LDENV := LD_LIBRARY_PATH
CFG_DEF_SUFFIX := .bsd.def
CFG_INSTALL_NAME =
CFG_PERF_TOOL := /usr/bin/time
endif
ifneq ($(findstring linux,$(CFG_OSTYPE)),)

View File

@ -288,8 +288,8 @@ check-stage$(1)-T-$(2)-H-$(3)-bench-dummy: \
check-stage$(1)-T-$(2)-H-$(3)-perf-dummy: \
$$(HBIN$(1)_H_$(3))/compiletest$$(X) \
$$(SREQ$(1)_T_$(2)_H_$(3)) \
$$(BENCH_TESTS)
$$(SREQ$(1)_T_$(2)_H_$(3)) \
$$(BENCH_TESTS)
@$$(call E, perf: $$<)
$$(Q)$$(call CFG_RUN_CTEST,$(1),$$<,$(3)) \
$$(PERF_ARGS$(1)-T-$(2)-H-$(3))