diff options
author | Justin Lecher <jlec@gentoo.org> | 2016-11-24 17:56:34 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2016-11-24 17:56:34 +0100 |
commit | 76c9cdc0325d9cdd36fc12b1d0320155b4bc6d74 (patch) | |
tree | b2b370229ed3c8173f0cd6362aec9c7f8cb39c01 /dev-cpp/eigen | |
parent | app-eselect/eselect-python: regen python-config in pkg_postinst (diff) | |
download | gentoo-76c9cdc0325d9cdd36fc12b1d0320155b4bc6d74.tar.gz gentoo-76c9cdc0325d9cdd36fc12b1d0320155b4bc6d74.tar.bz2 gentoo-76c9cdc0325d9cdd36fc12b1d0320155b4bc6d74.zip |
dev-cpp/eigen: Version Bump
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=599554
Package-Manager: portage-2.3.2
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-cpp/eigen')
-rw-r--r-- | dev-cpp/eigen/Manifest | 2 | ||||
-rw-r--r-- | dev-cpp/eigen/eigen-3.2.10.ebuild | 111 | ||||
-rw-r--r-- | dev-cpp/eigen/eigen-3.2.9.ebuild | 111 |
3 files changed, 224 insertions, 0 deletions
diff --git a/dev-cpp/eigen/Manifest b/dev-cpp/eigen/Manifest index 4a02d3fc8697..bda8f48b4d7e 100644 --- a/dev-cpp/eigen/Manifest +++ b/dev-cpp/eigen/Manifest @@ -1,2 +1,4 @@ DIST eigen-2.0.17.tar.bz2 367890 SHA256 7255e856ed367ce6e6e2d4153b0e4e753c8b8d36918bf440dd34ad56aff09960 SHA512 8fa0e4507864f61c30de14e3b29d963eb8b777d1a6bb04192d53e1f4c9db323b9fab2ddcedb63bf2af243fe0e26dcd717e97eb72216b6a1d444e455520192c72 WHIRLPOOL d80f12b378e23b758e4dbd173b87bed93bc42a97f2541b653b4373ea6ce0803bd712de00cf5a014a72cd439bb3ad10fd24b2ef8982975e044ff4d7bb2b63f585 +DIST eigen-3.2.10.tar.bz2 1168527 SHA256 760e6656426fde71cc48586c971390816f456d30f0b5d7d4ad5274d8d2cb0a6d SHA512 413c01a5b1b5d2e4366bc9289b1d613b21157e702b1c0d544e41ba5726acfbe0b60921ded37926010e9ce3642939e3ad39038e053d392b90a7a6302955ec5058 WHIRLPOOL f8d6498ab32197e0193ef7f9bae3f360f2a4cc321c34c90d2b72347ca5fd47a028fdc120dafd663520583ef471b4d756ab5cedea4f6d5344e76991a7afe4779b DIST eigen-3.2.8.tar.bz2 1161201 SHA256 722a63d672b70f39c271c5e2a4a43ba14d12015674331790414fcb167c357e55 SHA512 53c27ba530c985dfef52188e03273eeef33abbc67e3f150cacd3371c8b9ddbd399228730595821c4c56c061d109cf509266c1dab2b8a7c730902cbd6fb18c100 WHIRLPOOL 75e54f5620299f49a540483b0b4163e3cf6c48695f30f5e258343925cb488c3915588862a3fbe2341b5dbe17ea20756409265000f19ea2f45e7706837cb2488a +DIST eigen-3.2.9.tar.bz2 1163762 SHA256 4d1e036ec1ed4f4805d5c6752b76072d67538889f4003fadf2f6e00a825845ff SHA512 2734ce70e0b04dc5839715a3cc9b8f90e05b341cfca42a7d586df213a9a14fe5642c76ccf36c16d020ae167c0d6e4d5cc306f0b3bf1f519c58372b0736ca7e63 WHIRLPOOL 7caba7b0676bc5dc203c8d8b5f57fc3a31a95171ddbb63b21ba8c84e58e5c5fde242d232299183e41886e970c3ea84bce821d506b6c32526ae44703ee3a599f9 diff --git a/dev-cpp/eigen/eigen-3.2.10.ebuild b/dev-cpp/eigen/eigen-3.2.10.ebuild new file mode 100644 index 000000000000..a102bc011cae --- /dev/null +++ b/dev-cpp/eigen/eigen-3.2.10.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +FORTRAN_NEEDED="test" + +inherit cmake-utils fortran-2 + +DESCRIPTION="C++ template library for linear algebra" +HOMEPAGE="http://eigen.tuxfamily.org/" +SRC_URI="https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="LGPL-2 GPL-3" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="altivec debug doc openmp test" +IUSE+=" cpu_flags_x86_sse2" +IUSE+=" cpu_flags_x86_sse3" +IUSE+=" cpu_flags_x86_sse4_1" +IUSE+=" cpu_flags_x86_sse4_2" +IUSE+=" cpu_flags_x86_ssse3" +#IUSE+=" cpu_flags_x86_x87" + +RDEPEND="!dev-cpp/eigen:0" +DEPEND=" + doc? ( app-doc/doxygen[dot,latex] ) + test? ( + dev-libs/gmp:0 + dev-libs/mpfr:0 + media-libs/freeglut + media-libs/glew + sci-libs/adolc + sci-libs/cholmod + sci-libs/fftw:3.0 + sci-libs/pastix + sci-libs/umfpack + sci-libs/scotch + sci-libs/spqr + sci-libs/superlu + dev-qt/qtcore:4 + virtual/opengl + virtual/pkgconfig + ) + " +# Missing: +# METIS-5 +# GOOGLEHASH + +PATCHES=( + "${FILESDIR}"/${PN}-3.2.7-adaolc-backport.patch +) + +src_unpack() { + default + mv ${PN}* ${P} || die +} + +src_prepare() { + sed \ + -e 's:-g2::g' \ + -i cmake/EigenConfigureTesting.cmake || die + + sed -i CMakeLists.txt \ + -e "/add_subdirectory(demos/d" \ + || die "sed disable unused bundles failed" + + if ! use test; then + sed -i CMakeLists.txt \ + -e "/add_subdirectory(blas/d" \ + -e "/add_subdirectory(lapack/d" \ + || die "sed disable unused bundles failed" + fi + + sed -i -e "/Unknown build type/d" CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_compile() { + cmake-utils_src_compile + use doc && cmake-utils_src_compile doc +} + +src_test() { + local mycmakeargs=( + -DEIGEN_BUILD_TESTS=ON + -DEIGEN_TEST_ALTIVEC="$(usex altivec)" + -DEIGEN_TEST_OPENMP="$(usex openmp)" + -DEIGEN_TEST_SSE2="$(usex cpu_flags_x86_sse2)" + -DEIGEN_TEST_SSE3="$(usex cpu_flags_x86_sse3)" + -DEIGEN_TEST_SSE4_1="$(usex cpu_flags_x86_sse4_1)" + -DEIGEN_TEST_SSE4_2="$(usex cpu_flags_x86_sse4_2)" + -DEIGEN_TEST_SSSE3="$(usex cpu_flags_x86_ssse3)" +# -DEIGEN_TEST_X87="$(usex cpu_flags_x86_x87)" + ) + cmake-utils_src_configure + cmake-utils_src_compile blas + cmake-utils_src_compile buildtests + cmake-utils_src_test +} + +src_install() { + cmake-utils_src_install + use doc && dodoc -r "${BUILD_DIR}"/doc/html + + # Debian installs it and some projects started using it. + insinto /usr/share/cmake/Modules/ + doins "${S}/cmake/FindEigen3.cmake" +} diff --git a/dev-cpp/eigen/eigen-3.2.9.ebuild b/dev-cpp/eigen/eigen-3.2.9.ebuild new file mode 100644 index 000000000000..a102bc011cae --- /dev/null +++ b/dev-cpp/eigen/eigen-3.2.9.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +FORTRAN_NEEDED="test" + +inherit cmake-utils fortran-2 + +DESCRIPTION="C++ template library for linear algebra" +HOMEPAGE="http://eigen.tuxfamily.org/" +SRC_URI="https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="LGPL-2 GPL-3" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="altivec debug doc openmp test" +IUSE+=" cpu_flags_x86_sse2" +IUSE+=" cpu_flags_x86_sse3" +IUSE+=" cpu_flags_x86_sse4_1" +IUSE+=" cpu_flags_x86_sse4_2" +IUSE+=" cpu_flags_x86_ssse3" +#IUSE+=" cpu_flags_x86_x87" + +RDEPEND="!dev-cpp/eigen:0" +DEPEND=" + doc? ( app-doc/doxygen[dot,latex] ) + test? ( + dev-libs/gmp:0 + dev-libs/mpfr:0 + media-libs/freeglut + media-libs/glew + sci-libs/adolc + sci-libs/cholmod + sci-libs/fftw:3.0 + sci-libs/pastix + sci-libs/umfpack + sci-libs/scotch + sci-libs/spqr + sci-libs/superlu + dev-qt/qtcore:4 + virtual/opengl + virtual/pkgconfig + ) + " +# Missing: +# METIS-5 +# GOOGLEHASH + +PATCHES=( + "${FILESDIR}"/${PN}-3.2.7-adaolc-backport.patch +) + +src_unpack() { + default + mv ${PN}* ${P} || die +} + +src_prepare() { + sed \ + -e 's:-g2::g' \ + -i cmake/EigenConfigureTesting.cmake || die + + sed -i CMakeLists.txt \ + -e "/add_subdirectory(demos/d" \ + || die "sed disable unused bundles failed" + + if ! use test; then + sed -i CMakeLists.txt \ + -e "/add_subdirectory(blas/d" \ + -e "/add_subdirectory(lapack/d" \ + || die "sed disable unused bundles failed" + fi + + sed -i -e "/Unknown build type/d" CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_compile() { + cmake-utils_src_compile + use doc && cmake-utils_src_compile doc +} + +src_test() { + local mycmakeargs=( + -DEIGEN_BUILD_TESTS=ON + -DEIGEN_TEST_ALTIVEC="$(usex altivec)" + -DEIGEN_TEST_OPENMP="$(usex openmp)" + -DEIGEN_TEST_SSE2="$(usex cpu_flags_x86_sse2)" + -DEIGEN_TEST_SSE3="$(usex cpu_flags_x86_sse3)" + -DEIGEN_TEST_SSE4_1="$(usex cpu_flags_x86_sse4_1)" + -DEIGEN_TEST_SSE4_2="$(usex cpu_flags_x86_sse4_2)" + -DEIGEN_TEST_SSSE3="$(usex cpu_flags_x86_ssse3)" +# -DEIGEN_TEST_X87="$(usex cpu_flags_x86_x87)" + ) + cmake-utils_src_configure + cmake-utils_src_compile blas + cmake-utils_src_compile buildtests + cmake-utils_src_test +} + +src_install() { + cmake-utils_src_install + use doc && dodoc -r "${BUILD_DIR}"/doc/html + + # Debian installs it and some projects started using it. + insinto /usr/share/cmake/Modules/ + doins "${S}/cmake/FindEigen3.cmake" +} |