diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-16 00:10:20 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-16 00:10:20 +0200 |
commit | 6737e375d5517a12b7e4bac03445f5c5dfb21577 (patch) | |
tree | d7f127c69a25f0c5ce5e0f8d3b2eff57988a3ed3 /sci-libs | |
parent | lxqt-base/lxqt-panel: fix build issue related to disabled plugins (diff) | |
download | gentoo-6737e375d5517a12b7e4bac03445f5c5dfb21577.tar.gz gentoo-6737e375d5517a12b7e4bac03445f5c5dfb21577.tar.bz2 gentoo-6737e375d5517a12b7e4bac03445f5c5dfb21577.zip |
sci-libs/scalapack: Drop 2.0.2 (r0)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/scalapack/scalapack-2.0.2.ebuild | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/sci-libs/scalapack/scalapack-2.0.2.ebuild b/sci-libs/scalapack/scalapack-2.0.2.ebuild deleted file mode 100644 index 6eca44f0363d..000000000000 --- a/sci-libs/scalapack/scalapack-2.0.2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit cmake-utils eutils fortran-2 - -DESCRIPTION="Subset of LAPACK routines redesigned for heterogenous (MPI) computing" -HOMEPAGE="https://www.netlib.org/scalapack/" -SRC_URI="${HOMEPAGE}/${P}.tgz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="static-libs test" - -RDEPEND=" - virtual/lapack - virtual/mpi" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_prepare() { - cmake-utils_src_prepare - - if use static-libs; then - mkdir "${WORKDIR}/${PN}_static" || die - fi - # mpi does not have a pc file - sed -i -e 's/mpi//' scalapack.pc.in || die -} - -src_configure() { - scalapack_configure() { - local mycmakeargs=( - -DUSE_OPTIMIZED_LAPACK_BLAS=ON - -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)" - -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)" - $(cmake-utils_use_build test TESTING) - $@ - ) - cmake-utils_src_configure - } - - scalapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF - use static-libs && \ - CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" scalapack_configure \ - -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON -} - -src_compile() { - cmake-utils_src_compile - use static-libs && \ - CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - use static-libs && \ - CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install - - insinto /usr/include/blacs - doins BLACS/SRC/*.h - - insinto /usr/include/scalapack - doins PBLAS/SRC/*.h -} |