cmake : temporary remove VLA check (#1795)

This commit is contained in:
Georgi Gerganov 2024-01-22 14:51:42 +02:00
parent d6b9be21d7
commit 41026c1e4b
No known key found for this signature in database
GPG Key ID: BF970631944C16B7

View File

@ -315,7 +315,8 @@ if (WHISPER_ALL_WARNINGS)
endif()
if (NOT MSVC)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=vla")
# TODO: temporary disabled until we figure out ggml-metal.m
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=vla")
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-math-errno -ffinite-math-only -funsafe-math-optimizations")
endif()