Gentoo Archives: gentoo-dev

From: hasufell <hasufell@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] blas .pc files (was RFC: new eclass - pkgconfig.eclass)
Date: Thu, 29 Nov 2012 16:28:43
Message-Id: 50B78D04.3020403@gentoo.org
In Reply to: Re: [gentoo-dev] blas .pc files (was RFC: new eclass - pkgconfig.eclass) by justin
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 11/29/2012 05:09 PM, justin wrote:
5 >
6 > Not exactly. The user can choose for each package newly by
7 > eselecting the wanted implementation. This is the user side. From
8 > the pm side we ensure that the choice is really respected by
9 > linking against package specific names [1] instead of the generic
10 > ones e.g. libblas.so. And this can be achieved in an easy way by
11 > using pkg-config.
12 >
13 > justin
14 >
15 > 1) # eselect blas set atlas-threads # pkg-config --libs blas
16 > -lptf77blas -lm -latlas -lpthread
17 >
18 > # eselect blas set reference # pkg-config --libs blas -lrefblas
19 >
20 >
21
22 My opinion is less strong if you do this only on package level without
23 creating such an eclass and in the way mgorny pointed out with a
24 comment that this is gentoo-specific.
25 -----BEGIN PGP SIGNATURE-----
26 Version: GnuPG v2.0.19 (GNU/Linux)
27 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
28
29 iQEcBAEBAgAGBQJQt40EAAoJEFpvPKfnPDWzZgoH/2Mes+9TPYRCaCm65z+bLUep
30 l0K4DspA8J71ixRxWwkZmwkpasezd7nB0jLiiOSMsy6MOzot5QXr7MyEHtjW/b9G
31 /1Yk880T8bIDq4ryb19PWhiW90pOYGmdvaEbp5mgvmUSoPAiX24tqNmF/gdhuPaZ
32 DfHVRub+0Mp5LvCHj2xNku5AZOZ5MqkJh2kLmMR0plWF1Z2FW0jtqS1ak3pY6hI8
33 O8bY1J9Gaym1TF7tcTnsoRz3qb3lRXfZMSPEAaQOpzIa1FhurroVZFNyD8afZlsH
34 S6xRkIn413v969+SAZ9waVoomTnzKgajWvqessddROb6GVD7mBk/Y+EOD9qxlhA=
35 =Sfio
36 -----END PGP SIGNATURE-----