Skip to content

Commit 55d1a79

Browse files
committed
cont : remove -g flag
ggml-ci
1 parent 91db846 commit 55d1a79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ggml/src/ggml-metal/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ else()
7171
# note: adding -fno-inline fixes the tests when using MTL_SHADER_VALIDATION=1
7272
# note: unfortunately, we have to call it default.metallib instead of ggml.metallib
7373
# ref: https://github.com/ggerganov/whisper.cpp/issues/1720
74-
set(XC_FLAGS -fno-fast-math -fno-inline -g)
74+
# note: adding -g causes segmentation fault during compile
75+
#set(XC_FLAGS -fno-fast-math -fno-inline -g)
76+
set(XC_FLAGS -fno-fast-math -fno-inline)
7577
else()
7678
set(XC_FLAGS -O3)
7779
endif()

0 commit comments

Comments
 (0)