diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-02-21 08:15:39 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-02-22 08:25:56 +0000 |
commit | ed26c01be15ebc9031ee5ef709d88d524f0fc16d (patch) | |
tree | 1629e51b40fe52a3cc85795dd34c5f08b9483458 /python3 | |
parent | c04c95958030bd4872fbbc0b3d4bc996fb041488 (diff) |
quiet external module build log unless failure
ExternalProject usually involve a configure and a make
step that produce a bunch of output usually irrelevant
including a large number of warning and other mess.
now that everything is pretty much in tail_build
these output get interleaved with useful output from
the build of the product and actually drown them in a logorrhea
of messy noise.
This store the output of external modules in a log file
and only print them as a whole if the module failed do build.
on a non-verbose build.
Change-Id: I3abfcccd6d16821a9e061a71e031b427cc283647
Reviewed-on: https://gerrit.libreoffice.org/2304
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'python3')
-rw-r--r-- | python3/ExternalProject_python3.mk | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/python3/ExternalProject_python3.mk b/python3/ExternalProject_python3.mk index a2dbb096394d..4112e64b59aa 100644 --- a/python3/ExternalProject_python3.mk +++ b/python3/ExternalProject_python3.mk @@ -28,23 +28,23 @@ ifeq ($(OS)$(COM),WNTMSC) # nmake is invoked $(call gb_ExternalProject_get_state_target,python3,build) : ifeq ($(VCVER),110) - cd $(EXTERNAL_WORKDIR)/PCbuild \ + $(call gb_ExternalProject_run,build,\ && MAKEFLAGS= MSBuild.exe pcbuild.sln /t:Build /p:Configuration=Release /p:PlatformToolset=v110 /p:VisualStudioVersion=11.0 \ && cd $(EXTERNAL_WORKDIR) \ && ln -s PCbuild LO_lib \ - && touch $@ + ,PCBuild) else ifeq ($(VCVER),100) - cd $(EXTERNAL_WORKDIR)/PCbuild \ - && MAKEFLAGS= MSBuild.exe pcbuild.sln /t:Build /p:Configuration=Release /ToolsVersion:4.0 \ - && cd $(EXTERNAL_WORKDIR) \ - && ln -s PCbuild LO_lib \ - && touch $@ + $(call gb_ExternalProject_run,build,\ + MAKEFLAGS= MSBuild.exe pcbuild.sln /t:Build /p:Configuration=Release /ToolsVersion:4.0 \ + && cd $(EXTERNAL_WORKDIR) \ + && ln -s PCbuild LO_lib \ + ,PCBuild) else ifeq ($(VCVER),90) - cd $(EXTERNAL_WORKDIR)/PC/VS9.0 \ - && MAKEFLAGS= $(COMPATH)/vcpackages/vcbuild.exe pcbuild.sln "Release|$(if $(filter INTEL,$(CPUNAME)),Win32,x64)" \ - && cd $(EXTERNAL_WORKDIR) \ - && ln -s PC/VS9.0 LO_lib \ - && touch $@ + $(call gb_ExternalProject_run,build,\ + MAKEFLAGS= $(COMPATH)/vcpackages/vcbuild.exe pcbuild.sln "Release|$(if $(filter INTEL,$(CPUNAME)),Win32,x64)" \ + && cd $(EXTERNAL_WORKDIR) \ + && ln -s PC/VS9.0 LO_lib \ + ,PC/VS9.0) endif else @@ -65,8 +65,8 @@ ifeq ($(OS),AIX) endif $(call gb_ExternalProject_get_state_target,python3,build) : - cd $(EXTERNAL_WORKDIR) \ - && ./configure \ + $(call gb_ExternalProject_run,build,\ + ./configure \ $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ --with-system-expat \ $(if $(filter TRUE,$(ENABLE_VALGRIND)),--with-valgrind) \ @@ -90,9 +90,9 @@ $(call gb_ExternalProject_get_state_target,python3,build) : $(if $(filter WNT-GCC,$(OS)-$(COM)), -shared-libgcc \ $(if $(filter YES,$(MINGW_SHARED_GCCLIB)),-Wl$(COMMA)--enable-runtime-pseudo-reloc-v2 -Wl$(COMMA)--export-all-symbols)) \ )" \ - && MAKEFLAGS=$(if $(VERBOSE)$(verbose),,s) $(MAKE) $(if $(filter MACOSX,$(OS)), DESTDIR=$(EXTERNAL_WORKDIR)/python-inst install) \ - && ln -s build/lib.* LO_lib \ - && touch $@ + && MAKEFLAGS=$(if $(VERBOSE)$(verbose),,s) $(MAKE) $(if $(filter MACOSX,$(OS)), DESTDIR=$(EXTERNAL_WORKDIR)/python-inst install) \ + && ln -s build/lib.* LO_lib \ + ) endif |