Commit graph

158 commits

Author SHA1 Message Date
heinz
06978ae3c8 Corrected quoting of author's email address. 2006-07-28 23:22:37 +00:00
abs
be33eaa147 Update devel/cpuflags to 1.01:
match 7447A as 7450 - from Radek Kujawa
2006-06-21 11:15:14 +00:00
abs
6915d66727 update devel/cpuflags to 1.00
- avoid 'Unclosed substitution for DISTNAME (/ missing)' warning caused by
  optimize_gcc.mk, fix from Auster Vl
2006-06-13 09:56:00 +00:00
dogcow
68052c76fe Pentium-M should be scheduled as pentium-m, not pentium4m. 2006-05-16 16:43:10 +00:00
abs
ae2da2cd22 update cpuflags to 0.98:
For those playing on the bleeding edge with optimise_gcc.mk,
	disable -ffast-math for perl. NetBSD/i386 perl5.8.7 reports
	'49/49!=1' as true under -ffast-math
2006-02-09 13:45:04 +00:00
abs
6f99b2fbef Update cpuflags to 0.97:
- Add Infineon ADM5120
    - Fix optimize_gcc.mk for qt3-libs, and reorder so CPUFLAGS_PKGBASE is
      left defined and testable for 'make show-vars' and the like
2006-02-04 15:08:33 +00:00
abs
5c9d5eae15 Update cpuflags to 0.96:
Handle "AMD Athlon(tm) 64" on Linux - from Clayton Smith
2005-11-06 15:31:20 +00:00
minskim
bda7b4098f Update cpuflags to 0.95. Approved by the maintainer.
Change:
- Identify Dothan on NetBSD.  Patch submitted by Kevin Kim in private email.
2005-10-23 18:47:24 +00:00
rillig
a59cbb2fb7 Fixed a pkglint warning. 2005-10-23 14:03:39 +00:00
abs
087bc54521 update cpuflags to 0.94 - do not set PKGBASE in optimize_gcc.mk 2005-09-27 16:38:11 +00:00
abs
ba41fe0604 update cpuflags to 0.93 - fix a make-braino in workaround for PKGNAME setting 2005-09-23 13:24:17 +00:00
abs
fe8f75fc8e Update cpuflags to 0.92
optimize_gcc.mk needs to know the name of the package that is
	currently being built. Unfortunately with pkgsrc there is no way
	to do this, and its previous attempts to derive PKGNAME (if not
	set) from DISTNAME broke the php usage ext.mk file. Use a temp
	variable to do the same thing without breaking other pkgsrc
	assumptions
2005-09-20 10:58:23 +00:00
abs
dac5178adb Update cpuflags to 0.91 - derive PKGNAME from DISTNAME in per package checking logic 2005-09-09 16:03:32 +00:00
abs
bc733e575d Update cpuflags to 0.90
NetBSD: treat 'AMD Unknown K7 (Athlon)' as -march=athlon
	All: If -v is given, also correctly display CPUFLAGS value
2005-07-22 12:13:12 +00:00
abs
be0ddf4f02 Update cpuflags to 0.89
Use SED and INSTALL - should fix PR30223 (using wrong install under Solaris)
2005-07-21 08:33:13 +00:00
abs
28efc3d9e1 Update cpuflags to 0.88
- Add two more x86 entries to cpuflags.Linux
 - Avoid bogus setting of PKGBASE in optimize_gcc.mk
2005-06-25 10:50:49 +00:00
abs
7975c2523d Small change to suggested COPTS usage - from Christopher Sean Hilton 2005-05-12 10:53:07 +00:00
abs
2ea7529561 update cpuflags to 0.87:
- Added linux "Mobile Intel(R) Pentium(R) 4 - M ", from pancake
    - Add a dist target to simplify updating freshmeat copy
    - Change feedback email to abs@absd.org
