Gentoo Archives: gentoo-dev

From: Alexander Holler <holler@××××××××××.de>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Optimized Qt
Date: Sat, 08 Jun 2002 03:21:13
Message-Id: 117320000.1023524629@krabat.ahsoftware
In Reply to: [gentoo-dev] Optimized Qt by Prashanth Aditya Susarla
1 Hello,
2
3 --On Freitag, Juni 07, 2002 11:50:38 +0530 Prashanth Aditya Susarla
4 <aditya@×××××××.in> wrote:
5
6 > Someone wanted to know if Qt compiled with higher optimization than its
7 > default was stable or not. I have just merged Qt compiled with
8 > -march=athlon-tbird -O3 -fomit-frame-pointer -pipe -mmmx -m3dnow
9 > (gcc-3.1, binutils-2.12.90.0.7, glibc-2.2.5-r4) and the emerge completed
10 > successfully. I am also working in my KDE now and there seem to be no
11 > breakages/crashes.
12 > Untar qt-copy-3.0.4.tar.bz2 and edit
13 > qt-copy-3.0.4/mkspecs/linux-g++/qmake.conf (it was linux-g++ in my case,
14 > it could be different for others) and re-archive the entire tree. Then
15 > ebuild qt-3.0.4-20020606-r1.ebuild digest would recompute the digests and
16 > one can proceed with the emerge. Obviously, this new digest file would be
17 > overwritten in the next emerge rsync.
18
19 Good idea, maybe this could go into the next ebuild, here's a patch for the
20 actual ebuild:
21
22
23 ---------------------------------------------------------------------------
24 ----------------
25 --- qt-3.0.4.20020606-r1.ebuild.ori 2002-06-08 09:59:05.000000000 +0200
26 +++ qt-3.0.4.20020606-r1.ebuild 2002-06-08 10:22:09.000000000 +0200
27 @@ -49,6 +49,8 @@
28 cp configure configure.orig
29 sed -e 's:read acceptance:acceptance=yes:' \
30 -e 's:|-repeater|:|-nas-sound|-repeater|:' configure.orig >
31 configure
32 + cp mkspecs/linux-g++/qmake.conf mkspecs/linux-g++/qmake.conf.orig
33 + sed -e "s/-O2/${CFLAGS}/" mkspecs/linux-g++/qmake.conf.orig >
34 mkspecs/linux-g++/qmake.conf
35
36 }
37 ---------------------------------------------------------------------------
38 ----------------
39
40
41 Regards,
42
43 Alexander

Replies

Subject Author
Re: [gentoo-dev] Optimized Qt Dan Armak <danarmak@g.o>