Skip to content

Commit e232370

Browse files
author
Joan Martinez
committed
fix: revert changes to Makefile and CMakeLists
1 parent c229e48 commit e232370

File tree

2 files changed

+984
-1755
lines changed

2 files changed

+984
-1755
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ option(LLAMA_GPROF "llama: enable gprof"
5959
option(LLAMA_FATAL_WARNINGS "llama: enable -Werror flag" OFF)
6060

6161
# sanitizers
62-
option(LLAMA_SANITIZE_THREAD "llama: enable thread sanitizer" ON)
63-
option(LLAMA_SANITIZE_ADDRESS "llama: enable address sanitizer" ON)
64-
option(LLAMA_SANITIZE_UNDEFINED "llama: enable undefined sanitizer" ON)
62+
option(LLAMA_SANITIZE_THREAD "llama: enable thread sanitizer" OFF)
63+
option(LLAMA_SANITIZE_ADDRESS "llama: enable address sanitizer" OFF)
64+
option(LLAMA_SANITIZE_UNDEFINED "llama: enable undefined sanitizer" OFF)
6565

6666
# instruction set specific
6767
if (LLAMA_NATIVE)
@@ -126,7 +126,7 @@ option(LLAMA_CPU_HBM "llama: use memkind for CPU HBM"
126126
set(LLAMA_SCHED_MAX_COPIES "4" CACHE STRING "llama: max input copies for pipeline parallelism")
127127

128128
option(LLAMA_BUILD_TESTS "llama: build tests" ${LLAMA_STANDALONE})
129-
option(LLAMA_BUILD_EXAMPLES "llama: build examples" ON)
129+
option(LLAMA_BUILD_EXAMPLES "llama: build examples" ${LLAMA_STANDALONE})
130130
option(LLAMA_BUILD_SERVER "llama: build server example" ON)
131131

132132
# add perf arguments

0 commit comments

Comments
 (0)