2005-05-01 22:03:37 +00:00
abs
ae3c620d0f Update cpuflags to 0.86:
Add Linux 'Pentium III (Katmai)' - from Toni Viemero
    Remove some outdated gcc references from manpage
    Clarify the mk examples are BSD makefile specific
    Add a basic Makefile for out-of-pkgsrc usage
2005-04-29 12:56:05 +00:00
abs
1926c19e92 Update cpuflags to 0.85:
Add 'Intel(R) Pentium(R) III Mobile CPU', from Sean Higgins
2005-04-27 10:55:21 +00:00
abs
5235bc4179 Update cpuflags to 0.84
Add "Mirage 100+" to the Linix parisc case (thanks Simon Hitzemann)
    Update the firefox and thunderbird names in optimize_gcc
2005-04-08 07:24:25 +00:00
abs
80bbefb0f9 Update to cpuflags 0.83 - match all VIA C3 CPUs 2005-03-22 08:17:26 +00:00
abs
e213f4ae4e update cpuflags to 0.82
firefox-gtk2 has severe issues (radio buttons on the download preferences
are missing, and extensions break) if compiled with -ffast-math. Oh my
aching head.
2005-02-18 17:20:38 +00:00
abs
cc9dd8ee54 Update cpuflags to 0.81:
firefox and firefox-gtk2 do not like -finline-functions. It gives broken
    radio buttons in Edit->Preferences
2005-01-29 14:58:39 +00:00
abs
26076885ae Update cpuflags to 0.80:
Add qemu to the list of PKG_EXCLUDE_INLINE_FUNCTIONS packages, at least as
of gcc-3.3 and qemu-0.6.1
2005-01-06 00:08:51 +00:00
abs
467f422606 Update cpuflags to 0.79:
- Shuffle the various cpuflags.<OS> to group more common lines
    - Use nawk on solaris [Jonathan A. Kollasch PR pkg/26572]
    - Add Linux 'Intel(R) Pentium(R) 4 CPU'
    - Add NetBSD/i386 'AMD Athlon Model 4 (Thunderbird)' [Rob Quinn]
    - Add NetBSD/macppc 604e [John Klos]
    - Add NetBSD/chocolate [Al]
2004-12-22 15:12:18 +00:00
abs
924f87301a Update cpuflags to 0.78:
Handle 7410 under NetBSD/macppc and 'Pentium III (Coppermine)' under
    Linux, from Markus W Kilbinger and Andrew Gillham respectively
2004-11-14 21:51:05 +00:00
abs
ad9750ac47 Update cpuflags to 0.77
Correctly identify 7400 and 7450 cpus (from Timo Schöler), and fall back
    to 750 not 740 for older gcc versions.
2004-11-03 18:16:27 +00:00
abs
ecd9d13099 Update cpuflags to 0.76:
Add 'Intel(R) Pentium(R) M processor' under Linux, plus make each
    version report the OS in the event of an unrecognised CPU.
2004-09-23 11:41:10 +00:00
abs
876cf499e8 Update cpuflags to 0.75
- all:
    Implement 'cpuflags -v' which indicates the values used to determine flags
    Sync the latest fixup options for older gccs
  - cpuflags.NetBSD:
    Use -march=pentium3m and -march=pentium4m for gcc 3.4.x
    Set -mcpu=hypersparc for RT620/625 and -mcpu=cypress for L64811
  - cpuflags.Linux:
    Handle two different Celeron cases (thanks to Marc Recht & Jeremy C. Reed)
2004-08-04 11:39:43 +00:00
abs
816811eb3f Update cpuflags to 0.74:
NetBSD/Linux:
	athlon-4, athlon-mp, athlon-tbird, and athlon-xp should fall back to
	athlon in gcc3, and only pentiumpro in 2.95
    Linux:
	Identify "AMD Athlon(tm) XP "* - thanks to Sebastian Prause
