View Single Post
  #2  
Old 07-20-2011, 01:02 PM
cmanns cmanns is offline
Senior Member
 
Join Date: Jun 2010
Posts: 100
Quote:
Originally Posted by anything View Post
Suggest adding an option to detect and use all cpu's when compiling php.
On an 8 core system I changed your build script from "make" to "make -j 8" and reduced my php compile time down from "this is taking too long" to less than 30 seconds.

Of course, this option should be optional. Some day I may want it to go slow so that the server is not slow for the web users.
I believe this can cause compilation anomalies.

Just like my compilation with CFLAGS='-Os -march={arch} -msse2 -msse3 -mfpmath=sse -m{arch}' \

wouldn't ever be optional :P
__________________
-William C.Manns Owner of XenServ Co
Need LiteSpeed Hosting, Server Tuning, or Other Help I'm your guy

http://xenserv.com http://evilpuma.com
Reply With Quote