From 12a9620a124fca9c8f0614e493c94ed2372d058b Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Mon, 29 Jul 2024 13:37:17 +0200 Subject: [PATCH] misc/opennn: fix build on powerpc cc1plus: out of memory allocating 81890032 bytes after a total of 0 bytes --- misc/opennn/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/opennn/Makefile b/misc/opennn/Makefile index 9b9cb4b041dd..a48d5e4a8f5e 100644 --- a/misc/opennn/Makefile +++ b/misc/opennn/Makefile @@ -25,6 +25,7 @@ CMAKE_OFF= OpenNN_BUILD_EXAMPLES OpenNN_BUILD_TESTS CMAKE_TESTING_ON= OpenNN_BUILD_TESTS # some tests fail, see https://github.com/Artelnics/opennn/issues/229 CMAKE_TESTING_TARGET= tests +CXXFLAGS_powerpc= -O1 CXXFLAGS_powerpc64= -mvsx LDFLAGS+= -pthread LDFLAGS_powerpc= -latomic