[vlc-devel] [PATCH 1/3] tools: set CPUS correctly on Solaris
Rafaël Carré
funman at videolan.org
Tue Mar 11 20:20:43 CET 2014
OK, of course
On 03/11/14 20:12, Sean McGovern wrote:
> ---
> extras/tools/bootstrap | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/extras/tools/bootstrap b/extras/tools/bootstrap
> index 578d8e6..8465f8f 100755
> --- a/extras/tools/bootstrap
> +++ b/extras/tools/bootstrap
> @@ -78,6 +78,9 @@ case `uname` in
> gcc-4.2 --version >/dev/null 2>&1 && CC=CC=gcc-4.2
> g++-4.2 --version >/dev/null 2>&1 && CXX=CXX=g++-4.2
> ;;
> + SunOS)
> + CPUS=`/usr/bin/kstat -p :::state | grep 'on-line$' | wc -l | sed 's/ //g'`
> + ;;
> *)
> CPUS=1 # default
> ;;
>
More information about the vlc-devel
mailing list