We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e73832 commit c7c4741Copy full SHA for c7c4741
Makefile
@@ -148,12 +148,6 @@ ifndef UNAME_M
148
UNAME_M := $(shell uname -m)
149
endif
150
151
-MK_CFLAGS += -O3
152
-MK_CXXFLAGS += -O3
153
-ifndef LLAMA_DEBUG
154
-MK_NVCCFLAGS += -O3
155
-endif # LLAMA_DEBUG
156
-
157
# In GNU make default CXX is g++ instead of c++. Let's fix that so that users
158
# of non-gcc compilers don't have to provide g++ alias or wrapper.
159
DEFCC := cc
@@ -313,7 +307,10 @@ ifdef LLAMA_DEBUG
313
307
MK_CPPFLAGS += -D_GLIBCXX_ASSERTIONS
314
308
315
309
else
316
- MK_CPPFLAGS += -DNDEBUG
310
+ MK_CPPFLAGS += -DNDEBUG
311
+ MK_CFLAGS += -O3
312
+ MK_CXXFLAGS += -O3
+ MK_NVCCFLAGS += -O3
317
318
319
ifdef LLAMA_SANITIZE_THREAD
0 commit comments