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

commit:     1ca12f8c7cb77ad19cc79e30c9d52259990ad221
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 27 03:04:11 2011 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sun Feb 27 03:04:11 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/bicatali.git;a=commit;h=1ca12f8c

now tar ball on dev work space

---
 sci-libs/gotoblas2/Manifest              |    2 +-
 sci-libs/gotoblas2/gotoblas2-1.13.ebuild |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sci-libs/gotoblas2/Manifest b/sci-libs/gotoblas2/Manifest
index 8d7c077..bc0b747 100644
--- a/sci-libs/gotoblas2/Manifest
+++ b/sci-libs/gotoblas2/Manifest
@@ -1,6 +1,6 @@
 AUX gotoblas2-1.13-dynamic.patch 608 RMD160 37947ee4aeeec6db1f32132adf97e802369bdaf0 SHA1 f96cb1d7856b4647857b8dc77aa68ceba1d51107 SHA256 7ff5d3179c3051f41fd2963e90734bd6997dd4d6d955ea4c613ff241f49875c4
 AUX gotoblas2-1.13-sharedlibs.patch 1929 RMD160 87db891bb2e0b538da7a4f21c10c65b78149a26c SHA1 031912957004745f5e68c2cdf3899f0e80118377 SHA256 fc5f014d6b81a481a9c9c29d82de07f5a5182d9355f90071ba89b680f7e09c1b
 DIST GotoBLAS2-1.13_bsd.tar.gz 3165294 RMD160 64a416b506b45ec4df33d9d7e9ec893585b794b2 SHA1 0e1a046bb51e50cf8cff5d1732157a083a620e64 SHA256 7c3eab57ef5ad5c42f73adade833a531591e78967bbe9fc6db31310d73fa2d86
-EBUILD gotoblas2-1.13.ebuild 2802 RMD160 831cb6e245974ed6b3e9bcc551a1d76dbb9a4387 SHA1 d1d374c30a5eacbb1cc8fe9f5a8f8129d90da0ec SHA256 e043fef2a9aa9c8685baae25089b96cfceb94d33e2e83a4feb83427fd3ff8c60
+EBUILD gotoblas2-1.13.ebuild 2868 RMD160 7cbd5dd63c4caee950aa46839efbb2a63196a5f3 SHA1 3499390b6a62660199ebd56b2f81e59d42c0dcda SHA256 b5428c5375ae76cf99383f88be7e097029bfb6ad8eb666b259cd1b7bb4065bee
 MISC ChangeLog 777 RMD160 720e157b296e17fc24754f610d85743190fbb4cb SHA1 0feb30ef75ada3ab57893f7ca6e034ae968af8b6 SHA256 47dedd4a00bf4f4072158d0c740d24abba3f734ec42ddc43c27c7479beb30ebd
 MISC metadata.xml 856 RMD160 250635ac290516ed28e932e55ec87626d97b228e SHA1 9bdb2a1cb537025e5460141522746f3b07cea92f SHA256 4c5ea594bc1d07713211d39171d628b2cba8b3aeccef73309e816cecc79bd8c9

diff --git a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
index 4f54b47..162a5b1 100644
--- a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
+++ b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
@@ -11,7 +11,8 @@ MYP="${MYPN}-${PV}_bsd"
 
 DESCRIPTION="Fast implementations of the Basic Linear Algebra Subroutines"
 HOMEPAGE="http://www.tacc.utexas.edu/tacc-projects/gotoblas2/"
-SRC_URI="${MYP}.tar.gz"
+# change to gentoo mirror when in
+SRC_URI="http://dev.gentoo.org/~bicatali/${MYP}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"



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

