[Vm-dev] [commit][3467] Fork the linux builds in makeallclean.

Levente Uzonyi leves at elte.hu
Sat Oct 3 18:10:38 UTC 2015


Wouldn't it be worth adding "-j $[$(nproc) * 2]" to make in the mvm file?
I always do it when I'm building a VM on linux.

Levente

On Fri, 2 Oct 2015, commits at squeakvm.org wrote:

>
> Revision: 3467
> Author:   eliot
> Date:     2015-10-02 10:52:21 -0700 (Fri, 02 Oct 2015)
> Log Message:
> -----------
> Fork the linux builds in makeallclean.  On typical servers it's faster.
>
> Modified Paths:
> --------------
>    branches/Cog/build.linux32ARM/newspeak.cog.spur/makeallclean
>    branches/Cog/build.linux32ARM/newspeak.stack.spur/makeallclean
>    branches/Cog/build.linux32ARM/squeak.cog.spur/makeallclean
>    branches/Cog/build.linux32ARM/squeak.stack.spur/makeallclean
>    branches/Cog/build.linux32ARM/squeak.stack.v3/makeallclean
>    branches/Cog/build.linux32x86/glue.cog.spur/makeallclean
>    branches/Cog/build.linux32x86/newspeak.cog.spur/makeallclean
>    branches/Cog/build.linux32x86/newspeak.sista.spur/makeallclean
>    branches/Cog/build.linux32x86/newspeak.stack.spur/makeallclean
>    branches/Cog/build.linux32x86/squeak.cog.spur/makeallclean
>    branches/Cog/build.linux32x86/squeak.cog.v3/makeallclean
>    branches/Cog/build.linux32x86/squeak.sista.spur/makeallclean
>    branches/Cog/build.linux32x86/squeak.stack.spur/makeallclean
>    branches/Cog/build.linux32x86/squeak.stack.v3/makeallclean
>    branches/Cog/build.linux64x64/newspeak.cog.spur/makeallclean
>    branches/Cog/build.linux64x64/newspeak.sista.spur/makeallclean
>    branches/Cog/build.linux64x64/newspeak.stack.spur/makeallclean
>    branches/Cog/build.linux64x64/squeak.cog.spur/makeallclean
>    branches/Cog/build.linux64x64/squeak.sista.spur/makeallclean
>    branches/Cog/build.linux64x64/squeak.stack.spur/makeallclean
>
> Modified: branches/Cog/build.linux32ARM/newspeak.cog.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32ARM/newspeak.cog.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32ARM/newspeak.cog.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux32ARM/newspeak.stack.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32ARM/newspeak.stack.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32ARM/newspeak.stack.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux32ARM/squeak.cog.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32ARM/squeak.cog.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32ARM/squeak.cog.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux32ARM/squeak.stack.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32ARM/squeak.stack.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32ARM/squeak.stack.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux32ARM/squeak.stack.v3/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32ARM/squeak.stack.v3/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32ARM/squeak.stack.v3/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux32x86/glue.cog.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32x86/glue.cog.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32x86/glue.cog.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux32x86/newspeak.cog.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32x86/newspeak.cog.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32x86/newspeak.cog.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux32x86/newspeak.sista.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32x86/newspeak.sista.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32x86/newspeak.sista.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux32x86/newspeak.stack.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32x86/newspeak.stack.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32x86/newspeak.stack.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux32x86/squeak.cog.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32x86/squeak.cog.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32x86/squeak.cog.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux32x86/squeak.cog.v3/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32x86/squeak.cog.v3/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32x86/squeak.cog.v3/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux32x86/squeak.sista.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32x86/squeak.sista.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32x86/squeak.sista.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux32x86/squeak.stack.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32x86/squeak.stack.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32x86/squeak.stack.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux32x86/squeak.stack.v3/makeallclean
> ===================================================================
> --- branches/Cog/build.linux32x86/squeak.stack.v3/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux32x86/squeak.stack.v3/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux64x64/newspeak.cog.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux64x64/newspeak.cog.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux64x64/newspeak.cog.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux64x64/newspeak.sista.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux64x64/newspeak.sista.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux64x64/newspeak.sista.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux64x64/newspeak.stack.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux64x64/newspeak.stack.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux64x64/newspeak.stack.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux64x64/squeak.cog.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux64x64/squeak.cog.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux64x64/squeak.cog.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux64x64/squeak.sista.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux64x64/squeak.sista.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux64x64/squeak.sista.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
> Modified: branches/Cog/build.linux64x64/squeak.stack.spur/makeallclean
> ===================================================================
> --- branches/Cog/build.linux64x64/squeak.stack.spur/makeallclean	2015-10-01 02:00:52 UTC (rev 3466)
> +++ branches/Cog/build.linux64x64/squeak.stack.spur/makeallclean	2015-10-02 17:52:21 UTC (rev 3467)
> @@ -2,5 +2,6 @@
> trap 'exit 2' HUP INT PIPE TERM
> for d in `dirname $0`/build*; do
> 	(cd $d
> -	 echo y | ./mvm "$@")
> +	 echo y | ./mvm "$@") &
> done
> +wait
>
>


More information about the Vm-dev mailing list