* [gentoo-commits] proj/sci:master commit in: sci-libs/lapack-reference/, sci-libs/cblas-reference/
@ 2012-08-20 9:45 Andrea Arteaga
0 siblings, 0 replies; only message in thread
From: Andrea Arteaga @ 2012-08-20 9:45 UTC (permalink / raw
To: gentoo-commits
commit: a2f72ea809eb2c3b9fd4f497d747bc1ec687f40c
Author: Olivier Huber <olivier.huber <AT> inria <DOT> fr>
AuthorDate: Sun Aug 12 01:13:39 2012 +0000
Commit: Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
CommitDate: Sun Aug 12 01:13:39 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a2f72ea8
Enable cross-compilation of {CBLAS,LAPACK}-reference
---
.../cblas-reference-20110218.ebuild | 2 +-
.../lapack-reference/lapack-reference-3.4.1.ebuild | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
index da74037..1782985 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
@@ -72,7 +72,7 @@ src_compile() {
CFLAGS="${CFLAGS} -fPIC" \
CBLIB=../lib/lib${LIBNAME}.a \
alllib
- static_to_shared lib/lib${LIBNAME}.a $(pkg-config --libs blas)
+ static_to_shared lib/lib${LIBNAME}.a $($(tc-getPKG_CONFIG) --libs blas)
if use static-libs; then
emake clean
emake alllib
diff --git a/sci-libs/lapack-reference/lapack-reference-3.4.1.ebuild b/sci-libs/lapack-reference/lapack-reference-3.4.1.ebuild
index 775e339..0e40a1a 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.4.1.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.4.1.ebuild
@@ -3,7 +3,7 @@
# $Header: $
EAPI=4
-inherit eutils fortran-2 cmake-utils alternatives-2
+inherit eutils fortran-2 cmake-utils alternatives-2 toolchain-funcs
MYP=lapack-${PV}
@@ -33,7 +33,7 @@ src_configure() {
lapack_configure() {
local mycmakeargs=(
-DUSE_OPTIMIZED_BLAS=ON
- -DBLAS_LIBRARIES="$(pkg-config --libs blas)"
+ -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
$(cmake-utils_use_build test TESTING)
$(cmake-utils_use_use xblas XBLAS)
$@
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-08-20 9:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-20 9:45 [gentoo-commits] proj/sci:master commit in: sci-libs/lapack-reference/, sci-libs/cblas-reference/ Andrea Arteaga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox