Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@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 15:52:12
Message-Id: 50B78481.9000305@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: new eclass - pkgconfig.eclass by justin
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 29/11/12 09:56 AM, justin wrote:
5 >
6 > Standard autotools based packages always use
7 >
8 > --with-blas=
9 >
10 > so it is pretty simple for us to make it to
11 >
12 > --with-blas="$(pkg-config --libs blas)"
13 >
14 > same thing goes for cmake and
15 >
16 > -DBLAS_LIBRARIES="$(pkg-config --libs blas)"
17 >
18 > This game has been played since ever, because blas/lapack are
19 > bundled in more then 80% of the packages using it. So we are used
20 > to patch them to use system libs. So why not making our lives
21 > easier by having a pkg-config option?
22 >
23 > justin
24 >
25
26 ..ok remind me again what the .pc files provide you? this is so that
27 you can have slotted blas providers and various packages can choose
28 their preferred one instead of having to use the eselected one? or...
29
30
31
32
33 -----BEGIN PGP SIGNATURE-----
34 Version: GnuPG v2.0.19 (GNU/Linux)
35
36 iF4EAREIAAYFAlC3hIEACgkQ2ugaI38ACPCXRAEAs1mM8q5Ue+eRddq1gdcMM8Zq
37 uvMM0qZmGcVQ/QAt/sEA/1NIn/SDAycCq70U4ZlAlIJ/YKL2jLT04Q1YCLQwyZKx
38 =GseU
39 -----END PGP SIGNATURE-----

Replies