[sldev] I just sped up compile time by 4x
Brandon Husbands
xotmid at gmail.com
Sat Oct 17 23:22:06 PDT 2009
Using visual studio express 2005
Time to compile from clean install: about 15 mins.
Computer Specs
Quad core 3.g each proc
6g memory
Vista home Prem
How?
edit C:\libs\linden\indra\cmake\00-Common.cmake
set these values
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /Od /Zi /MDd /MP4"
CACHE STRING "C++ compiler debug options" FORCE)
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO
"${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /Od /Zi /MD /MP4"
CACHE STRING "C++ compiler release-with-debug options" FORCE)
set(CMAKE_CXX_FLAGS_RELEASE
"${CMAKE_CXX_FLAGS_RELEASE} ${LL_CXX_FLAGS} /O2 /Zi /MD /MP4"
CACHE STRING "C++ compiler release options" FORCE)
the value i addes was the /MP4
http://msdn.microsoft.com/en-us/library/bb385193.aspx
Multi proccessor 4 since i have 4 cpus
My cpus were at 100% the whole time and i was surfing, editing files etc.
Previously i was at 100% on only 1 cpu.
Also in the build in run options i set my max to 10 just for some overkill.
if i would have set this to one it probably would have built faster there
would not have been a io wait
Ill do another test soon!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20091018/1d8d9b7a/attachment.htm
More information about the SLDev
mailing list