]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
tests : undefine NDEBUG so the asserts always work (#481)
authorCebtenzzre <redacted>
Mon, 28 Aug 2023 11:36:58 +0000 (07:36 -0400)
committerGitHub <redacted>
Mon, 28 Aug 2023 11:36:58 +0000 (14:36 +0300)
tests/CMakeLists.txt

index b31079b5c5b131b1b84855351c040d3dddf06598..a1cedf0f8d738b75a8890fe107cfa9c5a2c9b156 100644 (file)
@@ -147,6 +147,9 @@ if (GGML_OPENBLAS)
     endif()
 endif()
 
+# undefine NDEBUG so asserts don't get disabled in tests
+add_definitions(-UNDEBUG)
+
 #
 # test-vec0