Skip to content

Commit

Permalink
metal : update ggml-metal.m from llama.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jan 17, 2024
1 parent e055f5f commit 8c745c3
Show file tree
Hide file tree
Showing 2 changed files with 1,411 additions and 1,420 deletions.
11 changes: 6 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,12 @@ if (GGML_ALL_WARNINGS)
endif()

if (NOT MSVC)
add_compile_options(
"$<$<COMPILE_LANGUAGE:C>:-Werror=vla>"
"$<$<COMPILE_LANGUAGE:CXX>:-Werror=vla>"
"$<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler;-Werror=vla>"
)
# TODO: temporary disabled until we figure out ggml-metal.m
#add_compile_options(
# "$<$<COMPILE_LANGUAGE:C>:-Werror=vla>"
# "$<$<COMPILE_LANGUAGE:CXX>:-Werror=vla>"
# "$<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler;-Werror=vla>"
#)
endif()

#
Expand Down
Loading

0 comments on commit 8c745c3

Please sign in to comment.