Skip to content

Commit 86a5d96

Browse files
author
Joan Martinez
committed
feat: first things to do
1 parent 400d5d7 commit 86a5d96

File tree

6 files changed

+1875
-1008
lines changed

6 files changed

+1875
-1008
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" OFF)
63-
option(LLAMA_SANITIZE_ADDRESS "llama: enable address sanitizer" OFF)
64-
option(LLAMA_SANITIZE_UNDEFINED "llama: enable undefined sanitizer" OFF)
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)
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" ${LLAMA_STANDALONE})
129+
option(LLAMA_BUILD_EXAMPLES "llama: build examples" ON)
130130
option(LLAMA_BUILD_SERVER "llama: build server example" ON)
131131

132132
# add perf arguments

0 commit comments

Comments
 (0)