From: Denis Smirnov <mithraen@freesource.info>
To: ldv@altlinux.ru
Cc: sisyphus@altlinux.ru
Subject: [sisyphus] rpm
Date: Thu, 4 Sep 2003 18:47:47 +0400
Message-ID: <20030904144747.GA25767@localhost.localdomain> (raw)
[-- 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
next reply other threads:[~2003-09-04 14:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-04 14:47 Denis Smirnov [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030904144747.GA25767@localhost.localdomain \
--to=mithraen@freesource.info \
--cc=ldv@altlinux.ru \
--cc=sisyphus@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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