Skip to content

Commit b7626c2

Browse files
committed
Adding back in llama_native
1 parent 4b3e051 commit b7626c2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎build-args.cmake‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ else()
44
set(LLAMA_METAL_DEFAULT OFF)
55
endif()
66

7+
# general
8+
option(LLAMA_NATIVE "llama: enable -march=native flag" ON)
9+
710
# instruction set specific
811
if (LLAMA_NATIVE)
912
set(INS_ENB OFF)
@@ -633,4 +636,4 @@ if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
633636
endif()
634637
if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
635638
add_compile_definitions(_BSD_SOURCE)
636-
endif()
639+
endif()

0 commit comments

Comments
 (0)