[SCM] mplayer packaging branch, ubuntu, updated. debian/1.0.rc3++final-0ubuntu2

Felipe Sateler fsateler at gmail.com
Thu Jun 3 15:08:53 UTC 2010


On Thu, Jun 3, 2010 at 09:06,  <siretart at users.alioth.debian.org> wrote:
> +# Support multiple makes at once
> +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
> +NUMJOBS = -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
> +else
> +# on i386 and amd64, we query the system unless overriden by DEB_BUILD_OPTIONS
> +ifeq      ($(DEB_HOST_ARCH),i386)
> +NUMJOBS := -j$(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
> +else ifeq ($(DEB_HOST_ARCH),amd64)
> +NUMJOBS := -j$(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
> +endif
> +endif
> +

For this particular case, I think what you actually want is
DEB_BUILD_ARCH. However, I'm not sure enabling parallel building by
default is a good idea. For example, buildds probably do more than one
build at a time.

-- 

Saludos,
Felipe Sateler



More information about the pkg-multimedia-maintainers mailing list