diff mbox series

[ovs-dev,1/6] build-windows: Suppress output from MSBuild

Message ID 20171031172537.2292-2-aserdean@ovn.org
State Superseded
Headers show
Series installer fixes on msbuild64 | expand

Commit Message

Alin-Gabriel Serdean Oct. 31, 2017, 5:25 p.m. UTC
Add `nologo` parameter to MSBuild to suppress the banner.

This will make tidier log messages.

Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
---
 Makefile.am                  | 8 ++++----
 datapath-windows/automake.mk | 4 ++--
 windows/automake.mk          | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

Comments

Alin Balutoiu Nov. 2, 2017, 5:16 p.m. UTC | #1
Acked-by: Alin Balutoiu <abalutoiu@cloudbasesolutions.com>


> -----Original Message-----
> From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-
> bounces@openvswitch.org] On Behalf Of Alin Gabriel Serdean
> Sent: Tuesday, October 31, 2017 6:26 PM
> To: dev@openvswitch.org
> Cc: Alin Gabriel Serdean <aserdean@ovn.org>
> Subject: [ovs-dev] [PATCH 1/6] build-windows: Suppress output from
> MSBuild
> 
> Add `nologo` parameter to MSBuild to suppress the banner.
> 
> This will make tidier log messages.
> 
> Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
> ---
>  Makefile.am                  | 8 ++++----
>  datapath-windows/automake.mk | 4 ++--
>  windows/automake.mk          | 2 +-
>  3 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 5ceb382..ebbc045 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -406,13 +406,13 @@ CLEANFILES += manpage-dep-check  if
> VSTUDIO_DDK  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)"
> /property:Version="$(PACKAGE_VERSION)"
> -	MSBuild.exe //maxcpucount datapath-windows/ovsext.sln
> /target:Build /property:Configuration="Win8.1$(VSTUDIO_CONFIG)"
> /property:Version="$(PACKAGE_VERSION)"
> +	MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln
> /target:Build /property:Configuration="Win8$(VSTUDIO_CONFIG)"
> /property:Version="$(PACKAGE_VERSION)"
> +	MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln
> /target:Build /property:Configuration="Win8.1$(VSTUDIO_CONFIG)"
> /property:Version="$(PACKAGE_VERSION)"
> 
>  CLEAN_LOCAL += ovsext_clean
>  ovsext_clean: datapath-windows/ovsext.sln
> -	MSBuild.exe //maxcpucount datapath-windows/ovsext.sln
> /target:Clean /property:Configuration="Win8$(VSTUDIO_CONFIG)"
> /property:Version="$(PACKAGE_VERSION)"
> -	MSBuild.exe //maxcpucount datapath-windows/ovsext.sln
> /target:Clean /property:Configuration="Win8.1$(VSTUDIO_CONFIG)"
> /property:Version="$(PACKAGE_VERSION)"
> +	MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln
> /target:Clean /property:Configuration="Win8$(VSTUDIO_CONFIG)"
> /property:Version="$(PACKAGE_VERSION)"
> +	MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln
> /target:Clean /property:Configuration="Win8.1$(VSTUDIO_CONFIG)"
> /property:Version="$(PACKAGE_VERSION)"
>  endif
>  .PHONY: ovsext
> 
> diff --git a/datapath-windows/automake.mk b/datapath-
> windows/automake.mk index 36018ea..3820041 100644
> --- a/datapath-windows/automake.mk
> +++ b/datapath-windows/automake.mk
> @@ -86,5 +86,5 @@ EXTRA_DIST += \
>  	datapath-windows/ovsext/resource.h
> 
>  datapath_windows_analyze: all
> -	MSBuild.exe //maxcpucount datapath-windows/ovsext.sln
> /target:Build /property:Configuration="Win8.1Analyze"
> -	MSBuild.exe //maxcpucount datapath-windows/ovsext.sln
> /target:Build /property:Configuration="Win8Analyze"
> +	MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln
> /target:Build /property:Configuration="Win8.1Analyze"
> +	MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln
> /target:Build /property:Configuration="Win8Analyze"
> diff --git a/windows/automake.mk b/windows/automake.mk index
> 4fec99e..11ab4c7 100644
> --- a/windows/automake.mk
> +++ b/windows/automake.mk
> @@ -35,7 +35,7 @@ windows_installer: all
>  	cp -f $(top_srcdir)/datapath-
> windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.cat
> windows/ovs-windows-installer/Driver/Win8.1/ovsext.cat
>  	cp -f $(top_srcdir)/datapath-
> windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.inf
> windows/ovs-windows-installer/Driver/Win8.1/ovsext.inf
>  	cp -f $(top_srcdir)/datapath-
> windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.sys
> windows/ovs-windows-installer/Driver/Win8.1/ovsext.sys
> -	MSBuild.exe windows/ovs-windows-installer.sln /target:Build
> /property:Configuration="Release"
> /property:Version="$(PACKAGE_VERSION)"
> +	MSBuild.exe windows/ovs-windows-installer.sln //nologo
> /target:Build /property:Configuration="Release"
> /property:Version="$(PACKAGE_VERSION)"
> 
>  EXTRA_DIST += \
>  	windows/automake.mk \
> --
> 2.10.2.windows.1
> 
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
diff mbox series

