From e02b8fb02de5358bf86f06c4f3430a3bdfcc65f7 Mon Sep 17 00:00:00 2001 From: Alin Serdean Date: Thu, 11 Feb 2016 03:09:32 +0000 Subject: [PATCH] build-windows: Enable parallel jobs for msbuild 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 Acked-by: Sairam Venugopal Signed-off-by: Ben Pfaff --- Makefile.am | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index 75ccadfb0..e882d682f 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) -- 2.20.1