2004-07-28 16:54:03 +00:00
abs
0eeb203e60 Update cpuflags to 0.73:
sync cpuflags.Linux with cpuflags.NetBSD, at least optimise for
	Duron in cpuflags.Linux
2004-07-27 19:25:44 +00:00
abs
522b1c85e6 Update cpuflags to 0.72:
Handle c3 as 'c3' or '586', not '686'. From Dick Davies
Rationale: http://www3.sympatico.ca/howlettfamily/epia/epia_howto/x881.html#pentium_compatible
2004-07-06 23:00:10 +00:00
cube
45368fbaf6 Remove an obvious left over from a test. Fixes PR 25880. 2004-06-09 20:51:10 +00:00
abs
531cd31b67 Update cpuflags to 0.70
Correctly 'downgrade' -march=pentium3 -mno-sse to -march=pentiumpro
    for older compilers. Should address PR pkg/25759
2004-06-06 22:59:29 +00:00
abs
648db862d9 Update cpuflags to 0.68
Exclude -fomit-frame-pointer for {firefox,thunderbird}{,-gtk2}
2004-05-10 17:39:39 +00:00
abs
b9405a3e88 Update cpuflags to 0.67:
- Add 'Intel Mobile Pentium 4' from Benedikt Meurer
	- Fix exclusion of -fomit-frame-pointer mozilla-gtk2 in optimize_gcc.mk
2004-04-22 12:00:05 +00:00
abs
ee11bd690f iupdate cpuflags to 0.66:
Avoid -fomit-frame-pointer for mozilla-gtk2 & galeon-devel
2004-04-20 20:11:34 +00:00
abs
b93e7e7722 Update cpuflags to 0.65.
Use -dumpversion with gcc rather than mangling -v output. Suggested
	by mrg. Located copy of egcs to confirm output still correctly
	mangled in that case :)
2004-04-01 19:44:59 +00:00
abs
2c6ba32459 Update cpuflags to 0.64:
- Do nothing on x86_64 (for now). Thanks to Wolfgang S. Rupprecht
	- Digital AlphaPC 164SX. Thanks to HATANO Hiromichi.
	- Intel Pentium/MMX & Unrecognised Athlon XP. Thanks to Kimmo Suominen
	- Mips update for gcc 3.1 and later. Thanks to Andreas Yankopolus
	- Handle converting flags for old gcc versions recursively. Most
	  excessive case would be using cpuflags on a k6-3 win gcc 2.89 which
	  would map -march=k6-3 -> -march=k6 -> -march=pentium -> -march=i486
2004-04-01 19:37:59 +00:00
wiz
a739b79bd6 Drop trailing whitespace, remove unnecessary .Pp and
use .Aq instead of <>.
2004-03-17 00:40:24 +00:00
abs
6cc945a64a Update cpuflags to 0.63:
Make cpuflags ${PREFIX}-aware - based on patch from Karl Hammerschmidt
2004-03-17 00:26:55 +00:00
dan
b62d8288fc Recognise the "Intel Celeron (Mendocino)", which is a p3 but without SSE
Bump version.
2004-02-20 00:37:46 +00:00
jlam
7699290f10 If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
avoids breakage when executing the just-in-time su targets.
2004-02-06 19:04:24 +00:00
abs
ca05ea8bb1 Update cpuflags to 0.61
Be more careful setting MAKEFLAGS
2004-01-21 00:54:08 +00:00
abs
d817435200 Update cpuflags to 0.60:
Set CPU_DIR and MAKE_ENV even if CPU_FLAGS is already set.
2004-01-20 23:38:46 +00:00
abs
7edf62d399 Update cpuflags to 0.59:
- Handle i386: Mobile PIII, alpha: 21264a, powerpc: 603ev
2003-12-04 10:13:26 +00:00
rh
d283baef26 Fix an Athlon detection glitch: the "Athlon Model 1" is neither an
"Athlon MP" nor a "Pentium Pro".  Correct this by testing for the special
cases first rather than trying to be clever in the generic test.
Bump package version to 0.58
2003-10-19 00:24:28 +00:00
abs
1256bede19 Update cpuflags to 0.57:
Add optimisations for specific Athlon models (recht@)
	Avoid setting flags if DBG is set to -Os (to reduce size impact
	when building contents of distrib on at least 1.6.x i386)