Patch

diff --git a/Makefile.am b/Makefile.am
index 5ceb382..ebbc045 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -406,13 +406,13 @@  CLEANFILES += manpage-dep-check
 if VSTUDIO_DDK
 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)" /property:Version="$(PACKAGE_VERSION)"
-	MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win8.1$(VSTUDIO_CONFIG)" /property:Version="$(PACKAGE_VERSION)"
+	MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win8$(VSTUDIO_CONFIG)" /property:Version="$(PACKAGE_VERSION)"
+	MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win8.1$(VSTUDIO_CONFIG)" /property:Version="$(PACKAGE_VERSION)"
 
 CLEAN_LOCAL += ovsext_clean
 ovsext_clean: datapath-windows/ovsext.sln
-	MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Clean /property:Configuration="Win8$(VSTUDIO_CONFIG)" /property:Version="$(PACKAGE_VERSION)"
-	MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Clean /property:Configuration="Win8.1$(VSTUDIO_CONFIG)" /property:Version="$(PACKAGE_VERSION)"
+	MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln /target:Clean /property:Configuration="Win8$(VSTUDIO_CONFIG)" /property:Version="$(PACKAGE_VERSION)"
+	MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln /target:Clean /property:Configuration="Win8.1$(VSTUDIO_CONFIG)" /property:Version="$(PACKAGE_VERSION)"
 endif
 .PHONY: ovsext
 
diff --git a/datapath-windows/automake.mk b/datapath-windows/automake.mk
index 36018ea..3820041 100644
--- a/datapath-windows/automake.mk
+++ b/datapath-windows/automake.mk
@@ -86,5 +86,5 @@  EXTRA_DIST += \
 	datapath-windows/ovsext/resource.h
 
 datapath_windows_analyze: all
-	MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win8.1Analyze"
-	MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win8Analyze"
+	MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win8.1Analyze"
+	MSBuild.exe //nologo //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win8Analyze"
diff --git a/windows/automake.mk b/windows/automake.mk
index 4fec99e..11ab4c7 100644
--- a/windows/automake.mk
+++ b/windows/automake.mk
@@ -35,7 +35,7 @@  windows_installer: all
 	cp -f $(top_srcdir)/datapath-windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.cat windows/ovs-windows-installer/Driver/Win8.1/ovsext.cat
 	cp -f $(top_srcdir)/datapath-windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.inf windows/ovs-windows-installer/Driver/Win8.1/ovsext.inf
 	cp -f $(top_srcdir)/datapath-windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.sys windows/ovs-windows-installer/Driver/Win8.1/ovsext.sys
-	MSBuild.exe windows/ovs-windows-installer.sln /target:Build /property:Configuration="Release" /property:Version="$(PACKAGE_VERSION)"
+	MSBuild.exe windows/ovs-windows-installer.sln //nologo /target:Build /property:Configuration="Release" /property:Version="$(PACKAGE_VERSION)"
 
 EXTRA_DIST += \
 	windows/automake.mk \