public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/bicatali:master commit in: sci-libs/cblas-reference/
@ 2011-03-24 18:34 Sebastien Fabbro
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Fabbro @ 2011-03-24 18:34 UTC (permalink / raw
  To: gentoo-commits

commit:     f172cc8256f7c60306d76158aaf19095c8000613
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 24 18:34:15 2011 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Mar 24 18:34:15 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/bicatali.git;a=commit;h=f172cc82

fixed for as-needed

---
 sci-libs/cblas-reference/Manifest                  |    2 +-
 .../cblas-reference-20110218.ebuild                |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/cblas-reference/Manifest b/sci-libs/cblas-reference/Manifest
index 2c4d82b..2625e26 100644
--- a/sci-libs/cblas-reference/Manifest
+++ b/sci-libs/cblas-reference/Manifest
@@ -1,4 +1,4 @@
 DIST cblas-reference-20110218.tgz 197468 RMD160 ab908605311ad5dfe280c5fb0e6a1e94156b7a04 SHA1 d6970cf52592ef67674a61c78bbd055a4e9d4680 SHA256 0f6354fd67fabd909baf57ced2ef84e962db58fae126e4f41b21dd4fec60a2a3
-EBUILD cblas-reference-20110218.ebuild 2317 RMD160 1a6afdaa7371c1227576710f15cfa50f2d5c189d SHA1 d3f116e2f1d40a52386ca4ca76c73cb5e47189c8 SHA256 effeb5e33457504a620ae3b4587fa9ad45a593a86cc5565a6e727583ca28c267
+EBUILD cblas-reference-20110218.ebuild 2343 RMD160 9e3f23efbbdba66bc9a30a8597ffb058235e531a SHA1 e906294cfc6e50cd9d3191ad26d60a28ad6b1c54 SHA256 54c7e3d646c30717503b29951b68addc7ce05cfb6677c91aa13ee34228b2e6c8
 MISC ChangeLog 6624 RMD160 0d7fa08716f83149dc18005871dd6b1b094b273d SHA1 7da65bcee3e62e2f838eef8fdb52bf48a1d15233 SHA256 31b834eb10ab4312392b935f9d39b8a9ecbe378792ae8d37fc22332234e1b460
 MISC metadata.xml 747 RMD160 93e7287d9fb76504fcffa359adca454d42518e33 SHA1 b4fb783c4233b29cf30a9576905d9943f6d6ed0c SHA256 d184bbc83e471aa894863f9350d4c13a096d22c513e2a4de53d9075c5e4d9fa8

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
index 10dad76..984a85c 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
@@ -32,7 +32,7 @@ make_shared_lib() {
 	${2:-$(tc-getCC)} ${LDFLAGS}  \
 		-shared -Wl,-soname="${soname}" \
 		-Wl,--whole-archive "${1}" -Wl,--no-whole-archive \
-		-o $(dirname "${1}")/"${soname}" || return 1
+		$(pkg-config --libs blas) -o $(dirname "${1}")/"${soname}" || return 1
 }
 
 src_prepare() {



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] dev/bicatali:master commit in: sci-libs/cblas-reference/
@ 2011-04-21 20:29 Sebastien Fabbro
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Fabbro @ 2011-04-21 20:29 UTC (permalink / raw
  To: gentoo-commits

commit:     6d6a8dfeb9896ddae2985634889f74f503eae72b
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 17:40:20 2011 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 17:40:20 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/bicatali.git;a=commit;h=6d6a8dfe

respect CC

---
 sci-libs/cblas-reference/Manifest                  |    2 +-
 .../cblas-reference-20110218.ebuild                |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/sci-libs/cblas-reference/Manifest b/sci-libs/cblas-reference/Manifest
index 11f549a..87249ee 100644
--- a/sci-libs/cblas-reference/Manifest
+++ b/sci-libs/cblas-reference/Manifest
@@ -1,4 +1,4 @@
 DIST cblas-reference-20110218.tgz 197468 RMD160 ab908605311ad5dfe280c5fb0e6a1e94156b7a04 SHA1 d6970cf52592ef67674a61c78bbd055a4e9d4680 SHA256 0f6354fd67fabd909baf57ced2ef84e962db58fae126e4f41b21dd4fec60a2a3
-EBUILD cblas-reference-20110218.ebuild 2360 RMD160 074f8d19a5c31c960498bc70d97917f9cc84650a SHA1 d5b4bc87a7840dfc0d6a048ae24fff7e81eed8ad SHA256 744fe1885ea8614781e34897a42e8b1c531f7ab6579cce9e19cce18d489b31c5
+EBUILD cblas-reference-20110218.ebuild 2377 RMD160 4a6d5c4aa6936a14c49d1cbc193c39be7c902eed SHA1 a2c24d0b744f7341b3b501ca1d4d9cd04478fac6 SHA256 c5d853960000626e50aa997996c42ff5cafac5b756bd194ec2f8cfd5a58066bd
 MISC ChangeLog 6624 RMD160 0d7fa08716f83149dc18005871dd6b1b094b273d SHA1 7da65bcee3e62e2f838eef8fdb52bf48a1d15233 SHA256 31b834eb10ab4312392b935f9d39b8a9ecbe378792ae8d37fc22332234e1b460
 MISC metadata.xml 747 RMD160 93e7287d9fb76504fcffa359adca454d42518e33 SHA1 b4fb783c4233b29cf30a9576905d9943f6d6ed0c SHA256 d184bbc83e471aa894863f9350d4c13a096d22c513e2a4de53d9075c5e4d9fa8

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
index 911071a..f6f0b2e 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
@@ -43,6 +43,7 @@ src_prepare() {
 	cat > Makefile.in <<-EOF
 		BLLIB=$(pkg-config --libs blas)
 		FC=$(tc-getFC)
+		CC=$(tc-getCC)
 		CBLIB=../lib/lib${LIBNAME}.a
 		LOADER=\$(FC)
 		ARCH=$(tc-getAR)



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] dev/bicatali:master commit in: sci-libs/cblas-reference/
@ 2011-05-30 19:27 Sebastien Fabbro
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Fabbro @ 2011-05-30 19:27 UTC (permalink / raw
  To: gentoo-commits

commit:     f535d5d3c67807cb5b6a5db6ea42430bf369467a
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Mon May 30 18:40:53 2011 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon May 30 18:40:53 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/bicatali.git;a=commit;h=f535d5d3

cosmetics

---
 sci-libs/cblas-reference/Manifest                  |    2 +-
 .../cblas-reference-20110218.ebuild                |   18 ++++++++++--------
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/sci-libs/cblas-reference/Manifest b/sci-libs/cblas-reference/Manifest
index 87249ee..8bf2861 100644
--- a/sci-libs/cblas-reference/Manifest
+++ b/sci-libs/cblas-reference/Manifest
@@ -1,4 +1,4 @@
 DIST cblas-reference-20110218.tgz 197468 RMD160 ab908605311ad5dfe280c5fb0e6a1e94156b7a04 SHA1 d6970cf52592ef67674a61c78bbd055a4e9d4680 SHA256 0f6354fd67fabd909baf57ced2ef84e962db58fae126e4f41b21dd4fec60a2a3
-EBUILD cblas-reference-20110218.ebuild 2377 RMD160 4a6d5c4aa6936a14c49d1cbc193c39be7c902eed SHA1 a2c24d0b744f7341b3b501ca1d4d9cd04478fac6 SHA256 c5d853960000626e50aa997996c42ff5cafac5b756bd194ec2f8cfd5a58066bd
+EBUILD cblas-reference-20110218.ebuild 2433 RMD160 7b1783836cfd65ca423a46fc07c38eda8151295d SHA1 31de7ad116fd9ccbaf6d823b310dd5dadad3aa03 SHA256 adc4ac6c8f6d7abb62d555a6a96f11923bc4a924d70541fa5e339ec572722355
 MISC ChangeLog 6624 RMD160 0d7fa08716f83149dc18005871dd6b1b094b273d SHA1 7da65bcee3e62e2f838eef8fdb52bf48a1d15233 SHA256 31b834eb10ab4312392b935f9d39b8a9ecbe378792ae8d37fc22332234e1b460
 MISC metadata.xml 747 RMD160 93e7287d9fb76504fcffa359adca454d42518e33 SHA1 b4fb783c4233b29cf30a9576905d9943f6d6ed0c SHA256 d184bbc83e471aa894863f9350d4c13a096d22c513e2a4de53d9075c5e4d9fa8

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
index f6f0b2e..fe64b08 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
@@ -25,15 +25,17 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}/CBLAS"
 
 LIBNAME=refcblas
-LIBVERS=3
+LIBVER=3
 
 make_shared_lib() {
-	local soname=$(basename "${1%.a}").so.${LIBVERS}
+	local libstatic=${1}
+	local soname=$(basename "${1%.a}").so.${LIBVER}
+	shift
 	einfo "Making ${soname}"
-	${2:-$(tc-getCC)} ${LDFLAGS}  \
+	${LINK:-$(tc-getCC)} ${LDFLAGS}  \
 		-shared -Wl,-soname="${soname}" \
-		-Wl,--whole-archive "${1}" -Wl,--no-whole-archive \
-		$(pkg-config --libs blas) -o $(dirname "${1}")/"${soname}" || return 1
+		-Wl,--whole-archive "${libstatic}" -Wl,--no-whole-archive \
+		"$@" -o $(dirname "${libstatic}")/"${soname}" || die "${soname} failed"
 }
 
 src_prepare() {
@@ -59,7 +61,7 @@ src_compile() {
 		CBLIB=../lib/lib${LIBNAME}.a \
 		alllib
 	cd lib
-	make_shared_lib lib${LIBNAME}.a || die
+	make_shared_lib lib${LIBNAME}.a $(pkg-config --libs blas)
 	cd "${S}"
 	if use static-libs; then
 		emake clean
@@ -74,8 +76,8 @@ src_test() {
 }
 
 src_install() {
-	dolib.so lib/lib${LIBNAME}.so.${LIBVERS}
-	dosym lib${LIBNAME}.so.${LIBVERS} /usr/$(get_libdir)/lib${LIBNAME}.so
+	dolib.so lib/lib${LIBNAME}.so.${LIBVER}
+	dosym lib${LIBNAME}.so.${LIBVER} /usr/$(get_libdir)/lib${LIBNAME}.so
 	use static-libs && dolib.a lib/lib${LIBNAME}.a
 	insinto /usr/include/cblas
 	doins include/cblas.h



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-30 19:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-30 19:27 [gentoo-commits] dev/bicatali:master commit in: sci-libs/cblas-reference/ Sebastien Fabbro
  -- strict thread matches above, loose matches on Subject: below --
2011-04-21 20:29 Sebastien Fabbro
2011-03-24 18:34 Sebastien Fabbro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox