From 41026c1e4bc2b03fbb45e8d85744bdd959970f44 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Mon, 22 Jan 2024 14:51:42 +0200 Subject: [PATCH] cmake : temporary remove VLA check (#1795) --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 567a58d80..bab6e7ecf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()