* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2011-08-22 19:26 Sebastien Fabbro
0 siblings, 0 replies; 20+ messages in thread
From: Sebastien Fabbro @ 2011-08-22 19:26 UTC (permalink / raw
To: gentoo-commits
commit: 9e986eb60e690403db4d96face766eeee1ef2c38
Author: Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
AuthorDate: Mon Aug 22 18:49:41 2011 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Aug 22 18:49:41 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9e986eb6
added lapacke
---
sci-libs/lapacke-reference/._lapacke | Bin 0 -> 193 bytes
sci-libs/lapacke-reference/ChangeLog | 18 ++++
.../lapacke-reference-1.0.0.009.ebuild | 84 ++++++++++++++++++++
sci-libs/lapacke-reference/metadata.xml | 10 +++
4 files changed, 112 insertions(+), 0 deletions(-)
diff --git a/sci-libs/lapacke-reference/._lapacke b/sci-libs/lapacke-reference/._lapacke
new file mode 100755
index 0000000..db65eee
Binary files /dev/null and b/sci-libs/lapacke-reference/._lapacke differ
diff --git a/sci-libs/lapacke-reference/ChangeLog b/sci-libs/lapacke-reference/ChangeLog
new file mode 100644
index 0000000..ac2bea7
--- /dev/null
+++ b/sci-libs/lapacke-reference/ChangeLog
@@ -0,0 +1,18 @@
+# ChangeLog for sci-libs/lapacke-reference
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*lapacke-reference-1.0.0.009 (22 Aug 2011)
+
+ 22 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org>
+ +lapacke-reference-1.0.0.009.ebuild, +._lapacke, +metadata.xml:
+ Imported from bicatali overlay
+
+ 23 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org>
+ lapacke-reference-1.0.0.009.ebuild:
+ Switched to alternatives-2 framework
+
+ 05 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ lapacke-1.0.0.009.ebuild, +metadata.xml:
+ Initial import
+
diff --git a/sci-libs/lapacke-reference/lapacke-reference-1.0.0.009.ebuild b/sci-libs/lapacke-reference/lapacke-reference-1.0.0.009.ebuild
new file mode 100644
index 0000000..e2f2d57
--- /dev/null
+++ b/sci-libs/lapacke-reference/lapacke-reference-1.0.0.009.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit eutils toolchain-funcs versionator alternatives-2
+
+MYP=lapacke-${PV}
+
+DESCRIPTION="C Interface to LAPACK"
+HOMEPAGE="http://www.netlib.org/lapack/"
+SRC_URI="http://www.netlib.org/lapack/lapacke.tgz -> ${MYP}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND=""
+DEPEND="test? ( virtual/lapack dev-util/pkgconfig )"
+
+S="${WORKDIR}/lapacke"
+
+LIBNAME=reflapacke
+
+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_prepare() {
+ cat > make.inc <<-EOF
+ CC = $(tc-getCC)
+ CFLAGS = ${CFLAGS}
+ LINKER = \$(CC)
+ LDFLAGS = ${LDFLAGS}
+ ARCH = $(tc-getAR)
+ ARCHFLAGS = cr
+ RANLIB = $(tc-getRANLIB)
+ LAPACKE = lib${LIBNAME}.a
+ EOF
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} -fPIC" lapacke
+ make_shared_lib lib${LIBNAME}.a
+ if use static-libs; then
+ emake clean && rm -f lib${LIBNAME}.a
+ emake lapacke
+ fi
+}
+
+src_test() {
+ emake LIBS="$(pkg-config --libs lapack)" lapacke_testing
+}
+
+src_install() {
+ dolib.so lib${LIBNAME}.so*
+ use static-libs && dolib.a lib${LIBNAME}.a
+ insinto /usr/include
+ doins include/lapacke*h || die
+ cat <<-EOF > ${LIBNAME}.pc
+ prefix=${EPREFIX}/usr
+ libdir=\${prefix}/$(get_libdir)
+ includedir=\${prefix}/include
+ Name: LAPACK C Extension - Reference
+ Description: ${DESCRIPTION}
+ Version: ${PV}
+ URL: ${HOMEPAGE}
+ Libs: -L\${libdir} -l${LIBNAME} -lm
+ Cflags: -I\${includedir}
+ EOF
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${LIBNAME}.pc || die
+ alternatives_for lapacke reference 0 \
+ "/usr/$(get_libdir)/pkgconfig/lapacke.pc" "${LIBNAME}.pc"
+}
diff --git a/sci-libs/lapacke-reference/metadata.xml b/sci-libs/lapacke-reference/metadata.xml
new file mode 100644
index 0000000..ecdbab4
--- /dev/null
+++ b/sci-libs/lapacke-reference/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ This implementation provides a native C interface to LAPACK routines available
+ at www.netlib.org/lapack to facilitate usage of LAPACK functionality
+ for C programmers.
+</longdescription>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2012-02-16 0:38 Sebastien Fabbro
0 siblings, 0 replies; 20+ messages in thread
From: Sebastien Fabbro @ 2012-02-16 0:38 UTC (permalink / raw
To: gentoo-commits
commit: 8e73c85c8c86b07cb9b20cc3273009be86500afb
Author: Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
AuthorDate: Thu Feb 16 00:37:45 2012 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 00:37:45 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8e73c85c
sci-libs/lapacke-reference: bump, with home patches
(Portage version: 2.1.10.44/git/Linux x86_64, unsigned Manifest commit)
---
sci-libs/lapacke-reference/ChangeLog | 8 ++-
.../lapacke-reference-3.4.0_p20120215.ebuild | 79 ++++++++++++++++++++
sci-libs/lapacke-reference/metadata.xml | 9 ++-
3 files changed, 92 insertions(+), 4 deletions(-)
diff --git a/sci-libs/lapacke-reference/ChangeLog b/sci-libs/lapacke-reference/ChangeLog
index ac2bea7..505dcd0 100644
--- a/sci-libs/lapacke-reference/ChangeLog
+++ b/sci-libs/lapacke-reference/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for sci-libs/lapacke-reference
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*lapacke-reference-3.4.0_p20120215 (16 Feb 2012)
+
+ 16 Feb 2012; Sébastien Fabbro <bicatali@gentoo.org>
+ +lapacke-reference-3.4.0_p20120215.ebuild, metadata.xml:
+ bump, with home patches
+
*lapacke-reference-1.0.0.009 (22 Aug 2011)
22 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org>
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.4.0_p20120215.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.4.0_p20120215.ebuild
new file mode 100644
index 0000000..c616b93
--- /dev/null
+++ b/sci-libs/lapacke-reference/lapacke-reference-3.4.0_p20120215.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit cmake-utils fortran-2 alternatives-2
+
+MYP=lapack-${PV}
+
+DESCRIPTION="C Interface to LAPACK"
+HOMEPAGE="http://www.netlib.org/lapack/"
+#SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
+SRC_URI="http://dev.gentoo.org/~bicatali/distfiles/${MYP}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs test xblas"
+
+RDEPEND="virtual/blas
+ virtual/lapack
+ xblas? ( sci-libs/xblas )"
+DEPEND="${RDEPEND}
+ test? ( virtual/fortran )
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${MYP}"
+
+pkg_setup() {
+ use test && fortran-2_pkg_setup
+}
+
+src_prepare() {
+ use static-libs && mkdir "${WORKDIR}/${PN}_static"
+}
+
+src_configure() {
+ lapack_configure() {
+ local mycmakeargs=(
+ -DUSE_OPTIMIZED_BLAS=ON
+ -DUSE_OPTIMIZED_LAPACK=ON
+ -DLAPACKE=ON
+ -DBLAS_LIBRARIES="$(pkg-config --libs blas)"
+ -DLAPACK_LIBRARIES="$(pkg-config --libs lapack)"
+ $(cmake-utils_use_build test TESTING)
+ $(cmake-utils_use_use xblas XBLAS)
+ $@
+ )
+ cmake-utils_src_configure
+ }
+
+ lapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
+ use static-libs && \
+ CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
+ -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
+}
+
+src_compile() {
+ use test && cmake-utils_src_compile -C TESTING/MATGEN
+ cmake-utils_src_compile -C lapacke
+ use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
+ cmake-utils_src_compile -C lapacke
+}
+
+src_test() {
+ pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null
+ local ctestargs
+ [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
+ ctest ${ctestargs} || die
+ popd > /dev/null
+}
+
+src_install() {
+ cmake-utils_src_install -C lapacke
+ use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
+ cmake-utils_src_install -C lapacke
+ alternatives_for lapacke reference 0 \
+ /usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc
+}
diff --git a/sci-libs/lapacke-reference/metadata.xml b/sci-libs/lapacke-reference/metadata.xml
index ecdbab4..8344d02 100644
--- a/sci-libs/lapacke-reference/metadata.xml
+++ b/sci-libs/lapacke-reference/metadata.xml
@@ -3,8 +3,11 @@
<pkgmetadata>
<herd>sci</herd>
<longdescription lang="en">
- This implementation provides a native C interface to LAPACK routines available
- at www.netlib.org/lapack to facilitate usage of LAPACK functionality
- for C programmers.
+ This implementation provides a native C interface to LAPACK routines
+ available at www.netlib.org/lapack to facilitate usage of LAPACK
+ functionality for C programmers.
</longdescription>
+<use>
+ <flag name='xblas'>Build LAPACKE with extra precision (needs <pkg>sci-libs/xblas</pkg>)</flag>
+</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2012-02-17 16:26 Sebastien Fabbro
0 siblings, 0 replies; 20+ messages in thread
From: Sebastien Fabbro @ 2012-02-17 16:26 UTC (permalink / raw
To: gentoo-commits
commit: d1810d4a2fdfc1a2213cc6ad04e2f1a3ce442b15
Author: Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
AuthorDate: Fri Feb 17 16:25:26 2012 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Feb 17 16:25:26 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d1810d4a
sci-libs/lapacke-reference: Fixed pkg-config
(Portage version: 2.1.10.44/git/Linux x86_64, unsigned Manifest commit)
---
sci-libs/lapacke-reference/ChangeLog | 8 ++
.../lapacke-reference-1.0.0.009.ebuild | 84 --------------------
...=> lapacke-reference-3.4.0_p20120215-r1.ebuild} | 0
3 files changed, 8 insertions(+), 84 deletions(-)
diff --git a/sci-libs/lapacke-reference/ChangeLog b/sci-libs/lapacke-reference/ChangeLog
index 505dcd0..1b200ba 100644
--- a/sci-libs/lapacke-reference/ChangeLog
+++ b/sci-libs/lapacke-reference/ChangeLog
@@ -2,6 +2,14 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*lapacke-reference-3.4.0_p20120215-r1 (17 Feb 2012)
+
+ 17 Feb 2012; Sébastien Fabbro <bicatali@gentoo.org>
+ -lapacke-reference-1.0.0.009.ebuild,
+ -lapacke-reference-3.4.0_p20120215.ebuild,
+ +lapacke-reference-3.4.0_p20120215-r1.ebuild:
+ Fixed pkg-config
+
*lapacke-reference-3.4.0_p20120215 (16 Feb 2012)
16 Feb 2012; Sébastien Fabbro <bicatali@gentoo.org>
diff --git a/sci-libs/lapacke-reference/lapacke-reference-1.0.0.009.ebuild b/sci-libs/lapacke-reference/lapacke-reference-1.0.0.009.ebuild
deleted file mode 100644
index e2f2d57..0000000
--- a/sci-libs/lapacke-reference/lapacke-reference-1.0.0.009.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-inherit eutils toolchain-funcs versionator alternatives-2
-
-MYP=lapacke-${PV}
-
-DESCRIPTION="C Interface to LAPACK"
-HOMEPAGE="http://www.netlib.org/lapack/"
-SRC_URI="http://www.netlib.org/lapack/lapacke.tgz -> ${MYP}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="static-libs"
-
-RDEPEND=""
-DEPEND="test? ( virtual/lapack dev-util/pkgconfig )"
-
-S="${WORKDIR}/lapacke"
-
-LIBNAME=reflapacke
-
-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_prepare() {
- cat > make.inc <<-EOF
- CC = $(tc-getCC)
- CFLAGS = ${CFLAGS}
- LINKER = \$(CC)
- LDFLAGS = ${LDFLAGS}
- ARCH = $(tc-getAR)
- ARCHFLAGS = cr
- RANLIB = $(tc-getRANLIB)
- LAPACKE = lib${LIBNAME}.a
- EOF
-}
-
-src_compile() {
- emake CFLAGS="${CFLAGS} -fPIC" lapacke
- make_shared_lib lib${LIBNAME}.a
- if use static-libs; then
- emake clean && rm -f lib${LIBNAME}.a
- emake lapacke
- fi
-}
-
-src_test() {
- emake LIBS="$(pkg-config --libs lapack)" lapacke_testing
-}
-
-src_install() {
- dolib.so lib${LIBNAME}.so*
- use static-libs && dolib.a lib${LIBNAME}.a
- insinto /usr/include
- doins include/lapacke*h || die
- cat <<-EOF > ${LIBNAME}.pc
- prefix=${EPREFIX}/usr
- libdir=\${prefix}/$(get_libdir)
- includedir=\${prefix}/include
- Name: LAPACK C Extension - Reference
- Description: ${DESCRIPTION}
- Version: ${PV}
- URL: ${HOMEPAGE}
- Libs: -L\${libdir} -l${LIBNAME} -lm
- Cflags: -I\${includedir}
- EOF
- insinto /usr/$(get_libdir)/pkgconfig
- doins ${LIBNAME}.pc || die
- alternatives_for lapacke reference 0 \
- "/usr/$(get_libdir)/pkgconfig/lapacke.pc" "${LIBNAME}.pc"
-}
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.4.0_p20120215.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.4.0_p20120215-r1.ebuild
similarity index 100%
rename from sci-libs/lapacke-reference/lapacke-reference-3.4.0_p20120215.ebuild
rename to sci-libs/lapacke-reference/lapacke-reference-3.4.0_p20120215-r1.ebuild
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2012-02-23 9:18 Justin Lecher
0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2012-02-23 9:18 UTC (permalink / raw
To: gentoo-commits
commit: 73d06162929c8905cc309d23e7b92306bae788bd
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 09:18:45 2012 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 09:18:45 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=73d06162
Keyworded for ~-linux prefix
(Portage version: 2.2.0_alpha89/git/Linux x86_64, unsigned Manifest commit)
---
sci-libs/lapacke-reference/ChangeLog | 4 ++++
.../lapacke-reference-3.4.0_p20120215-r1.ebuild | 2 +-
sci-libs/lapacke-reference/metadata.xml | 10 +++++-----
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/sci-libs/lapacke-reference/ChangeLog b/sci-libs/lapacke-reference/ChangeLog
index 1b200ba..2d9e3b6 100644
--- a/sci-libs/lapacke-reference/ChangeLog
+++ b/sci-libs/lapacke-reference/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 23 Feb 2012; Justin Lecher <jlec@gentoo.org>
+ lapacke-reference-3.4.0_p20120215-r1.ebuild, metadata.xml:
+ Keyworded for ~-linux prefix
+
*lapacke-reference-3.4.0_p20120215-r1 (17 Feb 2012)
17 Feb 2012; Sébastien Fabbro <bicatali@gentoo.org>
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.4.0_p20120215-r1.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.4.0_p20120215-r1.ebuild
index c616b93..104e458 100644
--- a/sci-libs/lapacke-reference/lapacke-reference-3.4.0_p20120215-r1.ebuild
+++ b/sci-libs/lapacke-reference/lapacke-reference-3.4.0_p20120215-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="http://dev.gentoo.org/~bicatali/distfiles/${MYP}.tar.bz2"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test xblas"
RDEPEND="virtual/blas
diff --git a/sci-libs/lapacke-reference/metadata.xml b/sci-libs/lapacke-reference/metadata.xml
index 8344d02..796e00d 100644
--- a/sci-libs/lapacke-reference/metadata.xml
+++ b/sci-libs/lapacke-reference/metadata.xml
@@ -1,13 +1,13 @@
<?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">
This implementation provides a native C interface to LAPACK routines
available at www.netlib.org/lapack to facilitate usage of LAPACK
functionality for C programmers.
</longdescription>
-<use>
- <flag name='xblas'>Build LAPACKE with extra precision (needs <pkg>sci-libs/xblas</pkg>)</flag>
-</use>
+ <use>
+ <flag name="xblas">Build LAPACKE with extra precision (needs <pkg>sci-libs/xblas</pkg>)</flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2012-05-22 19:43 Justin Lecher
0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2012-05-22 19:43 UTC (permalink / raw
To: gentoo-commits
commit: 062541b195eae0076c44fbd96e03b45478ea701e
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue May 22 19:42:06 2012 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue May 22 19:42:06 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=062541b1
sci-libs/lapacke-reference: Add missing eutils.eclass
(Portage version: 2.2.0_alpha107/git/Linux x86_64, unsigned Manifest commit)
---
sci-libs/lapacke-reference/ChangeLog | 3 +++
.../lapacke-reference-3.4.1.ebuild | 6 ++++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/sci-libs/lapacke-reference/ChangeLog b/sci-libs/lapacke-reference/ChangeLog
index 7956248..54664ec 100644
--- a/sci-libs/lapacke-reference/ChangeLog
+++ b/sci-libs/lapacke-reference/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 22 May 2012; Justin Lecher <jlec@gentoo.org> lapacke-reference-3.4.1.ebuild:
+ Add missing eutils.eclass
+
*lapacke-reference-3.4.1 (23 Apr 2012)
23 Apr 2012; Sébastien Fabbro <bicatali@gentoo.org>
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.4.1.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.4.1.ebuild
index 213e4cb..b9ab447 100644
--- a/sci-libs/lapacke-reference/lapacke-reference-3.4.1.ebuild
+++ b/sci-libs/lapacke-reference/lapacke-reference-3.4.1.ebuild
@@ -3,7 +3,8 @@
# $Header: $
EAPI=4
-inherit cmake-utils fortran-2 alternatives-2
+
+inherit alternatives-2 cmake-utils eutils fortran-2
MYP=lapack-${PV}
@@ -16,7 +17,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test xblas"
-RDEPEND="virtual/blas
+RDEPEND="
+ virtual/blas
virtual/lapack
xblas? ( sci-libs/xblas )"
DEPEND="${RDEPEND}
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2012-10-26 16:53 Sebastien Fabbro
0 siblings, 0 replies; 20+ messages in thread
From: Sebastien Fabbro @ 2012-10-26 16:53 UTC (permalink / raw
To: gentoo-commits
commit: e550fbd91e898a4c111a8f8964fded059f66e32a
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 26 16:53:08 2012 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Oct 26 16:53:08 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e550fbd9
sci-libs/lapacke-reference: Version bump. Restore the reflapack library name instead of lapack
Package-Manager: portage-2.2.0_alpha141
---
sci-libs/lapacke-reference/ChangeLog | 8 ++-
.../lapacke-reference-3.4.2.ebuild | 92 ++++++++++++++++++++
2 files changed, 99 insertions(+), 1 deletions(-)
diff --git a/sci-libs/lapacke-reference/ChangeLog b/sci-libs/lapacke-reference/ChangeLog
index 54664ec..c82c7a1 100644
--- a/sci-libs/lapacke-reference/ChangeLog
+++ b/sci-libs/lapacke-reference/ChangeLog
@@ -2,6 +2,13 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*lapacke-reference-3.4.2 (26 Oct 2012)
+
+ 26 Oct 2012; Sébastien Fabbro <bicatali@gentoo.org>
+ +lapacke-reference-3.4.2.ebuild:
+ sci-libs/lapacke-reference: Version bump. Restore the reflapack library name
+ instead of lapack
+
22 May 2012; Justin Lecher <jlec@gentoo.org> lapacke-reference-3.4.1.ebuild:
Add missing eutils.eclass
@@ -42,4 +49,3 @@
05 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org>
lapacke-1.0.0.009.ebuild, +metadata.xml:
Initial import
-
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild
new file mode 100644
index 0000000..07c6fc0
--- /dev/null
+++ b/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild
@@ -0,0 +1,92 @@
+# 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
+
+MYP=lapack-${PV}
+
+DESCRIPTION="C Interface to LAPACK"
+HOMEPAGE="http://www.netlib.org/lapack/"
+SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs test xblas"
+
+RDEPEND="
+ virtual/blas
+ virtual/lapack
+ xblas? ( sci-libs/xblas )"
+DEPEND="${RDEPEND}
+ test? ( virtual/fortran )
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MYP}"
+
+src_prepare() {
+ # avoid collision with other lapack
+ sed -i \
+ -e 's:BINARY_DIR}/lapacke.pc:BINARY_DIR}/reflapacke.pc:' \
+ -e '/export/s:lapacke:reflapacke:g' \
+ -e '/ALL_TARGETS/s:lapacke):reflapacke):' \
+ -e '/LAPACK_LIBRARIES/s:lapacke:reflapacke:g' \
+ CMakeLists.txt || die
+ sed -i \
+ -e 's:(lapacke:(reflapacke:g' \
+ lapacke/CMakeLists.txt || die
+ sed -i \
+ -e 's:lapacke:reflapacke:g' \
+ lapacke/example/CMakeLists.txt || die
+ sed -i \
+ -e 's:-llapacke:-lreflapacke:g' \
+ lapacke/lapacke.pc.in || die
+ use static-libs && mkdir "${WORKDIR}/${PN}_static"
+}
+
+src_configure() {
+ lapack_configure() {
+ local mycmakeargs=(
+ -DUSE_OPTIMIZED_BLAS=ON
+ -DUSE_OPTIMIZED_LAPACK=ON
+ -DLAPACKE=ON
+ -DBLAS_LIBRARIES="$(pkg-config --libs blas)"
+ -DLAPACK_LIBRARIES="$(pkg-config --libs lapack)"
+ $(cmake-utils_use_build test TESTING)
+ $(cmake-utils_use_use xblas XBLAS)
+ $@
+ )
+ cmake-utils_src_configure
+ }
+
+ lapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
+ use static-libs && \
+ CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
+ -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
+}
+
+src_compile() {
+ use test && cmake-utils_src_compile -C TESTING/MATGEN
+ cmake-utils_src_compile -C lapacke
+ use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
+ cmake-utils_src_compile -C lapacke
+}
+
+src_test() {
+ pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null
+ local ctestargs
+ [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
+ ctest ${ctestargs} || die
+ popd > /dev/null
+}
+
+src_install() {
+ cmake-utils_src_install -C lapacke
+ use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
+ cmake-utils_src_install -C lapacke
+ alternatives_for lapacke reference 0 \
+ /usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc
+}
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2012-11-29 0:06 Sebastien Fabbro
0 siblings, 0 replies; 20+ messages in thread
From: Sebastien Fabbro @ 2012-11-29 0:06 UTC (permalink / raw
To: gentoo-commits
commit: bee27eb73a8e814c4229806988697c990ad4599d
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 29 00:04:06 2012 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Nov 29 00:04:06 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=bee27eb7
sci-libs/lapacke-reference: added tmg for testing, cleaning up ebuild
Package-Manager: portage-2.2.01.21313-prefix
---
sci-libs/lapacke-reference/ChangeLog | 4 +
.../lapacke-reference-3.4.1.ebuild | 77 --------------------
.../lapacke-reference-3.4.2.ebuild | 16 +++--
sci-libs/lapacke-reference/metadata.xml | 12 ++--
4 files changed, 21 insertions(+), 88 deletions(-)
diff --git a/sci-libs/lapacke-reference/ChangeLog b/sci-libs/lapacke-reference/ChangeLog
index c82c7a1..a26b128 100644
--- a/sci-libs/lapacke-reference/ChangeLog
+++ b/sci-libs/lapacke-reference/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 29 Nov 2012; Sébastien Fabbro <bicatali@gentoo.org>
+ -lapacke-reference-3.4.1.ebuild, lapacke-reference-3.4.2.ebuild, metadata.xml:
+ sci-libs/lapacke-reference: added tmg for testing, cleaning up ebuild
+
*lapacke-reference-3.4.2 (26 Oct 2012)
26 Oct 2012; Sébastien Fabbro <bicatali@gentoo.org>
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.4.1.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.4.1.ebuild
deleted file mode 100644
index b9ab447..0000000
--- a/sci-libs/lapacke-reference/lapacke-reference-3.4.1.ebuild
+++ /dev/null
@@ -1,77 +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
-
-MYP=lapack-${PV}
-
-DESCRIPTION="C Interface to LAPACK"
-HOMEPAGE="http://www.netlib.org/lapack/"
-SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs test xblas"
-
-RDEPEND="
- virtual/blas
- virtual/lapack
- xblas? ( sci-libs/xblas )"
-DEPEND="${RDEPEND}
- test? ( virtual/fortran )
- dev-util/pkgconfig"
-
-S="${WORKDIR}/${MYP}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${MYP}-cmake.patch
- use static-libs && mkdir "${WORKDIR}/${PN}_static"
-}
-
-src_configure() {
- lapack_configure() {
- local mycmakeargs=(
- -DUSE_OPTIMIZED_BLAS=ON
- -DUSE_OPTIMIZED_LAPACK=ON
- -DLAPACKE=ON
- -DBLAS_LIBRARIES="$(pkg-config --libs blas)"
- -DLAPACK_LIBRARIES="$(pkg-config --libs lapack)"
- $(cmake-utils_use_build test TESTING)
- $(cmake-utils_use_use xblas XBLAS)
- $@
- )
- cmake-utils_src_configure
- }
-
- lapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
- use static-libs && \
- CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
- -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
-}
-
-src_compile() {
- use test && cmake-utils_src_compile -C TESTING/MATGEN
- cmake-utils_src_compile -C lapacke
- use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
- cmake-utils_src_compile -C lapacke
-}
-
-src_test() {
- pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null
- local ctestargs
- [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
- ctest ${ctestargs} || die
- popd > /dev/null
-}
-
-src_install() {
- cmake-utils_src_install -C lapacke
- use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
- cmake-utils_src_install -C lapacke
- alternatives_for lapacke reference 0 \
- /usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc
-}
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild
index 07c6fc0..f8224d4 100644
--- a/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild
+++ b/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild
@@ -4,7 +4,9 @@
EAPI=4
-inherit alternatives-2 cmake-utils eutils fortran-2
+inherit alternatives-2 cmake-utils eutils fortran-2 toolchain-funcs
+
+FORTRAN_NEEDED=test
MYP=lapack-${PV}
@@ -15,14 +17,14 @@ SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs test xblas"
+IUSE="static-libs test tmg xblas"
RDEPEND="
virtual/blas
virtual/lapack
+ tmg? ( sci-libs/tmglib )
xblas? ( sci-libs/xblas )"
DEPEND="${RDEPEND}
- test? ( virtual/fortran )
virtual/pkgconfig"
S="${WORKDIR}/${MYP}"
@@ -41,8 +43,9 @@ src_prepare() {
sed -i \
-e 's:lapacke:reflapacke:g' \
lapacke/example/CMakeLists.txt || die
+ local tmgpc; use tmg && tmgpc=" -ltmglib"
sed -i \
- -e 's:-llapacke:-lreflapacke:g' \
+ -e "s:-llapacke:-lreflapacke${tmgpc}:g" \
lapacke/lapacke.pc.in || die
use static-libs && mkdir "${WORKDIR}/${PN}_static"
}
@@ -53,8 +56,9 @@ src_configure() {
-DUSE_OPTIMIZED_BLAS=ON
-DUSE_OPTIMIZED_LAPACK=ON
-DLAPACKE=ON
- -DBLAS_LIBRARIES="$(pkg-config --libs blas)"
- -DLAPACK_LIBRARIES="$(pkg-config --libs lapack)"
+ -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
+ -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)"
+ $(cmake-utils_use tmg LAPACKE_WITH_TMG)
$(cmake-utils_use_build test TESTING)
$(cmake-utils_use_use xblas XBLAS)
$@
diff --git a/sci-libs/lapacke-reference/metadata.xml b/sci-libs/lapacke-reference/metadata.xml
index 796e00d..0d4e062 100644
--- a/sci-libs/lapacke-reference/metadata.xml
+++ b/sci-libs/lapacke-reference/metadata.xml
@@ -1,13 +1,15 @@
<?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">
This implementation provides a native C interface to LAPACK routines
available at www.netlib.org/lapack to facilitate usage of LAPACK
functionality for C programmers.
</longdescription>
- <use>
- <flag name="xblas">Build LAPACKE with extra precision (needs <pkg>sci-libs/xblas</pkg>)</flag>
- </use>
+<use>
+ <flag name="tmg">Build LAPACKE with a Test Matrix Generator library</flag>
+ <flag name="xblas">Build LAPACKE with extra precision (needs
+ <pkg>sci-libs/xblas</pkg>)</flag>
+</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2013-05-25 4:40 Sebastien Fabbro
0 siblings, 0 replies; 20+ messages in thread
From: Sebastien Fabbro @ 2013-05-25 4:40 UTC (permalink / raw
To: gentoo-commits
commit: c8914a37225c865ce71b752401723b1b17948bae
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Sat May 25 03:58:12 2013 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sat May 25 03:58:12 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c8914a37
sci-libs/lapacke-reference: Moved to live-linked version
Package-Manager: portage-2.2.01.21938-prefix
---
sci-libs/lapacke-reference/ChangeLog | 6 +
.../lapacke-reference-9999.ebuild | 103 ++++++++++++++++++++
2 files changed, 109 insertions(+), 0 deletions(-)
diff --git a/sci-libs/lapacke-reference/ChangeLog b/sci-libs/lapacke-reference/ChangeLog
index 5efd3ad..a43589b 100644
--- a/sci-libs/lapacke-reference/ChangeLog
+++ b/sci-libs/lapacke-reference/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*lapacke-reference-9999 (25 May 2013)
+
+ 25 May 2013; Sébastien Fabbro <bicatali@gentoo.org>
+ +lapacke-reference-9999.ebuild:
+ sci-libs/lapacke-reference: Moved to live-linked version
+
23 May 2013; Sébastien Fabbro <bicatali@gentoo.org>
-files/lapack-3.4.1-cmake.patch, lapacke-reference-3.4.2.ebuild:
sci-libs/lapacke-reference: Switch to EAPI5
diff --git a/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild b/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
new file mode 100644
index 0000000..b2b6967
--- /dev/null
+++ b/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit alternatives-2 cmake-utils eutils fortran-2 toolchain-funcs
+
+FORTRAN_NEEDED=test
+
+MYP=lapack-${PV}
+
+if [[ ${PV} == "9999" ]] ; then
+ ESVN_REPO_URI="https://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk"
+ inherit subversion
+ KEYWORDS=""
+else
+ SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+DESCRIPTION="C Interface to LAPACK"
+HOMEPAGE="http://www.netlib.org/lapack/"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="static-libs test tmg xblas"
+
+RDEPEND="
+ virtual/blas
+ virtual/lapack
+ tmg? ( sci-libs/tmglib )
+ xblas? ( sci-libs/xblas )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MYP}"
+
+src_prepare() {
+ # rename libraries to avoid collision with other lapacke
+ sed -i \
+ -e 's:BINARY_DIR}/lapacke.pc:BINARY_DIR}/reflapacke.pc:' \
+ -e '/export/s:lapacke:reflapacke:g' \
+ -e '/ALL_TARGETS/s:lapacke):reflapacke):' \
+ -e '/LAPACK_LIBRARIES/s:lapacke:reflapacke:g' \
+ CMakeLists.txt || die
+ sed -i \
+ -e 's:(lapacke:(reflapacke:g' \
+ lapacke/CMakeLists.txt || die
+ sed -i \
+ -e 's:lapacke:reflapacke:g' \
+ lapacke/example/CMakeLists.txt || die
+ local tmgpc; use tmg && tmgpc=" -ltmglib"
+ sed -i \
+ -e "s:-llapacke:-lreflapacke${tmgpc}:g" \
+ lapacke/lapacke.pc.in || die
+ use static-libs && mkdir "${WORKDIR}/${PN}_static"
+}
+
+src_configure() {
+ lapack_configure() {
+ local mycmakeargs=(
+ -DUSE_OPTIMIZED_BLAS=ON
+ -DUSE_OPTIMIZED_LAPACK=ON
+ -DLAPACKE=ON
+ -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
+ -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)"
+ $(cmake-utils_use tmg LAPACKE_WITH_TMG)
+ $(cmake-utils_use_build test TESTING)
+ $(cmake-utils_use_use xblas XBLAS)
+ $@
+ )
+ cmake-utils_src_configure
+ }
+
+ lapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
+ use static-libs && \
+ CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
+ -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
+}
+
+src_compile() {
+ use test && cmake-utils_src_compile -C TESTING/MATGEN
+ cmake-utils_src_compile -C lapacke
+ use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
+ cmake-utils_src_compile -C lapacke
+}
+
+src_test() {
+ pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null
+ local ctestargs
+ [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
+ ctest ${ctestargs} || die
+ popd > /dev/null
+}
+
+src_install() {
+ cmake-utils_src_install -C lapacke
+ use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
+ cmake-utils_src_install -C lapacke
+ alternatives_for lapacke reference 0 \
+ /usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc
+}
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2013-05-25 4:40 Sebastien Fabbro
0 siblings, 0 replies; 20+ messages in thread
From: Sebastien Fabbro @ 2013-05-25 4:40 UTC (permalink / raw
To: gentoo-commits
commit: 5c422c66f0e2d522e980dde3d8b004a4b50a73ad
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Sat May 25 04:21:22 2013 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sat May 25 04:21:22 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5c422c66
link
---
.../lapacke-reference-3.4.2.ebuild | 97 +-------------------
1 files changed, 1 insertions(+), 96 deletions(-)
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild
deleted file mode 100644
index cdf324a..0000000
--- a/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-inherit alternatives-2 cmake-utils eutils fortran-2 toolchain-funcs
-
-FORTRAN_NEEDED=test
-
-MYP=lapack-${PV}
-
-DESCRIPTION="C Interface to LAPACK"
-HOMEPAGE="http://www.netlib.org/lapack/"
-SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs test tmg xblas"
-
-RDEPEND="
- virtual/blas
- virtual/lapack
- tmg? ( sci-libs/tmglib )
- xblas? ( sci-libs/xblas )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S="${WORKDIR}/${MYP}"
-
-src_prepare() {
- # rename libraries to avoid collision with other lapacke
- sed -i \
- -e 's:BINARY_DIR}/lapacke.pc:BINARY_DIR}/reflapacke.pc:' \
- -e '/export/s:lapacke:reflapacke:g' \
- -e '/ALL_TARGETS/s:lapacke):reflapacke):' \
- -e '/LAPACK_LIBRARIES/s:lapacke:reflapacke:g' \
- CMakeLists.txt || die
- sed -i \
- -e 's:(lapacke:(reflapacke:g' \
- lapacke/CMakeLists.txt || die
- sed -i \
- -e 's:lapacke:reflapacke:g' \
- lapacke/example/CMakeLists.txt || die
- local tmgpc; use tmg && tmgpc=" -ltmglib"
- sed -i \
- -e "s:-llapacke:-lreflapacke${tmgpc}:g" \
- lapacke/lapacke.pc.in || die
- use static-libs && mkdir "${WORKDIR}/${PN}_static"
-}
-
-src_configure() {
- lapack_configure() {
- local mycmakeargs=(
- -DUSE_OPTIMIZED_BLAS=ON
- -DUSE_OPTIMIZED_LAPACK=ON
- -DLAPACKE=ON
- -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
- -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)"
- $(cmake-utils_use tmg LAPACKE_WITH_TMG)
- $(cmake-utils_use_build test TESTING)
- $(cmake-utils_use_use xblas XBLAS)
- $@
- )
- cmake-utils_src_configure
- }
-
- lapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
- use static-libs && \
- CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
- -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
-}
-
-src_compile() {
- use test && cmake-utils_src_compile -C TESTING/MATGEN
- cmake-utils_src_compile -C lapacke
- use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
- cmake-utils_src_compile -C lapacke
-}
-
-src_test() {
- pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null
- local ctestargs
- [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
- ctest ${ctestargs} || die
- popd > /dev/null
-}
-
-src_install() {
- cmake-utils_src_install -C lapacke
- use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
- cmake-utils_src_install -C lapacke
- alternatives_for lapacke reference 0 \
- /usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc
-}
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild
new file mode 120000
index 0000000..19f551a
--- /dev/null
+++ b/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild
@@ -0,0 +1 @@
+lapacke-reference-9999.ebuild
\ No newline at end of file
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2014-01-28 19:01 Sebastien Fabbro
0 siblings, 0 replies; 20+ messages in thread
From: Sebastien Fabbro @ 2014-01-28 19:01 UTC (permalink / raw
To: gentoo-commits
commit: 7b0220198530eea2f78bec6dcaef15d34d12eb6c
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 8 07:14:34 2013 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sun Dec 8 07:14:34 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7b022019
sci-libs/lapacke-reference: Version bump
Package-Manager: portage-2.2.7-prefix
---
sci-libs/lapacke-reference/ChangeLog | 6 ++++++
sci-libs/lapacke-reference/lapacke-reference-3.5.0.ebuild | 1 +
sci-libs/lapacke-reference/lapacke-reference-9999.ebuild | 6 +++---
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/sci-libs/lapacke-reference/ChangeLog b/sci-libs/lapacke-reference/ChangeLog
index a43589b..1533c0a 100644
--- a/sci-libs/lapacke-reference/ChangeLog
+++ b/sci-libs/lapacke-reference/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*lapacke-reference-3.5.0 (08 Dec 2013)
+
+ 08 Dec 2013; Sébastien Fabbro <bicatali@gentoo.org>
+ +lapacke-reference-3.5.0.ebuild, lapacke-reference-9999.ebuild:
+ sci-libs/lapacke-reference: Version bump
+
*lapacke-reference-9999 (25 May 2013)
25 May 2013; Sébastien Fabbro <bicatali@gentoo.org>
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.5.0.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.5.0.ebuild
new file mode 120000
index 0000000..19f551a
--- /dev/null
+++ b/sci-libs/lapacke-reference/lapacke-reference-3.5.0.ebuild
@@ -0,0 +1 @@
+lapacke-reference-9999.ebuild
\ No newline at end of file
diff --git a/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild b/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
index b2b6967..57f773a 100644
--- a/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
+++ b/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
@@ -36,7 +36,7 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MYP}"
-src_prepare() {
+psrc_prepare() {
# rename libraries to avoid collision with other lapacke
sed -i \
-e 's:BINARY_DIR}/lapacke.pc:BINARY_DIR}/reflapacke.pc:' \
@@ -45,10 +45,10 @@ src_prepare() {
-e '/LAPACK_LIBRARIES/s:lapacke:reflapacke:g' \
CMakeLists.txt || die
sed -i \
- -e 's:(lapacke:(reflapacke:g' \
+ -e '/librar/s:(lapacke:(reflapacke:g' \
lapacke/CMakeLists.txt || die
sed -i \
- -e 's:lapacke:reflapacke:g' \
+ -e '/librar/s:lapacke:reflapacke:g' \
lapacke/example/CMakeLists.txt || die
local tmgpc; use tmg && tmgpc=" -ltmglib"
sed -i \
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2014-01-28 19:01 Sebastien Fabbro
0 siblings, 0 replies; 20+ messages in thread
From: Sebastien Fabbro @ 2014-01-28 19:01 UTC (permalink / raw
To: gentoo-commits
commit: 31b56a2ffccd7c6b1bffbd325920a55c6eeaa929
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 9 18:48:12 2013 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Dec 9 18:48:12 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=31b56a2f
fixed src_prepare for reflapacke
---
sci-libs/lapacke-reference/lapacke-reference-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild b/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
index 57f773a..5ffe04e 100644
--- a/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
+++ b/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
@@ -36,7 +36,7 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MYP}"
-psrc_prepare() {
+src_prepare() {
# rename libraries to avoid collision with other lapacke
sed -i \
-e 's:BINARY_DIR}/lapacke.pc:BINARY_DIR}/reflapacke.pc:' \
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2015-11-28 18:08 Justin Lecher
0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2015-11-28 18:08 UTC (permalink / raw
To: gentoo-commits
commit: 7e8e5efadb27f201f96716c808eb39d991faf4c0
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 28 17:51:00 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Nov 28 17:51:00 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7e8e5efa
sci-libs/lapacke-reference: Drop old
Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
.../lapacke-reference-3.4.2.ebuild | 103 ---------------------
sci-libs/lapacke-reference/metadata.xml | 12 +--
2 files changed, 6 insertions(+), 109 deletions(-)
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild
deleted file mode 100644
index 2c53640..0000000
--- a/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit alternatives-2 cmake-utils eutils fortran-2 toolchain-funcs
-
-FORTRAN_NEEDED=test
-
-MYP=lapack-${PV}
-
-if [[ ${PV} == "9999" ]] ; then
- ESVN_REPO_URI="https://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk"
- inherit subversion
- KEYWORDS=""
-else
- SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-DESCRIPTION="C Interface to LAPACK"
-HOMEPAGE="http://www.netlib.org/lapack/"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="static-libs test tmg xblas"
-
-RDEPEND="
- virtual/blas
- virtual/lapack
- tmg? ( sci-libs/tmglib )
- xblas? ( sci-libs/xblas )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S="${WORKDIR}/${MYP}"
-
-src_prepare() {
- # rename libraries to avoid collision with other lapacke
- sed -i \
- -e 's:BINARY_DIR}/lapacke.pc:BINARY_DIR}/reflapacke.pc:' \
- -e '/export/s:lapacke:reflapacke:g' \
- -e '/ALL_TARGETS/s:lapacke):reflapacke):' \
- -e '/LAPACK_LIBRARIES/s:lapacke:reflapacke:g' \
- CMakeLists.txt || die
- sed -i \
- -e '/librar/s:(lapacke:(reflapacke:g' \
- lapacke/CMakeLists.txt || die
- sed -i \
- -e '/librar/s:lapacke:reflapacke:g' \
- lapacke/example/CMakeLists.txt || die
- local tmgpc; use tmg && tmgpc=" -ltmglib"
- sed -i \
- -e "s:-llapacke:-lreflapacke${tmgpc}:g" \
- lapacke/lapacke.pc.in || die
- use static-libs && mkdir "${WORKDIR}/${PN}_static"
-}
-
-src_configure() {
- lapack_configure() {
- local mycmakeargs=(
- -DUSE_OPTIMIZED_BLAS=ON
- -DUSE_OPTIMIZED_LAPACK=ON
- -DLAPACKE=ON
- -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
- -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)"
- $(cmake-utils_use tmg LAPACKE_WITH_TMG)
- $(cmake-utils_use_build test TESTING)
- $(cmake-utils_use_use xblas XBLAS)
- $@
- )
- cmake-utils_src_configure
- }
-
- lapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
- use static-libs && \
- CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
- -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
-}
-
-src_compile() {
- use test && cmake-utils_src_compile -C TESTING/MATGEN
- cmake-utils_src_compile -C lapacke
- use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
- cmake-utils_src_compile -C lapacke
-}
-
-src_test() {
- pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null
- local ctestargs
- [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
- ctest ${ctestargs} || die
- popd > /dev/null
-}
-
-src_install() {
- cmake-utils_src_install -C lapacke
- use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
- cmake-utils_src_install -C lapacke
- alternatives_for lapacke reference 0 \
- /usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc
-}
diff --git a/sci-libs/lapacke-reference/metadata.xml b/sci-libs/lapacke-reference/metadata.xml
index 0d4e062..3e5f078 100644
--- a/sci-libs/lapacke-reference/metadata.xml
+++ b/sci-libs/lapacke-reference/metadata.xml
@@ -1,15 +1,15 @@
<?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">
This implementation provides a native C interface to LAPACK routines
available at www.netlib.org/lapack to facilitate usage of LAPACK
functionality for C programmers.
</longdescription>
-<use>
- <flag name="tmg">Build LAPACKE with a Test Matrix Generator library</flag>
- <flag name="xblas">Build LAPACKE with extra precision (needs
+ <use>
+ <flag name="tmg">Build LAPACKE with a Test Matrix Generator library</flag>
+ <flag name="xblas">Build LAPACKE with extra precision (needs
<pkg>sci-libs/xblas</pkg>)</flag>
-</use>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2015-11-28 18:59 Justin Lecher
0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2015-11-28 18:59 UTC (permalink / raw
To: gentoo-commits
commit: 5c62de27e3057bc7609ee7841efdfed532c28c35
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 28 18:38:31 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Nov 28 18:38:31 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5c62de27
sci-libs/lapacke-reference: Adopt to current HEAD
GitHub: resolves gentoo-science/sci#464
Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
.../lapacke-reference-3.5.0.ebuild | 29 ++++++----------
.../lapacke-reference-9999.ebuild | 39 +++++++++-------------
2 files changed, 27 insertions(+), 41 deletions(-)
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.5.0.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.5.0.ebuild
index 2c53640..c227851 100644
--- a/sci-libs/lapacke-reference/lapacke-reference-3.5.0.ebuild
+++ b/sci-libs/lapacke-reference/lapacke-reference-3.5.0.ebuild
@@ -1,29 +1,22 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-inherit alternatives-2 cmake-utils eutils fortran-2 toolchain-funcs
-
FORTRAN_NEEDED=test
-MYP=lapack-${PV}
+inherit alternatives-2 cmake-utils eutils fortran-2 toolchain-funcs
-if [[ ${PV} == "9999" ]] ; then
- ESVN_REPO_URI="https://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk"
- inherit subversion
- KEYWORDS=""
-else
- SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
+MYP=lapack-${PV}
DESCRIPTION="C Interface to LAPACK"
HOMEPAGE="http://www.netlib.org/lapack/"
+SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
LICENSE="BSD"
SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test tmg xblas"
RDEPEND="
@@ -82,22 +75,22 @@ src_configure() {
src_compile() {
use test && cmake-utils_src_compile -C TESTING/MATGEN
cmake-utils_src_compile -C lapacke
- use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
- cmake-utils_src_compile -C lapacke
+ use static-libs \
+ && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile -C lapacke
}
src_test() {
- pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null
+ pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null || die
local ctestargs
[[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
ctest ${ctestargs} || die
- popd > /dev/null
+ popd > /dev/null || die
}
src_install() {
cmake-utils_src_install -C lapacke
- use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
- cmake-utils_src_install -C lapacke
+ use static-libs \
+ && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install -C lapacke
alternatives_for lapacke reference 0 \
/usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc
}
diff --git a/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild b/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
index 2c53640..b7da70f 100644
--- a/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
+++ b/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
@@ -1,29 +1,22 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-inherit alternatives-2 cmake-utils eutils fortran-2 toolchain-funcs
-
FORTRAN_NEEDED=test
-MYP=lapack-${PV}
+inherit alternatives-2 cmake-utils eutils fortran-2 subversion toolchain-funcs
-if [[ ${PV} == "9999" ]] ; then
- ESVN_REPO_URI="https://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk"
- inherit subversion
- KEYWORDS=""
-else
- SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
+MYP=lapack-${PV}
DESCRIPTION="C Interface to LAPACK"
HOMEPAGE="http://www.netlib.org/lapack/"
+ESVN_REPO_URI="https://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk"
LICENSE="BSD"
SLOT="0"
+KEYWORDS=""
IUSE="static-libs test tmg xblas"
RDEPEND="
@@ -46,14 +39,14 @@ src_prepare() {
CMakeLists.txt || die
sed -i \
-e '/librar/s:(lapacke:(reflapacke:g' \
- lapacke/CMakeLists.txt || die
+ LAPACKE/CMakeLists.txt || die
sed -i \
-e '/librar/s:lapacke:reflapacke:g' \
- lapacke/example/CMakeLists.txt || die
+ LAPACKE/example/CMakeLists.txt || die
local tmgpc; use tmg && tmgpc=" -ltmglib"
sed -i \
-e "s:-llapacke:-lreflapacke${tmgpc}:g" \
- lapacke/lapacke.pc.in || die
+ LAPACKE/lapacke.pc.in || die
use static-libs && mkdir "${WORKDIR}/${PN}_static"
}
@@ -81,23 +74,23 @@ src_configure() {
src_compile() {
use test && cmake-utils_src_compile -C TESTING/MATGEN
- cmake-utils_src_compile -C lapacke
- use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
- cmake-utils_src_compile -C lapacke
+ cmake-utils_src_compile -C LAPACKE
+ use static-libs \
+ && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile -C LAPACKE
}
src_test() {
- pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null
+ pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null || die
local ctestargs
[[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
ctest ${ctestargs} || die
- popd > /dev/null
+ popd > /dev/null || die
}
src_install() {
- cmake-utils_src_install -C lapacke
- use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
- cmake-utils_src_install -C lapacke
+ cmake-utils_src_install -C LAPACKE
+ use static-libs \
+ && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install -C LAPACKE
alternatives_for lapacke reference 0 \
/usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc
}
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2015-11-30 18:33 Justin Lecher
0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2015-11-30 18:33 UTC (permalink / raw
To: gentoo-commits
commit: 6cb4cf4e8c6c7b68b0bb94e841fbc619795126d8
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 30 14:53:59 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Nov 30 14:53:59 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6cb4cf4e
sci-libs/lapacke-reference: Version Bump
Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-libs/lapacke-reference/lapacke-reference-3.5.0.ebuild | 8 ++++----
...eference-9999.ebuild => lapacke-reference-3.6.0.ebuild} | 14 +++++++-------
sci-libs/lapacke-reference/lapacke-reference-9999.ebuild | 8 ++++----
3 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.5.0.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.5.0.ebuild
index c227851..6d43c82 100644
--- a/sci-libs/lapacke-reference/lapacke-reference-3.5.0.ebuild
+++ b/sci-libs/lapacke-reference/lapacke-reference-3.5.0.ebuild
@@ -68,7 +68,7 @@ src_configure() {
lapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
use static-libs && \
- CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
+ BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
-DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
}
@@ -76,11 +76,11 @@ src_compile() {
use test && cmake-utils_src_compile -C TESTING/MATGEN
cmake-utils_src_compile -C lapacke
use static-libs \
- && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile -C lapacke
+ && BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile -C lapacke
}
src_test() {
- pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null || die
+ pushd "${BUILD_DIR}/lapacke" > /dev/null || die
local ctestargs
[[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
ctest ${ctestargs} || die
@@ -90,7 +90,7 @@ src_test() {
src_install() {
cmake-utils_src_install -C lapacke
use static-libs \
- && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install -C lapacke
+ && BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install -C lapacke
alternatives_for lapacke reference 0 \
/usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc
}
diff --git a/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.6.0.ebuild
similarity index 82%
copy from sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
copy to sci-libs/lapacke-reference/lapacke-reference-3.6.0.ebuild
index b7da70f..2cefa53 100644
--- a/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
+++ b/sci-libs/lapacke-reference/lapacke-reference-3.6.0.ebuild
@@ -6,17 +6,17 @@ EAPI=5
FORTRAN_NEEDED=test
-inherit alternatives-2 cmake-utils eutils fortran-2 subversion toolchain-funcs
+inherit alternatives-2 cmake-utils eutils fortran-2 toolchain-funcs
MYP=lapack-${PV}
DESCRIPTION="C Interface to LAPACK"
HOMEPAGE="http://www.netlib.org/lapack/"
-ESVN_REPO_URI="https://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk"
+SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test tmg xblas"
RDEPEND="
@@ -68,7 +68,7 @@ src_configure() {
lapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
use static-libs && \
- CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
+ BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
-DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
}
@@ -76,11 +76,11 @@ src_compile() {
use test && cmake-utils_src_compile -C TESTING/MATGEN
cmake-utils_src_compile -C LAPACKE
use static-libs \
- && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile -C LAPACKE
+ && BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile -C LAPACKE
}
src_test() {
- pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null || die
+ pushd "${BUILD_DIR}/LAPACKE" > /dev/null || die
local ctestargs
[[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
ctest ${ctestargs} || die
@@ -90,7 +90,7 @@ src_test() {
src_install() {
cmake-utils_src_install -C LAPACKE
use static-libs \
- && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install -C LAPACKE
+ && BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install -C LAPACKE
alternatives_for lapacke reference 0 \
/usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc
}
diff --git a/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild b/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
index b7da70f..1012fe7 100644
--- a/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
+++ b/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
@@ -68,7 +68,7 @@ src_configure() {
lapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
use static-libs && \
- CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
+ BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
-DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
}
@@ -76,11 +76,11 @@ src_compile() {
use test && cmake-utils_src_compile -C TESTING/MATGEN
cmake-utils_src_compile -C LAPACKE
use static-libs \
- && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile -C LAPACKE
+ && BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile -C LAPACKE
}
src_test() {
- pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null || die
+ pushd "${BUILD_DIR}/lapacke" > /dev/null || die
local ctestargs
[[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
ctest ${ctestargs} || die
@@ -90,7 +90,7 @@ src_test() {
src_install() {
cmake-utils_src_install -C LAPACKE
use static-libs \
- && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install -C LAPACKE
+ && BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install -C LAPACKE
alternatives_for lapacke reference 0 \
/usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc
}
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2015-12-03 9:54 Justin Lecher
0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2015-12-03 9:54 UTC (permalink / raw
To: gentoo-commits
commit: 788ba05839ab6821ab4b5bfb9239a1d24d9e8e60
Author: Ted Tanberry <ted.tanberry <AT> gmail <DOT> com>
AuthorDate: Thu Dec 3 08:39:58 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Dec 3 09:42:20 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=788ba058
sci-libs/lapacke-reference: revbump
.../{lapacke-reference-3.6.0.ebuild => lapacke-reference-3.6.0-r1.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.6.0.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.6.0-r1.ebuild
similarity index 100%
rename from sci-libs/lapacke-reference/lapacke-reference-3.6.0.ebuild
rename to sci-libs/lapacke-reference/lapacke-reference-3.6.0-r1.ebuild
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2015-12-03 9:55 Justin Lecher
0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2015-12-03 9:55 UTC (permalink / raw
To: gentoo-commits
commit: d14d6f7535998246f127487e08bf384baeaaa661
Author: Ted Tanberry <ted.tanberry <AT> gmail <DOT> com>
AuthorDate: Thu Dec 3 08:39:58 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Dec 3 08:39:58 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d14d6f75
sci-libs/lapacke-reference: revbump
.../{lapacke-reference-3.6.0.ebuild => lapacke-reference-3.6.0-r1.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.6.0.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.6.0-r1.ebuild
similarity index 100%
rename from sci-libs/lapacke-reference/lapacke-reference-3.6.0.ebuild
rename to sci-libs/lapacke-reference/lapacke-reference-3.6.0-r1.ebuild
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2015-12-03 10:03 Justin Lecher
0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2015-12-03 10:03 UTC (permalink / raw
To: gentoo-commits
commit: 6feaf85a47bd7c4dddee553fd2021ae81b9200fc
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 3 10:02:39 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Dec 3 10:02:39 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6feaf85a
sci-libs/lapacke-reference: Fix renaming of pkg-config file
Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
...packe-reference-3.6.0-r1.ebuild => lapacke-reference-3.6.0-r2.ebuild} | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.6.0-r1.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.6.0-r2.ebuild
similarity index 99%
rename from sci-libs/lapacke-reference/lapacke-reference-3.6.0-r1.ebuild
rename to sci-libs/lapacke-reference/lapacke-reference-3.6.0-r2.ebuild
index 4e7f5b7..c4256fe 100644
--- a/sci-libs/lapacke-reference/lapacke-reference-3.6.0-r1.ebuild
+++ b/sci-libs/lapacke-reference/lapacke-reference-3.6.0-r2.ebuild
@@ -41,6 +41,7 @@ src_prepare() {
-e '/export/s:lapacke:reflapacke:g' \
-e '/ALL_TARGETS/s:lapacke):reflapacke):' \
-e '/LAPACK_LIBRARIES/s:lapacke:reflapacke:g' \
+ LAPACKE/CMakeLists.txt \
CMakeLists.txt || die
sed -i \
-e '/librar/s:(lapacke:(reflapacke:g' \
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2016-01-06 9:39 Marius Brehler
0 siblings, 0 replies; 20+ messages in thread
From: Marius Brehler @ 2016-01-06 9:39 UTC (permalink / raw
To: gentoo-commits
commit: 556c0d89d3e748a316230999ffc27e09dbea09d3
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Wed Jan 6 09:36:29 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Wed Jan 6 09:36:29 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=556c0d89
sci-libs/lapacke-reference: Build deprecated by default
Package-Manager: portage-2.2.26
sci-libs/lapacke-reference/ChangeLog | 6 +++++-
sci-libs/lapacke-reference/lapacke-reference-3.6.0-r2.ebuild | 5 +++--
sci-libs/lapacke-reference/metadata.xml | 1 +
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/sci-libs/lapacke-reference/ChangeLog b/sci-libs/lapacke-reference/ChangeLog
index ed3ff5b..6d60408 100644
--- a/sci-libs/lapacke-reference/ChangeLog
+++ b/sci-libs/lapacke-reference/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for sci-libs/lapacke-reference
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
# $Id$
+ 06 Jan 2016; Marius Brehler <marbre@linux.sungazer.de>
+ lapacke-reference-3.6.0-r2.ebuild, metadata.xml:
+ sci-libs/lapacke-reference: Build deprecated by default
+
*lapacke-reference-3.5.0 (08 Dec 2013)
08 Dec 2013; Sébastien Fabbro <bicatali@gentoo.org>
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.6.0-r2.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.6.0-r2.ebuild
index c4256fe..6a9c86e 100644
--- a/sci-libs/lapacke-reference/lapacke-reference-3.6.0-r2.ebuild
+++ b/sci-libs/lapacke-reference/lapacke-reference-3.6.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -17,7 +17,7 @@ SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs test tmg xblas"
+IUSE="+deprecated static-libs test tmg xblas"
RDEPEND="
virtual/blas
@@ -67,6 +67,7 @@ src_configure() {
$(cmake-utils_use tmg LAPACKE_WITH_TMG)
$(cmake-utils_use_build test TESTING)
$(cmake-utils_use_use xblas XBLAS)
+ $(cmake-utils_use_build deprecated DEPRECATED)
$@
)
cmake-utils_src_configure
diff --git a/sci-libs/lapacke-reference/metadata.xml b/sci-libs/lapacke-reference/metadata.xml
index 3e5f078..6201b72 100644
--- a/sci-libs/lapacke-reference/metadata.xml
+++ b/sci-libs/lapacke-reference/metadata.xml
@@ -8,6 +8,7 @@
functionality for C programmers.
</longdescription>
<use>
+ <flag name="deprecated">Build deprecated routines</flag>
<flag name="tmg">Build LAPACKE with a Test Matrix Generator library</flag>
<flag name="xblas">Build LAPACKE with extra precision (needs
<pkg>sci-libs/xblas</pkg>)</flag>
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2018-06-21 19:47 Justin Lecher
0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2018-06-21 19:47 UTC (permalink / raw
To: gentoo-commits
commit: b16a86110abce01cacb4e537c6559f8df01ab9a8
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 21 19:20:49 2018 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jun 21 19:20:49 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b16a8611
sci-libs/lapacke-reference: Version Bump
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
Package-Manager: Portage-2.3.40, Repoman-2.3.9
.../lapacke-reference-3.8.0.ebuild | 99 ++++++++++++++++++++++
1 file changed, 99 insertions(+)
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.8.0.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.8.0.ebuild
new file mode 100644
index 000000000..d6136e4ef
--- /dev/null
+++ b/sci-libs/lapacke-reference/lapacke-reference-3.8.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FORTRAN_NEEDED=test
+
+inherit alternatives-2 cmake-utils eutils fortran-2 toolchain-funcs
+
+MYP=lapack-${PV}
+
+DESCRIPTION="C Interface to LAPACK"
+HOMEPAGE="http://www.netlib.org/lapack/"
+SRC_URI="http://www.netlib.org/lapack/${MYP}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+deprecated static-libs test tmg xblas"
+
+RDEPEND="
+ virtual/blas
+ virtual/lapack
+ tmg? ( sci-libs/tmglib )
+ xblas? ( sci-libs/xblas )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MYP}"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ # rename libraries to avoid collision with other lapacke
+ sed -i \
+ -e 's:BINARY_DIR}/lapacke.pc:BINARY_DIR}/reflapacke.pc:' \
+ -e '/export/s:lapacke:reflapacke:g' \
+ -e '/ALL_TARGETS/s:lapacke):reflapacke):' \
+ -e '/LAPACK_LIBRARIES/s:lapacke:reflapacke:g' \
+ LAPACKE/CMakeLists.txt \
+ CMakeLists.txt || die
+ sed -i \
+ -e '/librar/s:(lapacke:(reflapacke:g' \
+ LAPACKE/CMakeLists.txt || die
+ sed -i \
+ -e '/librar/s:lapacke:reflapacke:g' \
+ LAPACKE/example/CMakeLists.txt || die
+ local tmgpc; use tmg && tmgpc=" -ltmglib"
+ sed -i \
+ -e "s:-llapacke:-lreflapacke${tmgpc}:g" \
+ LAPACKE/lapacke.pc.in || die
+ use static-libs && mkdir "${WORKDIR}/${PN}_static"
+}
+
+src_configure() {
+ lapack_configure() {
+ local mycmakeargs=(
+ -DUSE_OPTIMIZED_BLAS=ON
+ -DUSE_OPTIMIZED_LAPACK=ON
+ -DLAPACKE=ON
+ -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
+ -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)"
+ -DLAPACKE_WITH_TMG=$(usex tmg)
+ -DBUILD_TESTING=$(usex test)
+ -DUSE_XBLAS=$(usex xblas)
+ -DBUILD_DEPRECATED=$(usex deprecated)
+ $@
+ )
+ cmake-utils_src_configure
+ }
+
+ lapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
+ use static-libs && \
+ BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
+ -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
+}
+
+src_compile() {
+ use test && cmake-utils_src_compile -C TESTING/MATGEN
+ cmake-utils_src_compile -C LAPACKE
+ use static-libs \
+ && BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile -C LAPACKE
+}
+
+src_test() {
+ pushd "${BUILD_DIR}/LAPACKE" > /dev/null || die
+ local ctestargs
+ [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
+ ctest ${ctestargs} || die
+ popd > /dev/null || die
+}
+
+src_install() {
+ cmake-utils_src_install -C LAPACKE
+ use static-libs \
+ && BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install -C LAPACKE
+ alternatives_for lapacke reference 0 \
+ /usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc
+}
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/
@ 2018-06-21 19:47 Justin Lecher
0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2018-06-21 19:47 UTC (permalink / raw
To: gentoo-commits
commit: ba3b62401d51add9c65539eb284b8f472eb6360b
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 21 19:46:53 2018 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jun 21 19:46:53 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ba3b6240
sci-libs/lapacke-reference: Bump EAPI
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
Package-Manager: Portage-2.3.40, Repoman-2.3.9
.../lapacke-reference-3.8.0.ebuild | 99 ----------------------
.../lapacke-reference-9999.ebuild | 10 +--
2 files changed, 5 insertions(+), 104 deletions(-)
diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.8.0.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.8.0.ebuild
deleted file mode 100644
index d6136e4ef..000000000
--- a/sci-libs/lapacke-reference/lapacke-reference-3.8.0.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FORTRAN_NEEDED=test
-
-inherit alternatives-2 cmake-utils eutils fortran-2 toolchain-funcs
-
-MYP=lapack-${PV}
-
-DESCRIPTION="C Interface to LAPACK"
-HOMEPAGE="http://www.netlib.org/lapack/"
-SRC_URI="http://www.netlib.org/lapack/${MYP}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+deprecated static-libs test tmg xblas"
-
-RDEPEND="
- virtual/blas
- virtual/lapack
- tmg? ( sci-libs/tmglib )
- xblas? ( sci-libs/xblas )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S="${WORKDIR}/${MYP}"
-
-src_prepare() {
- cmake-utils_src_prepare
-
- # rename libraries to avoid collision with other lapacke
- sed -i \
- -e 's:BINARY_DIR}/lapacke.pc:BINARY_DIR}/reflapacke.pc:' \
- -e '/export/s:lapacke:reflapacke:g' \
- -e '/ALL_TARGETS/s:lapacke):reflapacke):' \
- -e '/LAPACK_LIBRARIES/s:lapacke:reflapacke:g' \
- LAPACKE/CMakeLists.txt \
- CMakeLists.txt || die
- sed -i \
- -e '/librar/s:(lapacke:(reflapacke:g' \
- LAPACKE/CMakeLists.txt || die
- sed -i \
- -e '/librar/s:lapacke:reflapacke:g' \
- LAPACKE/example/CMakeLists.txt || die
- local tmgpc; use tmg && tmgpc=" -ltmglib"
- sed -i \
- -e "s:-llapacke:-lreflapacke${tmgpc}:g" \
- LAPACKE/lapacke.pc.in || die
- use static-libs && mkdir "${WORKDIR}/${PN}_static"
-}
-
-src_configure() {
- lapack_configure() {
- local mycmakeargs=(
- -DUSE_OPTIMIZED_BLAS=ON
- -DUSE_OPTIMIZED_LAPACK=ON
- -DLAPACKE=ON
- -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
- -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)"
- -DLAPACKE_WITH_TMG=$(usex tmg)
- -DBUILD_TESTING=$(usex test)
- -DUSE_XBLAS=$(usex xblas)
- -DBUILD_DEPRECATED=$(usex deprecated)
- $@
- )
- cmake-utils_src_configure
- }
-
- lapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
- use static-libs && \
- BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \
- -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
-}
-
-src_compile() {
- use test && cmake-utils_src_compile -C TESTING/MATGEN
- cmake-utils_src_compile -C LAPACKE
- use static-libs \
- && BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile -C LAPACKE
-}
-
-src_test() {
- pushd "${BUILD_DIR}/LAPACKE" > /dev/null || die
- local ctestargs
- [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
- ctest ${ctestargs} || die
- popd > /dev/null || die
-}
-
-src_install() {
- cmake-utils_src_install -C LAPACKE
- use static-libs \
- && BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install -C LAPACKE
- alternatives_for lapacke reference 0 \
- /usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc
-}
diff --git a/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild b/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
index 168f2d7a6..87462c46a 100644
--- a/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
+++ b/sci-libs/lapacke-reference/lapacke-reference-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
FORTRAN_NEEDED=test
@@ -57,9 +57,9 @@ src_configure() {
-DLAPACKE=ON
-DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
-DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)"
- $(cmake-utils_use tmg LAPACKE_WITH_TMG)
- $(cmake-utils_use_build test TESTING)
- $(cmake-utils_use_use xblas XBLAS)
+ -DLAPACKE_WITH_TMG=$(usex tmg)
+ -DBUILD_TESTING=$(usex test)
+ -DUSE_XBLAS=$(usex xblas)
$@
)
cmake-utils_src_configure
^ permalink raw reply related [flat|nested] 20+ messages in thread
end of thread, other threads:[~2018-06-21 19:47 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-21 19:47 [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2018-06-21 19:47 Justin Lecher
2016-01-06 9:39 Marius Brehler
2015-12-03 10:03 Justin Lecher
2015-12-03 9:55 Justin Lecher
2015-12-03 9:54 Justin Lecher
2015-11-30 18:33 Justin Lecher
2015-11-28 18:59 Justin Lecher
2015-11-28 18:08 Justin Lecher
2014-01-28 19:01 Sebastien Fabbro
2014-01-28 19:01 Sebastien Fabbro
2013-05-25 4:40 Sebastien Fabbro
2013-05-25 4:40 Sebastien Fabbro
2012-11-29 0:06 Sebastien Fabbro
2012-10-26 16:53 Sebastien Fabbro
2012-05-22 19:43 Justin Lecher
2012-02-23 9:18 Justin Lecher
2012-02-17 16:26 Sebastien Fabbro
2012-02-16 0:38 Sebastien Fabbro
2011-08-22 19:26 Sebastien Fabbro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox