pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc Update devel/cpuflags to 1.05:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/49b9cd88ce75
branches:  trunk
changeset: 522031:49b9cd88ce75
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Nov 30 23:24:39 2006 +0000

description:
Update devel/cpuflags to 1.05:
More NetBSD amd64 and hppa updates from Blair Sadewitz and
David H. Gutteridge respectively.
Plus another Linux entry from the ether

diffstat:

 devel/cpuflags/Makefile              |   4 ++--
 devel/cpuflags/files/cpuflags.Linux  |   3 ++-
 devel/cpuflags/files/cpuflags.NetBSD |  22 +++++++++++++++-------
 doc/CHANGES-2006                     |   3 ++-
 4 files changed, 21 insertions(+), 11 deletions(-)

diffs (103 lines):

diff -r 123f9b47293e -r 49b9cd88ce75 devel/cpuflags/Makefile
--- a/devel/cpuflags/Makefile   Thu Nov 30 22:55:31 2006 +0000
+++ b/devel/cpuflags/Makefile   Thu Nov 30 23:24:39 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.107 2006/10/12 12:41:46 abs Exp $
+# $NetBSD: Makefile,v 1.108 2006/11/30 23:24:39 abs Exp $
 #
 
-DISTNAME=      cpuflags-1.04
+DISTNAME=      cpuflags-1.05
 CATEGORIES=    sysutils
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 123f9b47293e -r 49b9cd88ce75 devel/cpuflags/files/cpuflags.Linux
--- a/devel/cpuflags/files/cpuflags.Linux       Thu Nov 30 22:55:31 2006 +0000
+++ b/devel/cpuflags/files/cpuflags.Linux       Thu Nov 30 23:24:39 2006 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: cpuflags.Linux,v 1.20 2006/09/15 14:37:32 abs Exp $
+# $NetBSD: cpuflags.Linux,v 1.21 2006/11/30 23:24:39 abs Exp $
 PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH
 
 AWK=awk
@@ -41,6 +41,7 @@
        "Pentium III (Coppermine)")     FLAGS='-march=pentium3'         ;;
        "Pentium III (Katmai)")         FLAGS='-march=pentium3'         ;;
        "AMD Athlon(tm) 64"*)           FLAGS='-march=athlon-xp'        ;;
+       "AMD Opteron(tm) Processor "*)  FLAGS='-march=opteron'          ;;
        "Intel(R) Celeron(R) CPU "* | "Intel(R) Xeon(TM) CPU "*)
            case "$hw_flags" in
                *" sse2 "*)
diff -r 123f9b47293e -r 49b9cd88ce75 devel/cpuflags/files/cpuflags.NetBSD
--- a/devel/cpuflags/files/cpuflags.NetBSD      Thu Nov 30 22:55:31 2006 +0000
+++ b/devel/cpuflags/files/cpuflags.NetBSD      Thu Nov 30 23:24:39 2006 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: cpuflags.NetBSD,v 1.66 2006/09/15 14:37:32 abs Exp $
+# $NetBSD: cpuflags.NetBSD,v 1.67 2006/11/30 23:24:39 abs Exp $
 PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH
 
 AWK=awk
@@ -63,7 +63,18 @@
            esac ;;
        esac ;;
 
-    i386) case $hw_model in
+    hppa)
+       case "$(egrep '^cpu0 ' /var/run/dmesg.boot)" in
+          *\ PA7100\ *)       FLAGS="-march=1.1 -mschedule=7100" ;; # untested
+          *\ PA7150\ *)       FLAGS="-march=1.1 -mschedule=7100" ;; # untested
+          *\ PA7100LC\ *)     FLAGS="-march=1.1 -mschedule=7100LC" ;; # untested
+          *\ PA7200\ *)       FLAGS="-march=1.1 -mschedule=7200" ;; # untested
+          *\ PA7300LC\ *)     FLAGS="-march=1.1 -mschedule=7300" ;; # B180L
+          *\ PA8*)            FLAGS="-march=2.0 -mschedule=8000" ;; # untested
+       esac
+       ;;
+
+    i386 | x86_64) case $hw_model in
        *Intel\ Pentium/MMX\ *)         FLAGS='-march=pentium-mmx'      ;;
        *Intel\ Pentium\ II\ *)         FLAGS='-march=pentium2'         ;;
        *Intel\ Pentium\ III\ *)        FLAGS='-march=pentium3'         ;;
@@ -73,6 +84,7 @@
        *Intel\ Pentium\ M\ *)          FLAGS='-march=pentium-m'        ;;
        *Intel\ Mobile\ Pentium\ 4\ *)  FLAGS='-march=pentium4m'        ;;
        *Intel\ Pentium\ 4\ *)          FLAGS='-march=pentium4'         ;;
+       *Intel\(R\)\ Pentium\(R\)\ D*)  FLAGS='-march=nocona'           ;;
        *VIA\ C3*\ *)                   FLAGS='-march=c3'               ;;
        *AMD\ K6-III*)                  FLAGS='-march=k6-3'             ;;
        *AMD\ K6-2*)                    FLAGS='-march=k6-2'             ;;
@@ -142,7 +154,7 @@
        7410\ *)                FLAGS='-mcpu=7400'      ;; # powerbook g4
        7447A\ *)               FLAGS='-mcpu=7450'      ;; #
        7450\ *)                FLAGS='-mcpu=7450'      ;; # tibook 550
-       750\ *)                 FLAGS='-mcpu=750'       ;; # Untested
+       750\ *)                FLAGS='-mcpu=750'       ;; # orig. iBook
 
     esac ;;
 
@@ -162,10 +174,6 @@
        *[\ \(]SUNW,UltraSPARC*) FLAGS='-mcpu=v9'               ;; # Ultra
     esac ;;
 
-    x86_64) # No x86_64 specific gcc optimisations yet
-       NONE=1
-       ;;
-
     vax) # No VAX specific gcc optimisations available
        NONE=1
        ;;
diff -r 123f9b47293e -r 49b9cd88ce75 doc/CHANGES-2006
--- a/doc/CHANGES-2006  Thu Nov 30 22:55:31 2006 +0000
+++ b/doc/CHANGES-2006  Thu Nov 30 23:24:39 2006 +0000
@@ -1,4 +1,4 @@
->$NetBSD: CHANGES-2006,v 1.1900 2006/11/30 14:08:54 gdt Exp $
+>$NetBSD: CHANGES-2006,v 1.1901 2006/11/30 23:25:08 abs Exp $
 
 Changes to the packages collection and infrastructure in 2006:
 
@@ -5471,3 +5471,4 @@
        Removed www/firefox2-bin-flash [ghen 2006-11-30]
        Added sysutils/cpmtools version 2.5 [obache 2006-11-30]
        Updated security/EasyPG to 0.0.8 [gdt 2006-11-30]
+       Updated devel/cpuflags to 1.05 [abs 2006-11-30]



Home | Main Index | Thread Index | Old Index