public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-libs/scalapack/
@ 2012-03-13  0:56 Sebastien Fabbro
  0 siblings, 0 replies; 7+ messages in thread
From: Sebastien Fabbro @ 2012-03-13  0:56 UTC (permalink / raw
  To: gentoo-commits

commit:     e8ec69f6a9c186756cb34d9c803dc0ed3a08da7e
Author:     Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
AuthorDate: Mon Mar 12 23:12:34 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Mar 12 23:12:34 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e8ec69f6

sci-libs/scalapack: remove mpi from pc file

(Portage version: 2.1.10.44/git/Linux x86_64, unsigned Manifest commit)

---
 sci-libs/scalapack/ChangeLog              |    3 +++
 sci-libs/scalapack/scalapack-2.0.1.ebuild |    2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/sci-libs/scalapack/ChangeLog b/sci-libs/scalapack/ChangeLog
index 494a003..4644dc8 100644
--- a/sci-libs/scalapack/ChangeLog
+++ b/sci-libs/scalapack/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  12 Mar 2012; Sébastien Fabbro <bicatali@gentoo.org> scalapack-2.0.1.ebuild:
+  remove mpi from pc file
+
 *scalapack-2.0.1 (23 Feb 2012)
 
   23 Feb 2012; Sébastien Fabbro <bicatali@gentoo.org> +scalapack-2.0.1.ebuild,

diff --git a/sci-libs/scalapack/scalapack-2.0.1.ebuild b/sci-libs/scalapack/scalapack-2.0.1.ebuild
index 2879e30..c33db8e 100644
--- a/sci-libs/scalapack/scalapack-2.0.1.ebuild
+++ b/sci-libs/scalapack/scalapack-2.0.1.ebuild
@@ -30,6 +30,8 @@ src_prepare() {
 		-e 's:BINARY_DIR}/scalapack.pc:BINARY_DIR}/refscalapack.pc:g' \
 		CMakeLists.txt || die
 	use static-libs && mkdir "${WORKDIR}/${PN}_static"
+	# mpi does not have a pc file
+	sed -i -e 's/mpi//' scalapack.pc.in || die
 }
 
 src_configure() {



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

* [gentoo-commits] proj/sci:master commit in: sci-libs/scalapack/
@ 2012-05-10 21:06 Sebastien Fabbro
  0 siblings, 0 replies; 7+ messages in thread
From: Sebastien Fabbro @ 2012-05-10 21:06 UTC (permalink / raw
  To: gentoo-commits

commit:     54cea73bc026780cb348b72bdb8b3143600018c1
Author:     Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
AuthorDate: Thu May 10 21:05:58 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu May 10 21:05:58 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=54cea73b

sci-libs/scalapack: Version bump

(Portage version: 2.1.10.56/git/Linux x86_64, unsigned Manifest commit)

---
 sci-libs/scalapack/ChangeLog              |    5 ++
 sci-libs/scalapack/scalapack-2.0.2.ebuild |   72 +++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+), 0 deletions(-)

diff --git a/sci-libs/scalapack/ChangeLog b/sci-libs/scalapack/ChangeLog
index 4644dc8..783a690 100644
--- a/sci-libs/scalapack/ChangeLog
+++ b/sci-libs/scalapack/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*scalapack-2.0.2 (10 May 2012)
+
+  10 May 2012; Sébastien Fabbro <bicatali@gentoo.org> +scalapack-2.0.2.ebuild:
+  Version bump
+
   12 Mar 2012; Sébastien Fabbro <bicatali@gentoo.org> scalapack-2.0.1.ebuild:
   remove mpi from pc file
 

diff --git a/sci-libs/scalapack/scalapack-2.0.2.ebuild b/sci-libs/scalapack/scalapack-2.0.2.ebuild
new file mode 100644
index 0000000..e89f248
--- /dev/null
+++ b/sci-libs/scalapack/scalapack-2.0.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit cmake-utils alternatives-2 fortran-2
+
+DESCRIPTION="Subset of LAPACK routines redesigned for heterogenous computing"
+HOMEPAGE="http://www.netlib.org/scalapack/"
+SRC_URI="${HOMEPAGE}/${P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs test"
+
+RDEPEND="virtual/lapack
+	virtual/mpi
+	!sci-libs/mpiblacs"
+
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig"
+
+src_prepare() {
+	#epatch "${FILESDIR}"/${PN}-2.0.1-link.patch
+	# gentoo fix to avoid collision with other scalapack
+	sed -i \
+		-e 's:BINARY_DIR}/scalapack.pc:BINARY_DIR}/refscalapack.pc:g' \
+		CMakeLists.txt || die
+	use static-libs && mkdir "${WORKDIR}/${PN}_static"
+	# mpi does not have a pc file
+	sed -i -e 's/mpi//' scalapack.pc.in || die
+}
+
+src_configure() {
+	scalapack_configure() {
+		local mycmakeargs=(
+			-DUSE_OPTIMIZED_LAPACK_BLAS=ON
+			-DBLAS_LIBRARIES="$(pkg-config --libs blas)"
+			-DLAPACK_LIBRARIES="$(pkg-config --libs lapack)"
+			$(cmake-utils_use_build test TESTING)
+			$@
+		)
+		cmake-utils_src_configure
+	}
+
+	scalapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
+	use static-libs && \
+		CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" scalapack_configure \
+		-DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
+}
+
+src_compile() {
+	cmake-utils_src_compile
+	use static-libs && \
+		CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile
+}
+
+src_install() {
+	cmake-utils_src_install
+	use static-libs && \
+		CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install
+
+	insinto /usr/include/blacs
+	doins BLACS/SRC/*.h
+
+	insinto /usr/include/scalapack
+	doins PBLAS/SRC/*.h
+
+	alternatives_for scalapack reference 0 \
+		/usr/$(get_libdir)/pkgconfig/scalapack.pc refscalapack.pc
+}



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

* [gentoo-commits] proj/sci:master commit in: sci-libs/scalapack/
@ 2012-05-22 19:43 Justin Lecher
  0 siblings, 0 replies; 7+ messages in thread
From: Justin Lecher @ 2012-05-22 19:43 UTC (permalink / raw
  To: gentoo-commits

commit:     f673bae7ed0294f0e560a81e0339824d713e12ba
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue May 22 19:42:03 2012 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue May 22 19:42:03 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f673bae7

sci-libs/scalapack: Add missing eutils.eclass

(Portage version: 2.2.0_alpha107/git/Linux x86_64, unsigned Manifest commit)

---
 sci-libs/scalapack/ChangeLog              |    4 ++++
 sci-libs/scalapack/metadata.xml           |    4 ++--
 sci-libs/scalapack/scalapack-1.8.0.ebuild |    8 +++++---
 sci-libs/scalapack/scalapack-2.0.1.ebuild |    6 ++++--
 sci-libs/scalapack/scalapack-2.0.2.ebuild |    6 ++++--
 5 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/sci-libs/scalapack/ChangeLog b/sci-libs/scalapack/ChangeLog
index 783a690..2e07d23 100644
--- a/sci-libs/scalapack/ChangeLog
+++ b/sci-libs/scalapack/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  22 May 2012; Justin Lecher <jlec@gentoo.org> scalapack-1.8.0.ebuild,
+  scalapack-2.0.1.ebuild, scalapack-2.0.2.ebuild, metadata.xml:
+  Add missing eutils.eclass
+
 *scalapack-2.0.2 (10 May 2012)
 
   10 May 2012; Sébastien Fabbro <bicatali@gentoo.org> +scalapack-2.0.2.ebuild:

diff --git a/sci-libs/scalapack/metadata.xml b/sci-libs/scalapack/metadata.xml
index baa3fe7..23f9c22 100644
--- a/sci-libs/scalapack/metadata.xml
+++ b/sci-libs/scalapack/metadata.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci</herd>
-<longdescription lang="en">
+	<herd>sci</herd>
+	<longdescription lang="en">
   The ScaLAPACK (or Scalable LAPACK) library includes a subset of LAPACK routines
   redesigned for distributed memory MIMD parallel computers. It is currently
   written in a Single-Program-Multiple-Data style using explicit message

diff --git a/sci-libs/scalapack/scalapack-1.8.0.ebuild b/sci-libs/scalapack/scalapack-1.8.0.ebuild
index dc56152..ae469be 100644
--- a/sci-libs/scalapack/scalapack-1.8.0.ebuild
+++ b/sci-libs/scalapack/scalapack-1.8.0.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI=4
-inherit eutils toolchain-funcs versionator alternatives-2
+
+inherit alternatives-2 eutils toolchain-funcs versionator
 
 DESCRIPTION="Subset of LAPACK routines redesigned for heterogenous computing"
 HOMEPAGE="http://www.netlib.org/scalapack/"
@@ -14,7 +15,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="static-libs test"
 
-RDEPEND="virtual/blacs
+RDEPEND="
+	virtual/blacs
 	virtual/lapack"
 DEPEND="${RDEPEND}
 	dev-util/pkgconfig"

diff --git a/sci-libs/scalapack/scalapack-2.0.1.ebuild b/sci-libs/scalapack/scalapack-2.0.1.ebuild
index c33db8e..b6723d8 100644
--- a/sci-libs/scalapack/scalapack-2.0.1.ebuild
+++ b/sci-libs/scalapack/scalapack-2.0.1.ebuild
@@ -3,7 +3,8 @@
 # $Header: $
 
 EAPI=4
-inherit cmake-utils alternatives-2 fortran-2
+
+inherit alternatives-2 cmake-utils eutils fortran-2
 
 DESCRIPTION="Subset of LAPACK routines redesigned for heterogenous computing"
 HOMEPAGE="http://www.netlib.org/scalapack/"
@@ -14,7 +15,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="static-libs test"
 
-RDEPEND="virtual/lapack
+RDEPEND="
+	virtual/lapack
 	virtual/mpi
 	!sci-libs/mpiblacs"
 

diff --git a/sci-libs/scalapack/scalapack-2.0.2.ebuild b/sci-libs/scalapack/scalapack-2.0.2.ebuild
index e89f248..6e4bf0c 100644
--- a/sci-libs/scalapack/scalapack-2.0.2.ebuild
+++ b/sci-libs/scalapack/scalapack-2.0.2.ebuild
@@ -3,7 +3,8 @@
 # $Header: $
 
 EAPI=4
-inherit cmake-utils alternatives-2 fortran-2
+
+inherit alternatives-2 cmake-utils eutils fortran-2
 
 DESCRIPTION="Subset of LAPACK routines redesigned for heterogenous computing"
 HOMEPAGE="http://www.netlib.org/scalapack/"
@@ -14,7 +15,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="static-libs test"
 
-RDEPEND="virtual/lapack
+RDEPEND="
+	virtual/lapack
 	virtual/mpi
 	!sci-libs/mpiblacs"
 



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

* [gentoo-commits] proj/sci:master commit in: sci-libs/scalapack/
@ 2012-07-12 20:43 Sebastien Fabbro
  0 siblings, 0 replies; 7+ messages in thread
From: Sebastien Fabbro @ 2012-07-12 20:43 UTC (permalink / raw
  To: gentoo-commits

commit:     a7e73dbd08ffb5e6170be1d99539ff0b69020560
Author:     Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Thu Jul 12 18:42:08 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Jul 12 18:42:08 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a7e73dbd

sci-libs/scalapack: dependencies fix, removed old

(Portage version: 2.2.01.20757-prefix/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)

---
 sci-libs/scalapack/ChangeLog              |    5 +-
 sci-libs/scalapack/metadata.xml           |    4 +-
 sci-libs/scalapack/scalapack-1.8.0.ebuild |  105 -----------------------------
 sci-libs/scalapack/scalapack-2.0.1.ebuild |   76 ---------------------
 sci-libs/scalapack/scalapack-2.0.2.ebuild |    2 +-
 5 files changed, 7 insertions(+), 185 deletions(-)

diff --git a/sci-libs/scalapack/ChangeLog b/sci-libs/scalapack/ChangeLog
index 2e07d23..3d42fb5 100644
--- a/sci-libs/scalapack/ChangeLog
+++ b/sci-libs/scalapack/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  12 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> -scalapack-1.8.0.ebuild,
+  -scalapack-2.0.1.ebuild, metadata.xml, scalapack-2.0.2.ebuild:
+  sci-libs/scalapack: dependencies fix, removed old
+
   22 May 2012; Justin Lecher <jlec@gentoo.org> scalapack-1.8.0.ebuild,
   scalapack-2.0.1.ebuild, scalapack-2.0.2.ebuild, metadata.xml:
   Add missing eutils.eclass
@@ -28,4 +32,3 @@
   08 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> +scalapack-1.8.0.ebuild,
   +metadata.xml:
   Initial import
-

diff --git a/sci-libs/scalapack/metadata.xml b/sci-libs/scalapack/metadata.xml
index 23f9c22..baa3fe7 100644
--- a/sci-libs/scalapack/metadata.xml
+++ b/sci-libs/scalapack/metadata.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<herd>sci</herd>
-	<longdescription lang="en">
+<herd>sci</herd>
+<longdescription lang="en">
   The ScaLAPACK (or Scalable LAPACK) library includes a subset of LAPACK routines
   redesigned for distributed memory MIMD parallel computers. It is currently
   written in a Single-Program-Multiple-Data style using explicit message

diff --git a/sci-libs/scalapack/scalapack-1.8.0.ebuild b/sci-libs/scalapack/scalapack-1.8.0.ebuild
deleted file mode 100644
index ae469be..0000000
--- a/sci-libs/scalapack/scalapack-1.8.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit alternatives-2 eutils toolchain-funcs versionator
-
-DESCRIPTION="Subset of LAPACK routines redesigned for heterogenous computing"
-HOMEPAGE="http://www.netlib.org/scalapack/"
-SRC_URI="${HOMEPAGE}/${P}.tgz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="static-libs test"
-
-RDEPEND="
-	virtual/blacs
-	virtual/lapack"
-DEPEND="${RDEPEND}
-	dev-util/pkgconfig"
-
-make_shared_lib() {
-	local libstatic=${1}
-	local soname=$(basename "${1%.a}").so.$(get_major_version)
-	shift
-	einfo "Making ${soname}"
-	${LINK:-$(tc-getCC)} ${LDFLAGS}  \
-		-shared -Wl,-soname="${soname}" \
-		-Wl,--whole-archive "${libstatic}" -Wl,--no-whole-archive \
-		"$@" -o $(dirname "${libstatic}")/"${soname}" || die "${soname} failed"
-	ln -s "${soname}" $(dirname "${libstatic}")/"${soname%.*}"
-}
-
-src_configure() {
-	sed -e "s:\(^home[[:space:]]*=\).*:\1${S}:" \
-		-e "s:\(^CDEFS[[:space:]]*=\).*:\1-DAdd_ -DNO_IEEE -DUsingMpiBlacs:" \
-		-e "s:\(^F77FLAGS[[:space:]]*=\).*:\1${FFLAGS}:" \
-		-e "s:\(^F77LOADFLAGS[[:space:]]*=\).*:\1${LDFLAGS}:" \
-		-e "s:\(^CCFLAGS[[:space:]]*=\).*:\1${CFLAGS}:" \
-		-e "s:\(^CCLOADFLAGS[[:space:]]*=\).*:\1${LDFLAGS}:" \
-		-e "s:\(^ARCH[[:space:]]*=\).*:\1$(tc-getAR):" \
-		-e "s:\(^RANLIB[[:space:]]*=\).*:\1$(tc-getRANLIB):" \
-		-e "s:\(^SMPLIB[[:space:]]*=\).*:\1:" \
-		-e "s:\(^BLACSFINIT[[:space:]]*=\).*:\1:" \
-		-e "s:\(^BLACSCINIT[[:space:]]*=\).*:\1:" \
-		-e "s:\(^BLACSLIB[[:space:]]*=\).*:\1$(pkg-config --libs blacs):" \
-		-e "s:\(^BLASLIB[[:space:]]*=\).*:\1$(pkg-config --libs blas):" \
-		-e "s:\(^LAPACKLIB[[:space:]]*=\).*:\1$(pkg-config --libs lapack):" \
-		SLmake.inc.example > SLmake.inc || die
-}
-
-src_compile() {
-	# removing -j1 is tricky because of race to create archive
-	emake -j1 \
-		NOOPT="-fPIC" \
-		F77FLAGS="${FFLAGS} -fPIC" \
-		CCFLAGS="${CFLAGS} -fPIC"
-	local l
-	LINK=mpicc make_shared_lib lib${PN}.a $(pkg-config --libs blas lapack blacs)
-	if use static-libs; then
-		emake cleanlib && rm lib*.a
-		emake -j1
-	fi
-}
-
-src_test() {
-	emake exe
-	cd TESTING
-	local x
-	for x in ./x*; do
-		mpirun -np 4 $x 2>&1 | tee $x.log
-		grep -q "\*\*\*" $x.log && die "$x failed"
-	done
-}
-
-src_install() {
-	cd LIB
-	dolib.so lib*.so*
-	use static-libs && dolib.a lib*.a
-	cd "${S}"
-	insinto /usr/include/${PN}
-	doins PBLAS/SRC/*.h || die
-
-	local pcfile=ref${PN}.pc
-	cat <<-EOF > ${pcfile}
-		prefix=${EPREFIX}/usr
-		libdir=\${prefix}/$(get_libdir)
-		includedir=\${prefix}/include
-		Name: ${PN}
-		Description: ${DESCRIPTION}
-		Version: ${PV}
-		URL: ${HOMEPAGE}
-		Libs: -L\${libdir} -l${PN}
-		Private: -lm
-		Cflags: -I\${includedir}/${PN}
-		Requires: blas lapack blacs
-	EOF
-	insinto /usr/$(get_libdir)/pkgconfig
-	doins ${pcfile} || die
-	alternatives_for scalapack reference \
-		0 "/usr/$(get_libdir)/pkgconfig/scalapack.pc" "${pcfile}"
-
-}

diff --git a/sci-libs/scalapack/scalapack-2.0.1.ebuild b/sci-libs/scalapack/scalapack-2.0.1.ebuild
deleted file mode 100644
index b6723d8..0000000
--- a/sci-libs/scalapack/scalapack-2.0.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit alternatives-2 cmake-utils eutils fortran-2
-
-DESCRIPTION="Subset of LAPACK routines redesigned for heterogenous computing"
-HOMEPAGE="http://www.netlib.org/scalapack/"
-SRC_URI="${HOMEPAGE}/${P}.tgz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="static-libs test"
-
-RDEPEND="
-	virtual/lapack
-	virtual/mpi
-	!sci-libs/mpiblacs"
-
-DEPEND="${RDEPEND}
-	dev-util/pkgconfig"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-link.patch
-	# fix for duplicate symbols, from svn upstream trunk
-	epatch "${FILESDIR}"/${P}-multipledefs.patch
-	# gentoo fix to avoid collision with other scalapack
-	sed -i \
-		-e 's:BINARY_DIR}/scalapack.pc:BINARY_DIR}/refscalapack.pc:g' \
-		CMakeLists.txt || die
-	use static-libs && mkdir "${WORKDIR}/${PN}_static"
-	# mpi does not have a pc file
-	sed -i -e 's/mpi//' scalapack.pc.in || die
-}
-
-src_configure() {
-	scalapack_configure() {
-		local mycmakeargs=(
-			-DUSE_OPTIMIZED_LAPACK_BLAS=ON
-			-DBLAS_LIBRARIES="$(pkg-config --libs blas)"
-			-DLAPACK_LIBRARIES="$(pkg-config --libs lapack)"
-			$(cmake-utils_use_build test TESTING)
-			$@
-		)
-		cmake-utils_src_configure
-	}
-
-	scalapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
-	use static-libs && \
-		CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" scalapack_configure \
-		-DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
-}
-
-src_compile() {
-	cmake-utils_src_compile
-	use static-libs && \
-		CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile
-}
-
-src_install() {
-	cmake-utils_src_install
-	use static-libs && \
-		CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install
-
-	insinto /usr/include/blacs
-	doins BLACS/SRC/*.h
-
-	insinto /usr/include/scalapack
-	doins PBLAS/SRC/*.h
-
-	alternatives_for scalapack reference 0 \
-		/usr/$(get_libdir)/pkgconfig/scalapack.pc refscalapack.pc
-}

diff --git a/sci-libs/scalapack/scalapack-2.0.2.ebuild b/sci-libs/scalapack/scalapack-2.0.2.ebuild
index 6e4bf0c..ca9c90f 100644
--- a/sci-libs/scalapack/scalapack-2.0.2.ebuild
+++ b/sci-libs/scalapack/scalapack-2.0.2.ebuild
@@ -21,7 +21,7 @@ RDEPEND="
 	!sci-libs/mpiblacs"
 
 DEPEND="${RDEPEND}
-	dev-util/pkgconfig"
+	virtual/pkgconfig"
 
 src_prepare() {
 	#epatch "${FILESDIR}"/${PN}-2.0.1-link.patch



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

* [gentoo-commits] proj/sci:master commit in: sci-libs/scalapack/
@ 2014-01-18  7:38 Justin Lecher
  0 siblings, 0 replies; 7+ messages in thread
From: Justin Lecher @ 2014-01-18  7:38 UTC (permalink / raw
  To: gentoo-commits

commit:     753f1fb7a920496a1b7746cf285c4f7a1098bc02
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 17 05:02:04 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 07:38:34 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=753f1fb7

sci-libs/scalapack: Revbump to use alternatives vs. tree

Package-Manager: portage-2.2.8-prefix

---
 sci-libs/scalapack/ChangeLog                                      | 8 +++++++-
 .../{scalapack-2.0.2.ebuild => scalapack-2.0.2-r1.ebuild}         | 4 ++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/sci-libs/scalapack/ChangeLog b/sci-libs/scalapack/ChangeLog
index 753eafa..a31e92c 100644
--- a/sci-libs/scalapack/ChangeLog
+++ b/sci-libs/scalapack/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for sci-libs/scalapack
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*scalapack-2.0.2-r1 (17 Jan 2014)
+
+  17 Jan 2014; Sébastien Fabbro <bicatali@gentoo.org>
+  +scalapack-2.0.2-r1.ebuild, -scalapack-2.0.2.ebuild:
+  sci-libs/scalapack: Revbump to use alternatives vs. tree
+
   12 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org>
   -files/scalapack-2.0.1-link.patch, -files/scalapack-2.0.1-multipledefs.patch,
   scalapack-2.0.2.ebuild:

diff --git a/sci-libs/scalapack/scalapack-2.0.2.ebuild b/sci-libs/scalapack/scalapack-2.0.2-r1.ebuild
similarity index 97%
rename from sci-libs/scalapack/scalapack-2.0.2.ebuild
rename to sci-libs/scalapack/scalapack-2.0.2-r1.ebuild
index 19778f6..1e579b4 100644
--- a/sci-libs/scalapack/scalapack-2.0.2.ebuild
+++ b/sci-libs/scalapack/scalapack-2.0.2-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 
 inherit alternatives-2 cmake-utils eutils fortran-2
 


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

* [gentoo-commits] proj/sci:master commit in: sci-libs/scalapack/
@ 2014-01-18  7:39 Justin Lecher
  0 siblings, 0 replies; 7+ messages in thread
From: Justin Lecher @ 2014-01-18  7:39 UTC (permalink / raw
  To: gentoo-commits

commit:     cb2b23e2d6d230ba4d6d53c76f47331925208f22
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 17 05:02:04 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 05:02:04 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cb2b23e2

sci-libs/scalapack: Revbump to use alternatives vs. tree

Package-Manager: portage-2.2.8-prefix

---
 sci-libs/scalapack/ChangeLog                                      | 8 +++++++-
 .../{scalapack-2.0.2.ebuild => scalapack-2.0.2-r1.ebuild}         | 4 ++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/sci-libs/scalapack/ChangeLog b/sci-libs/scalapack/ChangeLog
index 753eafa..a31e92c 100644
--- a/sci-libs/scalapack/ChangeLog
+++ b/sci-libs/scalapack/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for sci-libs/scalapack
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*scalapack-2.0.2-r1 (17 Jan 2014)
+
+  17 Jan 2014; Sébastien Fabbro <bicatali@gentoo.org>
+  +scalapack-2.0.2-r1.ebuild, -scalapack-2.0.2.ebuild:
+  sci-libs/scalapack: Revbump to use alternatives vs. tree
+
   12 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org>
   -files/scalapack-2.0.1-link.patch, -files/scalapack-2.0.1-multipledefs.patch,
   scalapack-2.0.2.ebuild:

diff --git a/sci-libs/scalapack/scalapack-2.0.2.ebuild b/sci-libs/scalapack/scalapack-2.0.2-r1.ebuild
similarity index 97%
rename from sci-libs/scalapack/scalapack-2.0.2.ebuild
rename to sci-libs/scalapack/scalapack-2.0.2-r1.ebuild
index 19778f6..1e579b4 100644
--- a/sci-libs/scalapack/scalapack-2.0.2.ebuild
+++ b/sci-libs/scalapack/scalapack-2.0.2-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 
 inherit alternatives-2 cmake-utils eutils fortran-2
 


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

* [gentoo-commits] proj/sci:master commit in: sci-libs/scalapack/
@ 2020-09-22 12:14 Aisha Tammy
  0 siblings, 0 replies; 7+ messages in thread
From: Aisha Tammy @ 2020-09-22 12:14 UTC (permalink / raw
  To: gentoo-commits

commit:     3caa4410b02badb8623e7bce1d3bc74bc8eef319
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Tue Sep 22 12:12:56 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Sep 22 12:12:56 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=3caa4410

sci-libs/scalapack: drop package

present in ::gentoo

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 sci-libs/scalapack/metadata.xml              | 15 ------
 sci-libs/scalapack/scalapack-2.0.2-r1.ebuild | 71 ----------------------------
 2 files changed, 86 deletions(-)

diff --git a/sci-libs/scalapack/metadata.xml b/sci-libs/scalapack/metadata.xml
deleted file mode 100644
index 9515f4005..000000000
--- a/sci-libs/scalapack/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="project">
-		<email>sci@gentoo.org</email>
-		<name>Gentoo Science Project</name>
-	</maintainer>
-	<longdescription lang="en">
-The ScaLAPACK (or Scalable LAPACK) library includes a subset of LAPACK routines
-redesigned for distributed memory MIMD parallel computers. It is currently
-written in a Single-Program-Multiple-Data style using explicit message
-passing for interprocessor communication. It assumes matrices are laid out
-in a two-dimensional block cyclic decomposition.
-</longdescription>
-</pkgmetadata>

diff --git a/sci-libs/scalapack/scalapack-2.0.2-r1.ebuild b/sci-libs/scalapack/scalapack-2.0.2-r1.ebuild
deleted file mode 100644
index 55d6aed37..000000000
--- a/sci-libs/scalapack/scalapack-2.0.2-r1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit alternatives-2 cmake-utils eutils fortran-2
-
-DESCRIPTION="Subset of LAPACK routines redesigned for heterogenous computing"
-HOMEPAGE="http://www.netlib.org/scalapack/"
-SRC_URI="${HOMEPAGE}/${P}.tgz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs test"
-
-RDEPEND="
-	virtual/lapack
-	virtual/mpi
-	!sci-libs/mpiblacs"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-src_prepare() {
-	# gentoo fix to avoid collision with other scalapack
-	sed -i \
-		-e 's:BINARY_DIR}/scalapack.pc:BINARY_DIR}/refscalapack.pc:g' \
-		CMakeLists.txt || die
-	use static-libs && mkdir "${WORKDIR}/${PN}_static"
-	# mpi does not have a pc file
-	sed -i -e 's/mpi//' scalapack.pc.in || die
-}
-
-src_configure() {
-	scalapack_configure() {
-		local mycmakeargs=(
-			-DUSE_OPTIMIZED_LAPACK_BLAS=ON
-			-DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
-			-DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)"
-			$(cmake-utils_use_build test TESTING)
-			$@
-		)
-		cmake-utils_src_configure
-	}
-
-	scalapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
-	use static-libs && \
-		BUILD_DIR="${WORKDIR}/${PN}_static" scalapack_configure \
-		-DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
-}
-
-src_compile() {
-	cmake-utils_src_compile
-	use static-libs && \
-		BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile
-}
-
-src_install() {
-	cmake-utils_src_install
-	use static-libs && \
-		BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install
-
-	insinto /usr/include/blacs
-	doins BLACS/SRC/*.h
-
-	insinto /usr/include/scalapack
-	doins PBLAS/SRC/*.h
-
-	alternatives_for scalapack reference 0 \
-		/usr/$(get_libdir)/pkgconfig/scalapack.pc refscalapack.pc
-}


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

end of thread, other threads:[~2020-09-22 12:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-12 20:43 [gentoo-commits] proj/sci:master commit in: sci-libs/scalapack/ Sebastien Fabbro
  -- strict thread matches above, loose matches on Subject: below --
2020-09-22 12:14 Aisha Tammy
2014-01-18  7:39 Justin Lecher
2014-01-18  7:38 Justin Lecher
2012-05-22 19:43 Justin Lecher
2012-05-10 21:06 Sebastien Fabbro
2012-03-13  0:56 Sebastien Fabbro

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