linux cmake builds slower than scons

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Posts: 60
Joined: Fri Oct 18, 2002 1:31 pm

linux cmake builds slower than scons

Postby adrian » Mon Nov 22, 2010 5:42 pm

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:

Code: Select all

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.

Posts: 544
Joined: Sun Nov 07, 2010 11:30 pm
Location: Hamilton, New Zealand

Postby ldo » Sat Dec 04, 2010 7:37 am

There are still Makefiles in the source tree. I find I can get a usable executable just using Make.

Return to “Coding Blender”

Who is online

Users browsing this forum: No registered users and 0 guests