2003-10-02 16:10:00 +00:00
abs
367a2fc3b2 Updated cpuflags to 0.56
- If !defined BSD_PKG_MK and DBG is set to -Os, do not alter COPTS.
	  This stops setting of -march=XXX causing overflowing of install media
	- disable -fomit-frame-pointer for lua and koffice
2003-08-07 11:30:04 +00:00
abs
b8922fffe7 Update cpuflags to 0.55
Exclude -finline-functions for userppp.
2003-07-20 14:21:52 +00:00
abs
d8e3aa79f8 Updated cpuflags to cpuflags-0.54
Handle hw.model frmatting from hp300
    On gcc3 -frename-registers still causes problems for xdm with _some_
    -march=XXX values. Next time I might just listen to fredb first...
2003-07-10 11:52:02 +00:00
abs
e80435442b Update cpuflags to 0.53:
Revert changes in 0.52
2003-07-09 14:35:28 +00:00
abs
606f83a9b4 Update cpuflags to 0.52:
On i386 try to S/-fomit-frame-pointer/-momit-leaf-frame-pointer/ for
	package with problems with -fomit-frame-pointer
2003-07-08 16:52:40 +00:00
abs
5a5f81aba4 Update cpuflags to 0.51:
Add galeon to PKG_EXCLUDE_OMIT_FRAME_POINTER in optimize_gcc.mk
    This is necessary but not sufficient to build galeon with gcc3
2003-06-17 15:04:49 +00:00
abs
c4ea061b5c Update cpuflags to 0.50:
mozilla and phoenix still need PKG_EXCLUDE_OMIT_FRAME_POINTER with gcc3.3.
    (galeon has its own set of issues with this file - still looking into)
2003-06-16 13:00:40 +00:00
abs
57ebc2967a Update cpuflags to 0.49:
With fredb's changes to make gcc3 use binutils 2.13.2.1, the problems
	with -O3 are resolved
2003-06-11 07:47:39 +00:00
abs
d04eaeb278 Update cpuflags to 0.48:
Add mozilla and pango to the list of packages for which
	-frename-registers triggers bug in the binutils shipped with 1.6.x
	(Thanks to Frederick Bruckman for identifying the issue)
2003-06-08 18:48:23 +00:00
abs
031879db19 Update cpuflags to 0.47:
Treat AMD Duron as Athlon
    Replace PKG_EXCLUDE_O3 with PKG_EXCLUDE_RENAME_REGISTERS as its
    specifically the -frename-registers that causes problems. Set for ORBit
2003-06-08 12:44:09 +00:00
abs
fb8aa66a08 Update cpuflags to 0.46:
Fix non gcc3 case for -O3 optimisation
2003-06-06 22:54:05 +00:00
abs
d7e0193c6b Update cpuflags to 0.45:
- Detect fpuless mac68k boxes and add -msoft-float
    - Check ${USETOOLS} to avoid setting gcc3 flags when compiling NetBSD
      userland with built in tools, but with gcc3 installed
    - Default to -O3 again for all except perl5 and perl58 under gcc3
2003-06-06 15:26:48 +00:00
salo
9ab7a99496 Sort. 2003-06-03 20:45:25 +00:00
salo
0f14f2ef64 Version 0.44.
Convert -march=athlon for older gccs to -march=pentiumpro.
Addresses PR pkg/21766 by Marc Recht.

XXX: the conversion mechanism is suboptimal, it can't handle recursive
     conversions.
