Commit graph

139 commits

Author SHA1 Message Date
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
abs
3b2576a43a We don' need no ... languages 2004-02-13 21:08:33 +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
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +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
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
wiz
28a4483bc7 NO_PATCH is deprecated, says pkglint. Remove it. 2003-03-28 21:14:10 +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
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +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
agc
a16fc84f19 Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of:
WRKSRC= ${WRKDIR}

This is much cleaner, much more indicative of what happens, and removes
another of the negative definitions (NO_.* = value).
2001-09-09 20:36:07 +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
abs
ab5201027e Update cpuflags to 0.8
Make sysctl usage work under NetBSD 1.3 again
2001-08-10 09:03:07 +00:00
abs
5bd6971727 Update cpuflags to 0.7 - use explicit /sbin path to sysctl.
From Douglas Brebner
2001-07-02 22:14:56 +00:00
abs
f73e6f4726 Update cpuflags to 0.6:
Introduce make fragment to be (optionally) included in mk.conf
    Document environment variables set in cpuflags.mk
    Ensure cpuflags.Linux works on gcc 2.7.x
2001-06-29 11:24:51 +00:00
abs
f9563d4847 Updated cpuflags to 0.5
Use -mcpu=v9 for ultrasparc, not -mcpu=ultrasparc, add an entry for sparc2,
and add an entry for a sparc2 (cypress)
2001-06-28 22:23:00 +00:00
abs
943cf8fe6a Recognise ultrasparcs 2001-06-26 10:39:33 +00:00
abs
b93478f1fc Update cpuflags to 0.3
Correctly distinguish a dnard from a strongarm based risc-pc,
    and fall back to the safer risc-pc flags in case of doubt.
2001-06-07 16:05:10 +00:00
abs
87712201c0 Update cpuflags to 0.2 - handle arm6, arm7 & strongarm in riscpc and dnard 2001-06-07 11:56:46 +00:00
abs
e66338940f Re-import cpuflags under devel 2001-06-07 09:59:28 +00:00