Gentoo Archives: gentoo-dev

From: Dan Armak <danarmak@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Optimized Qt
Date: Sat, 08 Jun 2002 04:59:50
Message-Id: 200206081207.22251.danarmak@gentoo.org
In Reply to: Re: [gentoo-dev] Optimized Qt by Alexander Holler
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hello,
5
6 Please see bug #1571. I haven't had time to "investigate" beyond what the
7 comments say. If we could get a good rule of what CFLAGS work and what don't
8 I'd be willing to itroduce the thing into the qt ebuilds.
9
10
11 On Saturday 08 June 2002 11:23, Alexander Holler wrote:
12 > Hello,
13 >
14 > --On Freitag, Juni 07, 2002 11:50:38 +0530 Prashanth Aditya Susarla
15 >
16 > <aditya@×××××××.in> wrote:
17 > > Someone wanted to know if Qt compiled with higher optimization than its
18 > > default was stable or not. I have just merged Qt compiled with
19 > > -march=athlon-tbird -O3 -fomit-frame-pointer -pipe -mmmx -m3dnow
20 > > (gcc-3.1, binutils-2.12.90.0.7, glibc-2.2.5-r4) and the emerge completed
21 > > successfully. I am also working in my KDE now and there seem to be no
22 > > breakages/crashes.
23 > > Untar qt-copy-3.0.4.tar.bz2 and edit
24 > > qt-copy-3.0.4/mkspecs/linux-g++/qmake.conf (it was linux-g++ in my case,
25 > > it could be different for others) and re-archive the entire tree. Then
26 > > ebuild qt-3.0.4-20020606-r1.ebuild digest would recompute the digests and
27 > > one can proceed with the emerge. Obviously, this new digest file would be
28 > > overwritten in the next emerge rsync.
29 >
30 > Good idea, maybe this could go into the next ebuild, here's a patch for the
31 > actual ebuild:
32 >
33 >
34 > ---------------------------------------------------------------------------
35 > ----------------
36 > --- qt-3.0.4.20020606-r1.ebuild.ori 2002-06-08 09:59:05.000000000 +0200
37 > +++ qt-3.0.4.20020606-r1.ebuild 2002-06-08 10:22:09.000000000 +0200
38 > @@ -49,6 +49,8 @@
39 > cp configure configure.orig
40 > sed -e 's:read acceptance:acceptance=yes:' \
41 > -e 's:|-repeater|:|-nas-sound|-repeater|:' configure.orig >
42 > configure
43 > + cp mkspecs/linux-g++/qmake.conf mkspecs/linux-g++/qmake.conf.orig
44 > + sed -e "s/-O2/${CFLAGS}/" mkspecs/linux-g++/qmake.conf.orig >
45 > mkspecs/linux-g++/qmake.conf
46 >
47 > }
48 > ---------------------------------------------------------------------------
49 > ----------------
50 >
51 >
52 > Regards,
53 >
54 > Alexander
55 >
56 > _______________________________________________
57 > gentoo-dev mailing list
58 > gentoo-dev@g.o
59 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
60
61 - --
62 Dan Armak
63 Gentoo Linux developer (KDE)
64 Matan, Israel
65 -----BEGIN PGP SIGNATURE-----
66 Version: GnuPG v1.0.7 (GNU/Linux)
67
68 iD8DBQE9AclJUI2RQ41fiVERAgtLAJ9cfL3CWk0li6TfoosljviGfbpwigCbBTei
69 DZYflJdfuVVy7o/eED5nkvA=
70 =l92L
71 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] Optimized Qt Alexander Holler <holler@××××××××××.de>