
07-20-2011, 01:02 PM
|
|
Senior Member
|
|
Join Date: Jun 2010
Posts: 100
|
|
Quote:
Originally Posted by anything
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
|