From: Georgi Gerganov Date: Wed, 26 Jun 2024 18:20:45 +0000 (+0300) Subject: make : fix missing -O3 X-Git-Tag: upstream/1.7.4~610 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=0a55a70b9b9d47c8228c8a21a7b1107ed4db6858;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp make : fix missing -O3 same as https://github.com/ggerganov/llama.cpp/pull/8143 --- diff --git a/Makefile b/Makefile index ea51ef6a..36fe7b7e 100644 --- a/Makefile +++ b/Makefile @@ -251,7 +251,10 @@ ifdef WHISPER_DEBUG MK_CPPFLAGS += -D_GLIBCXX_ASSERTIONS endif else - MK_CPPFLAGS += -DNDEBUG + MK_CPPFLAGS += -DNDEBUG + MK_CFLAGS += -O3 + MK_CXXFLAGS += -O3 + MK_NVCCFLAGS += -O3 endif ifdef WHISPER_SANITIZE_THREAD