2003-06-03 20:41:15 +00:00
salo
6b285a97db Version 0.43:
- match more Athlons
  XXX: This really should be more fine-grained.
- whitespace
2003-06-03 10:17:48 +00:00
abs
248b94602f Update cpuflags to 0.42:
- Add some additional x86 flags for gcc 3.x
    - Allow the path to cc to be specified as an argument to cpuflags
    - Use both the previous to handle the gcc3 package
    - Add an 'unsupported' optimize_gcc.mk which... to quote its comments:
       "This file is 'experimental' - which is doublespeak for unspeakably
	ugly, and probably quite broken by design.
	The intention is to pass additional flags to gcc to further optimise
	generated code. It _will_ make it impossible to debug, may fail to
	compile some code, and even generate curdled binaries. It is completely
	unsupported. Any questions should be directed to <abs@netbsd.org>.
2003-05-29 11:45:50 +00:00
abs
c9ec8a7912 Add a .Pp to slightly cleanup formatting 2003-05-22 15:36:40 +00:00
abs
1cadaabebc Update to 0.41:
Fix mdoc usage in manpage - from Toru TAKAMIZU in PR pkg/21542
2003-05-12 11:05:48 +00:00
abs
17a3289e52 Match 21064A-0 - from Mark Davies 2003-04-22 08:01:36 +00:00
abs
e1cae98b11 Update cpuflags to 0.39.
Primarily to reassure Al that I'm still here, and only incidently
	to handle the 7400 in Martin J. Laubach's AGP G4/400 Mac
2003-01-29 13:08:09 +00:00
abs
74324271e7 Update cpuflags to 0.38:
Adapt for sparc hw.model changes in -current
2002-12-23 13:56:20 +00:00
abs
d60de2280c Update cpuflags to 0.37
Recognise more alpha CPU variants - from Christopher SEKIYA
2002-11-02 10:03:45 +00:00
abs
3c89d8b168 Update cpuflags to 0.36:
Recognise 21164-0 (As seen in Digital AlphaStation 600 5/333)
2002-10-21 16:36:58 +00:00
abs
5020ff2190 Update cpuflags to 0.35, the "Where did my job go" release
Add entry for 7450 (tibook 550 combo), and mention -pipe (to speed
	up compilation) in manpage.
2002-10-17 11:36:44 +00:00
abs
1b7356de88 Update cpuflags to 0.34, the "How big is agc's mail quota" release:
Add in a reasonable set of mips cpus.
2002-09-25 15:14:04 +00:00
abs
ccf962dd65 Updated cpuflags to 0.33
Add entry for alpha 21264B
2002-09-16 10:43:24 +00:00
abs
15c62fbe9e Updated cpuflags to 0.32 (the 'no more chocolate for you' release)
Handle AXPpci33, from Bert Kiers
2002-09-04 14:56:13 +00:00
abs
f157c08992 Updated cpuflags to 0.31:
Use ?= instead of += to set COPTS, and include DEFCOPTS to not drop
    DEFCOPTS (usually -O2) from kernel compiles.
2002-08-05 13:17:11 +00:00
abs
b37477d1e4 Update cpuflags to 0.30:
Add 'DEC 3000 - M300' (21064-1) entry from Paul Mather
2002-07-30 22:05:14 +00:00
abs
f90c672552 Updated cpuflags to 0.29
Use MAKEFLAGS not .MAKEFLAGS so we can work on 1.5 and earlier.
	Fix alpha 21164A CPU parsing.
2002-07-19 09:31:05 +00:00
abs
297f7465ba Updated cpuflags to 0.28
Correctly fix amiga CPU parsing. Fix from Tim Preston.
2002-07-17 10:10:39 +00:00
abs
1d20d36d94 Update cpuflags to 0.27
cpuflags.mk now sets CPU_FLAGS and CPU_DIR in .MAKEFLAGS to
    avoid having to call cpuflags in every sub-make. Reduces a
    'make clean' in /usr/src on a celeron 850 from 90 seconds to
    30 seconds.  What is impressive is that I managed to leave it
    that bad without being bricked...
