From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/bicatali:master commit in: dev-cpp/eigen/
Date: Thu, 31 Mar 2011 18:11:12 +0000 (UTC) [thread overview]
Message-ID: <aa737ee4ef4b0cfc2c346d97c0c3955ef576faf9.bicatali@gentoo> (raw)
commit: aa737ee4ef4b0cfc2c346d97c0c3955ef576faf9
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 18:03:43 2011 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Mar 31 18:03:43 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/bicatali.git;a=commit;h=aa737ee4
added eigen
---
dev-cpp/eigen/ChangeLog | 188 +++++++++++++++++++++++++++++++++++
dev-cpp/eigen/Manifest | 4 +
dev-cpp/eigen/eigen-3.0.0-r1.ebuild | 81 +++++++++++++++
dev-cpp/eigen/metadata.xml | 17 +++
4 files changed, 290 insertions(+), 0 deletions(-)
diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
new file mode 100644
index 0000000..8999c28
--- /dev/null
+++ b/dev-cpp/eigen/ChangeLog
@@ -0,0 +1,188 @@
+# ChangeLog for dev-cpp/eigen
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
+
+*eigen-3.0.0-r1 (31 Mar 2011)
+
+ 31 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.0.0-r1.ebuild,
+ +metadata.xml:
+ Added a few extras flags to pull dependencies for unsupported eigen features.
+ Also now build a blas implementation
+
+*eigen-3.0.0 (25 Mar 2011)
+
+ 25 Mar 2011; Justin Lecher <jlec@gentoo.org> eigen-2.0.13.ebuild,
+ eigen-2.0.15.ebuild, +eigen-3.0.0.ebuild:
+ Version Bump, Adapted to new tarball, #358761
+
+ 13 Feb 2011; Tomáš Chvátal <scarabeus@gentoo.org> -eigen-2.0.5.ebuild,
+ -eigen-2.0.14.ebuild:
+ old
+
+ 20 Oct 2010; Brent Baude <ranger@gentoo.org> eigen-2.0.13.ebuild:
+ Marking eigen-2.0.13 ppc for bug 327581
+
+*eigen-2.0.15 (03 Oct 2010)
+
+ 03 Oct 2010; Justin Lecher <jlec@gentoo.org> eigen-2.0.13.ebuild,
+ eigen-2.0.14.ebuild, +eigen-2.0.15.ebuild:
+ Version Bump, 339258
+
+ 27 Aug 2010; Raúl Porcel <armin76@gentoo.org> eigen-2.0.13.ebuild:
+ alpha/ia64/sparc stable wrt #327581
+
+ 23 Jul 2010; Markus Meier <maekke@gentoo.org> eigen-2.0.13.ebuild:
+ amd64 stable, bug #327581
+
+ 21 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> eigen-2.0.13.ebuild:
+ ppc64 stable wrt #327581
+
+ 17 Jul 2010; Christian Faulhammer <fauli@gentoo.org> eigen-2.0.13.ebuild:
+ stable x86, bug 327581
+
+ 14 Jul 2010; Jeroen Roovers <jer@gentoo.org> eigen-2.0.13.ebuild:
+ Stable for HPPA (bug #327581).
+
+*eigen-2.0.14 (09 Jul 2010)
+
+ 09 Jul 2010; Dror Levin <spatz@gentoo.org> -eigen-2.0.10.ebuild,
+ +eigen-2.0.14.ebuild:
+ Version bump, bug 327583. Drop old.
+
+*eigen-2.0.13 (13 Jun 2010)
+
+ 13 Jun 2010; Dror Levin <spatz@gentoo.org> +eigen-2.0.13.ebuild:
+ Version bump, bug 323855.
+
+ 20 Jan 2010; Jonathan Callen <abcd@gentoo.org> eigen-2.0.10.ebuild:
+ Keyword ~amd64-linux/~x86-linux; move blocker out of DEPEND; utilize the
+ fact that cmake caches -D arguments
+
+ 14 Jan 2010; Jeroen Roovers <jer@gentoo.org> eigen-2.0.5.ebuild:
+ Stable for HPPA (bug #295884).
+
+ 28 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> eigen-2.0.5.ebuild,
+ eigen-2.0.10.ebuild:
+ Reorder the deps to not rdepend on doxygen.
+
+ 28 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> eigen-2.0.5.ebuild,
+ eigen-2.0.10.ebuild:
+ Doc useflag require doxygen. Per bug #298074.
+
+ 27 Dec 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.5.ebuild:
+ alpha/ia64/sparc stable
+
+*eigen-2.0.10 (10 Dec 2009)
+
+ 10 Dec 2009; Dror Levin <spatz@gentoo.org> -eigen-2.0.9.ebuild,
+ +eigen-2.0.10.ebuild:
+ Version bump and remove old, bug 296461.
+
+ 10 Dec 2009; Jonathan Callen <abcd@gentoo.org> eigen-2.0.5.ebuild,
+ eigen-2.0.9.ebuild:
+ Convert mycmakeargs to an array (required due to usage in src_test)
+
+ 05 Dec 2009; Jonathan Callen <abcd@gentoo.org> -eigen-2.0.4.ebuild,
+ -eigen-2.0.4-r1.ebuild, -files/eigen-2.0.4-gcc-4-1.patch,
+ -files/eigen-2.0.4-qt-test.patch, -eigen-2.0.6.ebuild:
+ Drop old ebuilds, patches
+
+ 30 Nov 2009; Joseph Jezak <josejx@gentoo.org> Manifest:
+ Marked ppc/ppc64 stable.
+
+ 29 Nov 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.9.ebuild:
+ Add ~sparc
+
+*eigen-2.0.9 (01 Nov 2009)
+
+ 01 Nov 2009; Dror Levin <spatz@gentoo.org> +eigen-2.0.9.ebuild:
+ Version bump.
+
+ 17 Oct 2009; Markus Meier <maekke@gentoo.org> eigen-2.0.5.ebuild:
+ x86 stable, bug #287955
+
+ 09 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> eigen-2.0.5.ebuild:
+ amd64 stable wrt #287955
+
+*eigen-2.0.6 (26 Sep 2009)
+
+ 26 Sep 2009; Patrick Lauer <patrick@gentoo.org> +eigen-2.0.6.ebuild:
+ Bump to 2.0.6, fixes #286462
+
+ 22 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> -eigen-2.0.2.ebuild,
+ -eigen-2.0.3.ebuild:
+ Pruned old versions.
+
+*eigen-2.0.5 (22 Aug 2009)
+
+ 22 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> +eigen-2.0.5.ebuild:
+ Version bump.
+
+ 21 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org>
+ files/eigen-2.0.4-qt-test.patch:
+ This should really fix bug 279824, all tests passed here.
+
+*eigen-2.0.4-r1 (21 Aug 2009)
+
+ 21 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> +eigen-2.0.4-r1.ebuild,
+ +files/eigen-2.0.4-gcc-4-1.patch:
+ Patch applied by Benoit Jacob upstream, fixes compilation issue with GCC
+ 4.1. Closes bug 280588.
+
+*eigen-2.0.4 (01 Aug 2009)
+
+ 01 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> +eigen-2.0.4.ebuild,
+ +files/eigen-2.0.4-qt-test.patch:
+ Version bump, disabled fortran in testing for now - bug 279824.
+
+*eigen-2.0.3 (30 Jul 2009)
+
+ 30 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> +eigen-2.0.3.ebuild,
+ +files/eigen-ppc-define.patch:
+ Version bump.
+
+ 04 Jun 2009; Tomas Chvatal <scarabeus@gentoo.org> -eigen-1.0.5.ebuild:
+ Drop old 1.0 series eigen. By rdep scans not needed anywhere.
+
+*eigen-2.0.2 (04 Jun 2009)
+
+ 04 Jun 2009; Tomas Chvatal <scarabeus@gentoo.org> eigen-1.0.5.ebuild,
+ -eigen-2.0.0.ebuild, -eigen-2.0.1.ebuild, +eigen-2.0.2.ebuild:
+ Version bump. Remove old. Fix repoman warning. Per bug #272491.
+
+ 18 Apr 2009; Jeroen Roovers <jer@gentoo.org> eigen-2.0.1:
+ Marked ~hppa (bug #260777).
+
+*eigen-2.0.1 (14 Apr 2009)
+
+ 14 Apr 2009; Tomas Chvatal <scarabeus@gentoo.org> +eigen-2.0.1.ebuild:
+ Version bump.
+
+ 11 Apr 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.0.ebuild:
+ Add ~alpha/~ia64 wrt #260777
+
+ 09 Mar 2009; Brent Baude <ranger@gentoo.org> eigen-2.0.0.ebuild:
+ Marking eigen-2 ~ppc and ~ppc64 for bug 261754
+
+*eigen-2.0.0 (17 Feb 2009)
+
+ 17 Feb 2009; Tomas Chvatal <scarabeus@gentoo.org> metadata.xml,
+ +eigen-2.0.0.ebuild:
+ Version bump. Add kde to maintainers, since we will use it for koffice2
+ and other kde packages in future.
+
+ 02 Nov 2008; Mike Frysinger <vapier@gentoo.org> eigen-1.0.5.ebuild:
+ Add ppc/ppc64 love for KDE 4.
+
+ 27 Jun 2007; Christian Faulhammer <opfer@gentoo.org> eigen-1.0.5.ebuild:
+ keyworded ~x86, bug 182985
+
+ 23 Jun 2007; Marcus D. Hanwell <cryos@gentoo.org> eigen-1.0.5.ebuild:
+ Marked stable on amd64.
+
+*eigen-1.0.5 (15 May 2007)
+
+ 15 May 2007; Marcus D. Hanwell <cryos@gentoo.org> +metadata.xml,
+ +eigen-1.0.5.ebuild:
+ Initial import.
+
diff --git a/dev-cpp/eigen/Manifest b/dev-cpp/eigen/Manifest
new file mode 100644
index 0000000..61b078f
--- /dev/null
+++ b/dev-cpp/eigen/Manifest
@@ -0,0 +1,4 @@
+DIST eigen-3.0.0.tar.bz2 899931 RMD160 05d15d1e6159bb7abe1a970bba2648211f8894bd SHA1 f0c6243c605e158968a96a6b502c9607cd1688c7 SHA256 e60efc5b18331b2e6c23ac5a8180a13b987f0aeb6fc6dca316ae338fa0513931
+EBUILD eigen-3.0.0-r1.ebuild 2024 RMD160 2e94b9125e2276a958fd0ab9be1c4004e33f86e4 SHA1 c5223c2d579f9084784119ae6c85c398a17121a4 SHA256 8c8e0c4713d4c0d03fd93aa049a4aeaf94f390fdca8bda51cec48031cdfc528d
+MISC ChangeLog 6096 RMD160 646f8683880db8b39ec9df4a8cf4476fd20d8b9f SHA1 fa4cce2adc0ece469e19737d1a4335e95e4fcd19 SHA256 208b2236098f22a5e59bbad7bbad3db7379f8d9f5467272b054db38368c1f9de
+MISC metadata.xml 862 RMD160 c350c291df4c6b432a8c4d3094d9bd9f23fcbf15 SHA1 e05bd963b1e7eee9889ce01bed367dfaba71bedd SHA256 77d97c43534f73b933fa724698acae16705bf86ad32d9faf47bf020f5d8277fb
diff --git a/dev-cpp/eigen/eigen-3.0.0-r1.ebuild b/dev-cpp/eigen/eigen-3.0.0-r1.ebuild
new file mode 100644
index 0000000..b74cdb8
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.0.0-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit cmake-utils
+
+DESCRIPTION="C++ template library for linear algebra"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="|| ( LGPL-3 GPL-2 )"
+KEYWORDS="~amd64 ~x86"
+SLOT="3"
+IUSE="adolc fortran fftw doc gmp sparse static-libs test"
+
+CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
+ fftw? ( >=sci-libs/fftw-3 )
+ gmp? ( dev-libs/gmp dev-libs/mpfr )
+ sparse? ( dev-cpp/sparsehash
+ sci-libs/cholmod
+ sci-libs/superlu
+ sci-libs/umfpack )"
+
+DEPEND="doc? ( app-doc/doxygen )
+ test? ( ${CDEPEND} )"
+
+RDEPEND="!dev-cpp/eigen:0
+ ${CDEPEND}"
+
+src_unpack() {
+ unpack ${A} && mv ${PN}* ${P}
+}
+
+src_configure() {
+ #TOFIX: static-libs for blas are always built with PIC
+ #TOFIX: BTL benchmarks
+ #TOFIX: is it worth fixing all the automagic given no library is built?
+ mycmakeargs=(
+ -DEIGEN_BUILD_BTL=OFF
+ )
+ CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
+ use fortran && FORTRAN_LIBS="blas" # lapack not ready yet
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ pushd "${S}_build" > /dev/null
+ use doc && emake doc
+ use fortran && emake ${FORTRAN_LIBS}
+ use test && emake buildtests
+ popd > /dev/null
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && dohtml -r "${CMAKE_BUILD_DIR}"/html/*
+ local x
+ for x in ${FORTRAN_LIBS}; do
+ local libname="eigen_${x}"
+ cd "${CMAKE_BUILD_DIR}"/${x}
+ dolib.so lib${libname}.so
+ use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
+ cat <<-EOF > ${libname}.pc
+ prefix="${EPREFIX}"/usr
+ libdir=\${prefix}/$(get_libdir)
+ includedir=\${prefix}/include
+ Name: ${PN}
+ Description: ${DESCRIPTION}
+ Version: ${PV}
+ URL: ${HOMEPAGE}
+ Libs: -L\${libdir} -l${libname}
+ Libs.private: -lm
+ EOF
+ alternatives_for ${x} eigen_${x} 0 \
+ /usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${libname}.pc
+ done
+}
diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
new file mode 100644
index 0000000..9437282
--- /dev/null
+++ b/dev-cpp/eigen/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<herd>kde</herd>
+<longdescription lang='en'>
+ Eigen is a lightweight C++ template library for vector and matrix math,
+ a.k.a. linear algebra. Unlike most other linear algebra libraries, Eigen
+ focuses on the simple mathematical needs of applications: games and other
+ OpenGL apps, spreadsheets and other office apps, etc. Eigen is dedicated to
+ providing optimal speed with GCC.
+</longdescription>
+<use>
+ <flag name='adolc'>Enable use for automatic differentiation using <pkg>sci-libs/adolc</pkg></flag>
+ <flag name='sparse'>Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg></flag>
+</use>
+</pkgmetadata>
next reply other threads:[~2011-03-31 18:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-31 18:11 Sebastien Fabbro [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-03-31 18:18 [gentoo-commits] dev/bicatali:master commit in: dev-cpp/eigen/ Sebastien Fabbro
2011-08-19 5:46 Sebastien Fabbro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aa737ee4ef4b0cfc2c346d97c0c3955ef576faf9.bicatali@gentoo \
--to=bicatali@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox