1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

misc/opennn: fix build on powerpc

cc1plus: out of memory allocating 81890032 bytes after a total of 0 bytes
This commit is contained in:
Piotr Kubaj 2024-07-29 13:37:17 +02:00
parent a96a50a7c8
commit 12a9620a12

View File

@ -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