Skip to content

Commit

Permalink
cmake : temporary remove VLA check (openai#1795)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jan 22, 2024
1 parent d6b9be2 commit 41026c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 41026c1

Please sign in to comment.