[ovs-dev] [PATCH] build-windows: Enable parallel jobs for msbuild
Sairam Venugopal
vsairam at vmware.com
Tue Feb 16 19:25:01 UTC 2016
Minor - can use /m instead.
Acked-by: Sairam Venugopal <vsairam at vmware.com>
On 2/10/16, 7:09 PM, "Alin Serdean" <aserdean at cloudbasesolutions.com>
wrote:
>This patch enables parallel build from the command line.
>
>If vstudio_config is defined change from:
>make ovsext_make to make ovsext and also update the dependecy for it,
>since the project requires OvsDpInterface.h to be built.
>
>Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
>---
> Makefile.am | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
>diff --git a/Makefile.am b/Makefile.am
>index 75ccadf..e882d68 100644
>--- a/Makefile.am
>+++ b/Makefile.am
>@@ -383,17 +383,17 @@ $(srcdir)/manpages.mk: $(MAN_ROOTS)
>build-aux/sodepends.pl
> CLEANFILES += manpage-dep-check
>
> if VSTUDIO_DDK
>-ALL_LOCAL += ovsext_make
>-ovsext_make: datapath-windows/ovsext.sln
>- MSBuild.exe datapath-windows/ovsext.sln /target:Build
>/property:Configuration="Win8$(VSTUDIO_CONFIG)"
>- MSBuild.exe datapath-windows/ovsext.sln /target:Build
>/property:Configuration="Win8.1$(VSTUDIO_CONFIG)"
>+ALL_LOCAL += ovsext
>+ovsext: datapath-windows/ovsext.sln
>$(srcdir)/datapath-windows/include/OvsDpInterface.h
>+ MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Build
>/property:Configuration="Win8$(VSTUDIO_CONFIG)"
>+ MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Build
>/property:Configuration="Win8.1$(VSTUDIO_CONFIG)"
>
> CLEAN_LOCAL += ovsext_clean
> ovsext_clean: datapath-windows/ovsext.sln
>- MSBuild.exe datapath-windows/ovsext.sln /target:Clean
>/property:Configuration="Win8$(VSTUDIO_CONFIG)"
>- MSBuild.exe datapath-windows/ovsext.sln /target:Clean
>/property:Configuration="Win8.1$(VSTUDIO_CONFIG)"
>+ MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Clean
>/property:Configuration="Win8$(VSTUDIO_CONFIG)"
>+ MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Clean
>/property:Configuration="Win8.1$(VSTUDIO_CONFIG)"
> endif
>-.PHONY: ovsext_make
>+.PHONY: ovsext
>
> dist-hook: $(DIST_HOOKS)
> all-local: $(ALL_LOCAL)
>--
>1.9.5.msysgit.0
>_______________________________________________
>dev mailing list
>dev at openvswitch.org
>https://urldefense.proofpoint.com/v2/url?u=http-3A__openvswitch.org_mailma
>n_listinfo_dev&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=Dc
>ruz40PROJ40ROzSpxyQSLw6fcrOWpJgEcEmNR3JEQ&m=hFBiiyGWQjJVAdUutWfJq3kiGqGusH
>L_HwhlnWDMnyQ&s=Q8kyNqLylnQhvm5ljDd8jUoxo7RcRwvXuW0eTWv_GQg&e=
More information about the dev
mailing list