ggerganov commited on
Commit
9cccc55
·
unverified ·
1 Parent(s): 2831df8

make : fix missing -O3

Browse files

same as https://github.com/ggerganov/llama.cpp/pull/8143

Files changed (1) hide show
  1. Makefile +4 -1
Makefile CHANGED
@@ -251,7 +251,10 @@ ifdef WHISPER_DEBUG
251
  MK_CPPFLAGS += -D_GLIBCXX_ASSERTIONS
252
  endif
253
  else
254
- MK_CPPFLAGS += -DNDEBUG
 
 
 
255
  endif
256
 
257
  ifdef WHISPER_SANITIZE_THREAD
 
251
  MK_CPPFLAGS += -D_GLIBCXX_ASSERTIONS
252
  endif
253
  else
254
+ MK_CPPFLAGS += -DNDEBUG
255
+ MK_CFLAGS += -O3
256
+ MK_CXXFLAGS += -O3
257
+ MK_NVCCFLAGS += -O3
258
  endif
259
 
260
  ifdef WHISPER_SANITIZE_THREAD