forked from Lainports/freebsd-ports
misc/opennn: fix build on powerpc
cc1plus: out of memory allocating 81890032 bytes after a total of 0 bytes
This commit is contained in:
parent
a96a50a7c8
commit
12a9620a12
1 changed files with 1 additions and 0 deletions
|
|
@ -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_ON= OpenNN_BUILD_TESTS # some tests fail, see https://github.com/Artelnics/opennn/issues/229
|
||||||
CMAKE_TESTING_TARGET= tests
|
CMAKE_TESTING_TARGET= tests
|
||||||
|
|
||||||
|
CXXFLAGS_powerpc= -O1
|
||||||
CXXFLAGS_powerpc64= -mvsx
|
CXXFLAGS_powerpc64= -mvsx
|
||||||
LDFLAGS+= -pthread
|
LDFLAGS+= -pthread
|
||||||
LDFLAGS_powerpc= -latomic
|
LDFLAGS_powerpc= -latomic
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue