]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
cmake : temporary remove VLA check (#1795)
authorGeorgi Gerganov <redacted>
Mon, 22 Jan 2024 12:51:42 +0000 (14:51 +0200)
committerGeorgi Gerganov <redacted>
Mon, 22 Jan 2024 12:51:42 +0000 (14:51 +0200)
CMakeLists.txt

index 567a58d80eab7a201fdfdace347f07c6194574b1..bab6e7ecf379781048467a3ab2d45295d326782e 100644 (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()