ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] rpm
@ 2003-09-04 14:47 Denis Smirnov
  2003-09-04 16:42 ` Led
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Denis Smirnov @ 2003-09-04 14:47 UTC (permalink / raw)
  To: ldv; +Cc: sisyphus

[-- Attachment #1: Type: text/plain, Size: 264 bytes --]

С целью оптимизации отдельных пакетов решил прикрутить к rpm поддержку
платформы pentium3 (-march=pentium3, -mfpmath=sse, -mmmx, -msse).

Патч и макросы в аттаче.

Делалось на базе rpm 4.0.4-alt14 (от Мастера 2.2).

-- 
С уважением, Денис

http://freesource.info


[-- Attachment #2: rpm-pentium3.tgz --]
[-- Type: application/x-gzip, Size: 5763 bytes --]

[-- Attachment #3: rpmrc.pentium3.patch --]
[-- Type: text/plain, Size: 1367 bytes --]

--- /usr/lib/rpm/rpmrc.orig	2003-02-02 23:27:45 +0300
+++ /usr/lib/rpm/rpmrc	2003-09-04 18:32:43 +0400
@@ -15,6 +15,7 @@
 optflags: i486 %optflags_default -march=i486 -mcpu=i686
 optflags: i586 %optflags_default -march=i586 -mcpu=i686
 optflags: i686 %optflags_default -march=i686
+optflags: pentium3 %optflags_default -march=pentium3 -mmmx -msse -mfpmath=sse
 optflags: k6 %optflags_default -march=k6
 optflags: athlon %optflags_default -march=athlon
 optflags: ia64 %optflags_default
@@ -65,6 +66,7 @@
 #############################################################
 # Canonical arch names and numbers
 
+arch_canon:	pentium3:	pentium3	1
 arch_canon:	athlon:	athlon	1
 arch_canon:	i686:	i686	1
 arch_canon:	k6:	k6	1
@@ -160,6 +162,7 @@
 
 buildarchtranslate: ia64: ia64
 
+buildarchtranslate: pentium3: pentium3
 buildarchtranslate: athlon: athlon
 buildarchtranslate: i686: i686
 buildarchtranslate: k6: k6
@@ -206,8 +209,9 @@
 arch_compat: alphaev5: alpha
 arch_compat: alpha: axp noarch
 
+arch_compat: pentium3: i686
 arch_compat: athlon: i686 k6
-arch_compat: i686: i586
+arch_compat: i686: i586 pentium3
 arch_compat: k6: i586
 arch_compat: i586: i486
 arch_compat: i486: i386
@@ -291,6 +295,7 @@
 
 buildarch_compat: ia64: noarch
 
+buildarch_compat: pentium3: i686
 buildarch_compat: athlon: i686 k6
 buildarch_compat: i686: i586
 buildarch_compat: k6: i586

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-09-10  7:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04 14:47 [sisyphus] rpm Denis Smirnov
2003-09-04 16:42 ` Led
2003-09-04 18:51   ` [sisyphus] rpm Denis Smirnov
2003-09-04 18:59 ` Denis Smirnov
2003-09-04 23:03 ` [sisyphus] rpm Dmitry V. Levin
2003-09-08  9:41 ` [sisyphus] rpm Konstantin A. Lepikhov
2003-09-08 10:10   ` Igor Homyakov
2003-09-08 14:54   ` Denis Smirnov
2003-09-09 12:39     ` Konstantin A. Lepikhov
2003-09-09 13:06       ` Alexey I. Froloff
2003-09-10  7:07         ` Konstantin A. Lepikhov
2003-09-10  7:31           ` Igor Homyakov
2003-09-09 19:34       ` Denis Smirnov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git