Previous Thread  Next Thread

chat icon linux cmake builds slower than scons


Posted: Mon Nov 22, 2010 5:42 pm
Joined: 18 Oct 2002
Posts: 60
I would like to be able to build optimized blender with cmake but find that it is up to 6 times slower at rendering than my scons builds.
I have an Amd athlon64 (san diego) chip running linux slackware 64bit.
Cmake detects "sse2" ok and builds correctly but renders very slowly.
The scon flags I use are:
CCFLAGS = ['-pipe','-fPIC','-march=athlon64','-msse','-msse2','-mmmx','-mfpmath=sse','-funsigned-char','-fno-strict-aliasing']
CXXFLAGS = ['-pipe','-fPIC','-march=athlon64','-msse','-msse2','-mmmx','-mfpmath=sse','-funsigned-char','-fno-strict-aliasing']
REL_CFLAGS = ['-O2','-fomit-frame-pointer','-funroll-loops']
REL_CCFLAGS = ['-O2','-fomit-frame-pointer','-funroll-loops']

Any suggestions, or flags to include for cmake would be appreciated.
Thanks in advance.
Reply with quote


Posted: Sat Dec 04, 2010 7:37 am
Joined: 07 Nov 2010
Posts: 544
There are still Makefiles in the source tree. I find I can get a usable executable just using Make.
Reply with quote

Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group