* [gentoo-commits] dev/bicatali:master commit in: sci-libs/gotoblas2/
@ 2011-05-31 20:12 Sebastien Fabbro
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro @ 2011-05-31 20:12 UTC (permalink / raw
  To: gentoo-commits

commit:     9fcf4ce2c038c2124b98cf7b8dc7f2589b46150f
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 20:01:00 2011 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue May 31 20:01:00 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/bicatali.git;a=commit;h=9fcf4ce2

fixed shared libs. added a aliasing patch. switched to eapi4.

---
 sci-libs/gotoblas2/ChangeLog |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/sci-libs/gotoblas2/ChangeLog b/sci-libs/gotoblas2/ChangeLog
index 662d6d5..63e373b 100644
--- a/sci-libs/gotoblas2/ChangeLog
+++ b/sci-libs/gotoblas2/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  31 May 2011; Sébastien Fabbro <bicatali@gentoo.org> gotoblas2-1.13.ebuild:
+  Fixed shared libs. Make ebuild easier to debug with a generated rule Makefile
+  instead of dynamic. Added a aliasing patch. Switched to EAPI4.
+
   23 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> gotoblas2-1.13.ebuild,
   files/gotoblas2-1.13-sharedlibs.patch:
   fixed ldflags propagation



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

* [gentoo-commits] dev/bicatali:master commit in: sci-libs/gotoblas2/
@ 2011-05-31 20:12 Sebastien Fabbro
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro @ 2011-05-31 20:12 UTC (permalink / raw
  To: gentoo-commits

commit:     cd5ae87a0ba33b68669f67f2b567f24d4f59e3d7
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 20:01:52 2011 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue May 31 20:01:52 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/bicatali.git;a=commit;h=cd5ae87a

fixed shared libs. added a aliasing patch. switched to eapi4.

---
 sci-libs/gotoblas2/ChangeLog             |    4 +-
 sci-libs/gotoblas2/Manifest              |    4 +-
 sci-libs/gotoblas2/gotoblas2-1.13.ebuild |   70 +++++++++++++----------------
 3 files changed, 35 insertions(+), 43 deletions(-)

diff --git a/sci-libs/gotoblas2/ChangeLog b/sci-libs/gotoblas2/ChangeLog
index 63e373b..b3aa305 100644
--- a/sci-libs/gotoblas2/ChangeLog
+++ b/sci-libs/gotoblas2/ChangeLog
@@ -3,8 +3,8 @@
 # $Header: $
 
   31 May 2011; Sébastien Fabbro <bicatali@gentoo.org> gotoblas2-1.13.ebuild:
-  Fixed shared libs. Make ebuild easier to debug with a generated rule Makefile
-  instead of dynamic. Added a aliasing patch. Switched to EAPI4.
+  Fixed shared libs. Make ebuild easier to debug with a generated rule
+  Makefile instead of dynamic. Switched to EAPI4.
 
   23 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> gotoblas2-1.13.ebuild,
   files/gotoblas2-1.13-sharedlibs.patch:

diff --git a/sci-libs/gotoblas2/Manifest b/sci-libs/gotoblas2/Manifest
index de4f5bc..1a32fb6 100644
--- a/sci-libs/gotoblas2/Manifest
+++ b/sci-libs/gotoblas2/Manifest
@@ -1,6 +1,6 @@
 AUX gotoblas2-1.13-dynamic.patch 608 RMD160 37947ee4aeeec6db1f32132adf97e802369bdaf0 SHA1 f96cb1d7856b4647857b8dc77aa68ceba1d51107 SHA256 7ff5d3179c3051f41fd2963e90734bd6997dd4d6d955ea4c613ff241f49875c4
 AUX gotoblas2-1.13-sharedlibs.patch 1929 RMD160 87db891bb2e0b538da7a4f21c10c65b78149a26c SHA1 031912957004745f5e68c2cdf3899f0e80118377 SHA256 fc5f014d6b81a481a9c9c29d82de07f5a5182d9355f90071ba89b680f7e09c1b
 DIST GotoBLAS2-1.13_bsd.tar.gz 3165294 RMD160 64a416b506b45ec4df33d9d7e9ec893585b794b2 SHA1 0e1a046bb51e50cf8cff5d1732157a083a620e64 SHA256 7c3eab57ef5ad5c42f73adade833a531591e78967bbe9fc6db31310d73fa2d86
-EBUILD gotoblas2-1.13.ebuild 2893 RMD160 737f4cc4b8ba03d284467566b18194f35d83ac20 SHA1 5ee803f982f7a675b9711c35b453ad7586b871df SHA256 546424f15867a0120d9f545df116826c66f0e63c3bc843f21d533b09fb02d488
-MISC ChangeLog 777 RMD160 720e157b296e17fc24754f610d85743190fbb4cb SHA1 0feb30ef75ada3ab57893f7ca6e034ae968af8b6 SHA256 47dedd4a00bf4f4072158d0c740d24abba3f734ec42ddc43c27c7479beb30ebd
+EBUILD gotoblas2-1.13.ebuild 2791 RMD160 c845f756ad284fad2fb76ae9e9250d43c942858e SHA1 06be313281ba89d323f422bf69a7ea1b905f78ac SHA256 8f9a6ae33d8a68412115147d545557151d61e101efb57f11a71a377edd7ead76
+MISC ChangeLog 977 RMD160 1029dd4ef2c56cc34416f92d0488f6095dcfb9ef SHA1 305aa88db9c89385ca7224e7eb91c58df4d4a36d SHA256 d8b525cf38540ec0e3ece7b96d47838f5afd86065b89fd56ecd23141b02946ee
 MISC metadata.xml 856 RMD160 250635ac290516ed28e932e55ec87626d97b228e SHA1 9bdb2a1cb537025e5460141522746f3b07cea92f SHA256 4c5ea594bc1d07713211d39171d628b2cba8b3aeccef73309e816cecc79bd8c9

diff --git a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
index b623f44..4a777a4 100644
--- a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
+++ b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=3
+EAPI=4
 
 inherit eutils toolchain-funcs alternatives-2
 
@@ -26,8 +26,9 @@ DEPEND="${RDEPEND}"
 S="${WORKDIR}/${MYPN}"
 
 src_prepare() {
-	epatch "${FILESDIR}"/${P}-dynamic.patch
-	epatch "${FILESDIR}"/${P}-sharedlibs.patch
+	epatch "${FILESDIR}"/${P}-{dynamic,sharedlibs}.patch
+	# respect LDFLAGS
+	sed -i -e '/^LDFLAGS\s*=/d' Makefile.* || die
 	if ! use dynamic; then
 		sed -i \
 			-e "/^COMMON_OPT/s/-O2/${CFLAGS}/" \
@@ -45,58 +46,51 @@ src_prepare() {
 }
 
 src_configure() {
-	local bits=32
-	if use amd64 || use alpha || use ppc64 ||  use sparc || use ia64; then
-		bits=64
-	fi
-	GOTO_MAKEFLAGS=(
-		CC=$(tc-getCC)
-		FC=$(tc-getFC)
-		LDFLAGS="${LDFLAGS}"
-		FLDFLAGS="${LDFLAGS}"
-		BINARY=${bits}
-		USE_THREAD=$(use threads && echo 1 || echo 0)
-		USE_OPENMP=$(use openmp && echo 1)
-		DYNAMIC_ARCH=$(use dynamic && echo 1)
-		INTERFACE64=$(use int64 && echo 1)
-		NO_CBLAS=$(use incblas || echo 1)
-	)
+	local use_openmp=$(use openmp && echo 1)
+	use threads && use openmp && use_openmp="" && \
+		einfo "openmp and threads enabled: using threads"
+	sed -i \
+		-e "s:^#\s*\(NO_LAPACK\)\s*=.*:\1=1:" \
+		-e "s:^#\s*\(CC\)\s*=.*:\1=$(tc-getCC):" \
+		-e "s:^#\s*\(FC\)\s*=.*:\1=$(tc-getFC):" \
+		-e "s:^#\s*\(USE_THREAD\)\s*=.*:\1=$(use threads && echo 1 || echo 0):" \
+		-e "s:^#\s*\(USE_OPENMP\)\s*=.*:\1=${use_openmp}:" \
+		-e "s:^#\s*\(DYNAMIC_ARCH\)\s*=.*:\1=$(use dynamic && echo 1):" \
+		-e "s:^#\s*\(INTERFACE64\)\s*=.*:\1=$(use int64 && echo 1):" \
+		-e "s:^#\s*\(NO_CBLAS\)\s*=.*:\1=$(use incblas || echo 1):" \
+		Makefile.rule || die
 }
 
 src_compile() {
-	emake libs shared "${GOTO_MAKEFLAGS[@]}" || die "emake failed"
-	if use static-libs; then
-		rename so so_sav *.so && emake clean
-		emake libs "${GOTO_MAKEFLAGS[@]}" NEED_PIC= || die "emake static failed"
-		rename so_sav so *.so_sav
-	fi
+	mkdir solibs
+	emake libs shared && mv *.so solibs/
+	use static-libs && emake clean && emake libs NEED_PIC=
 }
 
 src_test() {
-	emake tests "${GOTO_MAKEFLAGS[@]}" || die "emake tests failed"
+	emake tests
 }
 
 src_install() {
-	local libname=goto2
-	mv $(readlink lib${libname}.so) lib${libname}.so
-	dolib.so lib${libname}.so  || die "installing shared ${libname} failed"
-	if use static-libs; then
-		mv $(readlink lib${libname}.a) lib${libname}.a
-		dolib.a lib${libname}.a || die "installing static ${libname} failed"
-	fi
+	local libname=goto2 threads
+	use threads && threads="-pthread"
+	dolib.so solibs/lib*.so
+	use static-libs && dolib.a lib*.a
+
 	# create pkg-config file and associated eselect file
 	cat <<-EOF > ${libname}.pc
-		prefix="${EPREFIX}"/usr
+		prefix=${EPREFIX}/usr
 		libdir=\${prefix}/$(get_libdir)
 		includedir=\${prefix}/include
-
 		Name: ${MYPN}
 		Description: ${DESCRIPTION}
 		Version: ${PV}
 		URL: ${HOMEPAGE}
-		Libs: -L\${libdir} -l${libname}
-		Libs.private: -lm
+		Libs: -L\${libdir} -l${libname} -lm ${threads}
 	EOF
+	insinto /usr/$(get_libdir)/pkgconfig
+	doins ${libname}.pc
+
 	alternatives_for blas goto2 0 \
 		"/usr/$(get_libdir)/pkgconfig/blas.pc" "${libname}.pc"
 
@@ -108,7 +102,5 @@ src_install() {
 			"/usr/$(get_libdir)/pkgconfig/cblas.pc" "${libname}.pc" \
 			"/usr/include/cblas.h" "${PN}/cblas.h"
 	fi
-	insinto /usr/$(get_libdir)/pkgconfig
-	doins ${libname}.pc
 	dodoc 01Readme.txt 03FAQ.txt 05LargePage 06WeirdPerformance
 }



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

* [gentoo-commits] dev/bicatali:master commit in: sci-libs/gotoblas2/
@ 2011-08-17 15:44 Sebastien Fabbro
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro @ 2011-08-17 15:44 UTC (permalink / raw
  To: gentoo-commits

commit:     b096effcf83c59aa6869216577c5a012f1009265
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 17 15:44:25 2011 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed Aug 17 15:44:25 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/bicatali.git;a=commit;h=b096effc

fixed pkgconfig cflags

---
 sci-libs/gotoblas2/ChangeLog             |    3 +++
 sci-libs/gotoblas2/Manifest              |    4 ++--
 sci-libs/gotoblas2/gotoblas2-1.13.ebuild |    7 ++++---
 3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/sci-libs/gotoblas2/ChangeLog b/sci-libs/gotoblas2/ChangeLog
index b3aa305..89dbea2 100644
--- a/sci-libs/gotoblas2/ChangeLog
+++ b/sci-libs/gotoblas2/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  17 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> gotoblas2-1.13.ebuild:
+  Fixed include directive in pkgconfig file
+
   31 May 2011; Sébastien Fabbro <bicatali@gentoo.org> gotoblas2-1.13.ebuild:
   Fixed shared libs. Make ebuild easier to debug with a generated rule
   Makefile instead of dynamic. Switched to EAPI4.

diff --git a/sci-libs/gotoblas2/Manifest b/sci-libs/gotoblas2/Manifest
index 5ca4394..a26b886 100644
--- a/sci-libs/gotoblas2/Manifest
+++ b/sci-libs/gotoblas2/Manifest
@@ -3,6 +3,6 @@ AUX gotoblas2-1.13-dynamic.patch 608 RMD160 37947ee4aeeec6db1f32132adf97e802369b
 AUX gotoblas2-1.13-fcheck.patch 292 RMD160 d5163404d0eff01b21e5c7792a3e03677f210552 SHA1 73cd53f9b09ff4f147a8ed5f810b864c2ded8221 SHA256 19bbf3bdf5dfcb639c3817e545b3186b1e379e874ffcb586bd5e76ec40bfa533
 AUX gotoblas2-1.13-sharedlibs.patch 1929 RMD160 87db891bb2e0b538da7a4f21c10c65b78149a26c SHA1 031912957004745f5e68c2cdf3899f0e80118377 SHA256 fc5f014d6b81a481a9c9c29d82de07f5a5182d9355f90071ba89b680f7e09c1b
 DIST GotoBLAS2-1.13_bsd.tar.gz 3165294 RMD160 64a416b506b45ec4df33d9d7e9ec893585b794b2 SHA1 0e1a046bb51e50cf8cff5d1732157a083a620e64 SHA256 7c3eab57ef5ad5c42f73adade833a531591e78967bbe9fc6db31310d73fa2d86
-EBUILD gotoblas2-1.13.ebuild 2958 RMD160 f468ecf73cb721e1b4a0b7549247daf9dd252842 SHA1 a15bc9df091b12dd4849988eaafa0a15bdc5f516 SHA256 f6e1695fa23587f872eaa725cf6047a5aa515bee8571c514a6591bda40ee1f60
-MISC ChangeLog 977 RMD160 1029dd4ef2c56cc34416f92d0488f6095dcfb9ef SHA1 305aa88db9c89385ca7224e7eb91c58df4d4a36d SHA256 d8b525cf38540ec0e3ece7b96d47838f5afd86065b89fd56ecd23141b02946ee
+EBUILD gotoblas2-1.13.ebuild 2952 RMD160 e83240b59c3944fc6b5c78eb688cd1da7de04d21 SHA1 e19041955bdb226be5da06dffa7089aac67e12db SHA256 c463de32ab9a23d49b72e7d2fd21cc8ce531a46aa911083aa17bba419959cdf5
+MISC ChangeLog 1100 RMD160 7b498359a70c2d11944726928a11ac86310f7c48 SHA1 3092ba67bc1f249cb88ef859b4a016eb4007731b SHA256 2da403e52d86a8c5684f06965dd7b25f2e9094cf61995150b777870fdd552406
 MISC metadata.xml 856 RMD160 250635ac290516ed28e932e55ec87626d97b228e SHA1 9bdb2a1cb537025e5460141522746f3b07cea92f SHA256 4c5ea594bc1d07713211d39171d628b2cba8b3aeccef73309e816cecc79bd8c9

diff --git a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
index 7b8b91a..b900536 100644
--- a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
+++ b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
@@ -95,19 +95,20 @@ src_install() {
 		URL: ${HOMEPAGE}
 		Libs: -L\${libdir} -lgoto2 -lm ${threads}
 	EOF
-	insinto /usr/$(get_libdir)/pkgconfig
-	doins ${profname}.pc
 
 	alternatives_for blas ${profname} 0 \
 		"/usr/$(get_libdir)/pkgconfig/blas.pc" "${profname}.pc"
 
 	if use incblas; then
 		insinto /usr/include/${PN}
-		doins cblas.h || die
+		doins cblas.h
 		echo >> ${profname}.pc "Cflags: -I\${includedir}/${PN}"
 		alternatives_for cblas ${profname} 0 \
 			"/usr/$(get_libdir)/pkgconfig/cblas.pc" "${profname}.pc" \
 			"/usr/include/cblas.h" "${PN}/cblas.h"
 	fi
+
+	insinto /usr/$(get_libdir)/pkgconfig
+	doins ${profname}.pc
 	dodoc 01Readme.txt 03FAQ.txt 05LargePage 06WeirdPerformance
 }



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

end of thread, other threads:[~2011-08-17 15:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-17 15:44 [gentoo-commits] dev/bicatali:master commit in: sci-libs/gotoblas2/ Sebastien Fabbro
  -- strict thread matches above, loose matches on Subject: below --
2011-05-31 20:12 Sebastien Fabbro
2011-05-31 20:12 Sebastien Fabbro
2011-02-27  3:04 Sebastien Fabbro

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