2002-07-16 10:42:45 +00:00
abs
636c1417db Updated cpuflags to 0.26
Fix cpu parsing code for amiga (From Tim Preston), plus handle 21066
    in alpha.
2002-07-15 10:48:46 +00:00
wiz
421d4c19ab Bump to 0.25: Use nawk instead of awk on Solaris. Closes pkg/17587. 2002-07-13 11:27:29 +00:00
abs
fd65f65333 Updated cpuflags to 0.24
If BSD_PKG_MK is not defined, only touch COPTS, not CFLAGS etc.
2002-06-27 20:49:02 +00:00
abs
2225a8f027 Updated cpuflags to 0.23
Initial version of SunOS (Solaris)
2002-06-21 11:35:16 +00:00
abs
e31c4ad2e9 Update cpuflags to 0.22
Handle the post 1.5 'arm32' -> 'arm' cleanup
2002-04-11 11:14:31 +00:00
abs
13f685bb2d Updated cpuflags to 0.21 - add powerpc values from Jon Buller plus some
other friendly people on port-macppc.
While I'm here rework to check hw.machine_arch first and then hw.model, so
we cna handle overlapping model matches between hw.machine_arch. We've not
hit any yet, but this is the right thing to do :)
2002-03-27 21:16:48 +00:00
abs
dc7d08a389 Updated cpuflags to 0.20
Add entry for ross 100/125 CPU in sparc20
    From 'Christophe Kalt' and 'god'.
2002-03-14 11:31:29 +00:00
abs
2f6457756a Updated cpuflags to 0.19
Handle Apple Macintosh LC III, and potentially many other m68k machines.
    (Thanks to Sean)
2002-03-11 09:25:37 +00:00
abs
10fb819900 Update cpuflags to 0.18 - recognise sparc classic, from Reinoud 2002-01-28 08:26:08 +00:00
abs
cc8fc92d23 Updated cpuflags to 0.17
Update MAKE_FLAGS so we can affect imake using packages
2002-01-03 11:54:47 +00:00
abs
41635be7c3 Updated cpuflags to 0.16
-mcpu=cypress for my little ELC
2002-01-01 17:01:26 +00:00
abs
9f879c0ee1 Updated cpuflags to 0.15:
Determine the appropriate flags for the Alpha 433a I now have.
	(Insert appropriate grumble about there being no sysctl way to tell
	 the cputype on an Alpha)
2001-12-24 13:25:47 +00:00
abs
01946b7041 Update cpuflags to 0.13 - try to handle cross compiling gracefully.
if $MACHINE is set, and it does not match sysctl hw.machine, return blank
2001-12-03 23:33:01 +00:00
wiz
b4f0a668fa Miscellaneous man page fixes. 2001-12-03 19:03:19 +00:00
abs
095c00cc67 Update devel/cpuflags to 0.12
For unknown machine types, suggest people feed details back
2001-11-27 12:26:11 +00:00
abs
745f644e1a Update devel/cpuflags to 0.11
Allow -march=k6 for gcc 2.95 and later, cleanup fallback for older gcc
2001-11-27 02:31:48 +00:00
abs
c2dcd546de clean up some comments - no code change 2001-11-27 01:18:32 +00:00
abs
fbe2f48940 Updated cpuflags to 0.10:
There are no vax specific gcc optimisation flags (mores the pity).
2001-09-16 16:30:08 +00:00
abs
ad86e589aa Updated cpuflags to 0.9:
Update SA-110 in Risc PC with problem memory bus switch:
	- Pickup post 1.5 cats, dnard, hpcarm, or netwinder as OK.
	- If in 1.5 check for footbridge0 or ofw0 as OK.
Thanks to Chris Gilbert for details.
2001-08-27 20:58:38 +00:00