summaryrefslogtreecommitdiff
path: root/dev-cpp/eigen/eigen-3.3.7.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-05-10 01:47:30 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-05-10 01:47:30 +0000
commit62857cdb64c35dbf182933c999a72f7ddf794d2e (patch)
tree17d74aa4541bbb5114c4cccb8a348e444e2ce76b /dev-cpp/eigen/eigen-3.3.7.ebuild
parent0ea9d12ef420683b487c83a7e000c0918204b8f2 (diff)
downloadsrcux-62857cdb64c35dbf182933c999a72f7ddf794d2e.tar.gz
srcux-62857cdb64c35dbf182933c999a72f7ddf794d2e.tar.xz
srcux-62857cdb64c35dbf182933c999a72f7ddf794d2e.zip
Adding metadata
Diffstat (limited to 'dev-cpp/eigen/eigen-3.3.7.ebuild')
-rw-r--r--dev-cpp/eigen/eigen-3.3.7.ebuild107
1 files changed, 0 insertions, 107 deletions
diff --git a/dev-cpp/eigen/eigen-3.3.7.ebuild b/dev-cpp/eigen/eigen-3.3.7.ebuild
deleted file mode 100644
index 1f3bb7907f70..000000000000
--- a/dev-cpp/eigen/eigen-3.3.7.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FORTRAN_NEEDED="test"
-inherit cmake-utils cuda 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="MPL-2.0"
-SLOT="3"
-KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="c++11 cpu_flags_arm_neon cpu_flags_ppc_altivec cpu_flags_ppc_vsx cuda debug doc openmp test" #zvector
-RESTRICT="!test? ( test )"
-
-RDEPEND="!dev-cpp/eigen:0"
-DEPEND="
- cuda? ( dev-util/nvidia-cuda-toolkit )
- doc? (
- app-doc/doxygen[dot]
- dev-texlive/texlive-bibtexextra
- dev-texlive/texlive-fontsextra
- dev-texlive/texlive-fontutils
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- )
- test? (
- dev-libs/gmp:0
- dev-libs/mpfr:0
- media-libs/freeglut
- media-libs/glew
- sci-libs/adolc[sparse]
- sci-libs/cholmod
- sci-libs/fftw:3.0
- sci-libs/pastix
- sci-libs/umfpack
- sci-libs/scotch
- sci-libs/spqr
- sci-libs/superlu
- virtual/opengl
- virtual/pkgconfig
- )
-"
-# Missing:
-# METIS-5
-# GOOGLEHASH
-
-src_unpack() {
- default
- mv ${PN}* ${P} || die
-}
-
-src_prepare() {
- cmake-utils_src_prepare
-
- sed -e 's:-g2::g' \
- -i cmake/EigenConfigureTesting.cmake || die
-
- sed -e "/add_subdirectory(demos/d" \
- -i CMakeLists.txt || die
-
- if ! use test; then
- sed -e "/add_subdirectory(test/d" \
- -i CMakeLists.txt || die
-
- sed -e "/add_subdirectory(blas/d" \
- -e "/add_subdirectory(lapack/d" \
- -i CMakeLists.txt || die
- fi
- sed -e "/Unknown build type/d" \
- -i CMakeLists.txt || die
-
- use cuda && cuda_src_prepare
-}
-
-src_compile() {
- cmake-utils_src_compile
- use doc && cmake-utils_src_compile doc
-}
-
-src_test() {
- local mycmakeargs=(
- -DEIGEN_TEST_NOQT=ON
- -DEIGEN_TEST_ALTIVEC="$(usex cpu_flags_ppc_altivec)"
- -DEIGEN_TEST_CXX11="$(usex c++11)"
- -DEIGEN_TEST_CUDA="$(usex cuda)"
- -DEIGEN_TEST_OPENMP="$(usex openmp)"
- -DEIGEN_TEST_NEON64="$(usex cpu_flags_arm_neon)"
- -DEIGEN_TEST_VSX="$(usex cpu_flags_ppc_vsx)"
- )
- cmake-utils_src_configure
- cmake-utils_src_compile blas
- cmake-utils_src_compile buildtests
- cmake-utils_src_test
-}
-
-src_install() {
- use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
- cmake-utils_src_install
-
- # Debian installs it and some projects started using it.
- insinto /usr/share/cmake/Modules/
- doins "${S}/cmake/FindEigen3.cmake"
-}