Request 312 was acted upon.
_________________________________________________________________________

         URL: https://rt.openpkg.org/id/312
      Ticket: [OpenPKG #312]
     Subject: Fixes for mflags -O in rpmtool
  Requestors: [EMAIL PROTECTED]
       Queue: openpkg
       Owner: Nobody
      Status: open
 Transaction: Correspondence added by rse
        Time: Sat Jan 24 12:55:20 2004
________________________________________________________________________

On Mon, Jan 19, 2004, SÃ?Ã?awek Ã?ÃÂak via RT wrote:

> SunOS and Tru64 can be handled in one case branch:
>
>           case $platform in
>             *:SunOS:5.*:* | *:OSF1:*:* )
>                if [ ".$isgmake" = .yes ]; then
>                    n=`psrinfo | wc -l`
>                    if [ ".$n" != . ]; then
>                        if [ $n -gt 1 ]; then
>                            n=`expr $n \* 2`
>                            mflags="$mflags -j$n"
>                        fi
>                    fi
>                fi
>                ;;

This was already the case in OpenPKG-CURRENT.

> Fix for HP-UX is:
>
>             *:HP-UX:*:* )
>                if [ ".$isgmake" = .yes ]; then
>                        n=`ioscan -d processor -k -F | wc -l`
>                        if [ ".$n" != . ]; then
>                            if [ $n -gt 1 ]; then
>                                n=`expr $n \* 2`
>                                mflags="$mflags -j$n"
>                            fi
>                        fi
>                fi
>                ;;

Thanks. This is now included in OpenPKG-CURRENT's
openpkg-20040124-20040124 and higher.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com


______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to