add gprof option

This commit is contained in:
katsu560 2022-11-23 21:31:05 +09:00 committed by Georgi Gerganov
parent 800ae5b808
commit 4b2f51b479

View File

@ -96,6 +96,10 @@ ifdef WHISPER_OPENBLAS
CFLAGS += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas
LDFLAGS += -lopenblas
endif
ifdef WHISPER_GPROF
CFLAGS += -pg
CXXFLAGS += -pg
endif
ifneq ($(filter aarch64%,$(UNAME_M)),)
endif
ifneq ($(filter armv6%,$(UNAME_M)),)