Skip to content

Commit d076b6a

Browse files
committed
ci : use sanitizer builds only in Debug mode
ggml-ci
1 parent 9945478 commit d076b6a

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ jobs:
234234
strategy:
235235
matrix:
236236
sanitizer: [ADDRESS, THREAD, UNDEFINED]
237-
build_type: [Debug, Release]
237+
build_type: [Debug]
238238

239239
steps:
240240
- name: Clone

src/unicode.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,7 @@
1212
#include <cstdint>
1313
#include <locale>
1414
#include <map>
15-
16-
// silence warnings triggered by a gcc bug when using sanitizers
17-
// ref: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562#c21
18-
#pragma GCC diagnostic push
19-
#if defined __SANITIZE_ADDRESS__ && defined __OPTIMIZE__
20-
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
21-
#endif
2215
#include <regex>
23-
#pragma GCC diagnostic pop
24-
2516
#include <stdexcept>
2617
#include <string>
2718
#include <unordered_map>

0 commit comments

Comments
 (0)