compile php with multiple cpus

anything

Well-Known Member
#1
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.
 

cmanns

Well-Known Member
#2
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
 
Top