Shouldn't just adding /MP to compile flags be enough? I recall docu saying that /MP will default number of concurrent compiles, to number of CPUs in the box.
On Sun, Oct 18, 2009 at 8:22 AM, Brandon Husbands <[email protected]> wrote: > 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! > > _______________________________________________ > Policies and (un)subscribe information available here: > http://wiki.secondlife.com/wiki/SLDev > Please read the policies before posting to keep unmoderated posting > privileges > _______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/SLDev Please read the policies before posting to keep unmoderated posting privileges
