diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-14 18:40:14 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-14 18:40:14 +0000 |
commit | cc654c2bf10374c6828ae1f2c221d6836e5aa9c5 (patch) | |
tree | ee896cdfde9a0034b74e1a4e289f19231c74c05f /sci-libs | |
parent | Initial import in main tree (diff) | |
download | historical-cc654c2bf10374c6828ae1f2c221d6836e5aa9c5.tar.gz historical-cc654c2bf10374c6828ae1f2c221d6836e5aa9c5.tar.bz2 historical-cc654c2bf10374c6828ae1f2c221d6836e5aa9c5.zip |
Initial import in main tree
Package-Manager: portage-2.2.8-prefix/cvs/Linux x86_64
Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/scalapack/Manifest | 14 | ||||
-rw-r--r-- | sci-libs/scalapack/metadata.xml | 12 | ||||
-rw-r--r-- | sci-libs/scalapack/scalapack-2.0.2.ebuild | 64 |
3 files changed, 88 insertions, 2 deletions
diff --git a/sci-libs/scalapack/Manifest b/sci-libs/scalapack/Manifest index efa6dbd1bb86..f5b64314a497 100644 --- a/sci-libs/scalapack/Manifest +++ b/sci-libs/scalapack/Manifest @@ -1,4 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST scalapack-2.0.2.tgz 4779534 SHA256 0c74aeae690fe5ee4db7926f49c5d0bb69ce09eea75beb915e00bba07530395c SHA512 92c71d3de0900955511c527ab3ca57ff69d6d9edc390e69f93ac3769d32ce83a714326bcb6218c8c74b8874be2fdc8aad5e42c912a12581e8d4ce8829ea39248 WHIRLPOOL ca5e9261bb046684ecb820247ae2d9953083f9989b5cdeccd033c67519a5ab1eb3bd3f12d0225767513d5307342ccd96f582dbd264b2decc9033bf1f7f5d7dbc -EBUILD scalapack-2.0.2.ebuild 1527 SHA256 67994eabebf46d8cf26a0694750bc0d419891088c4fcea24efc94c94ed616665 SHA512 1b20a687844ca4fbeafc2eb8089336f85378e60f7a03c810b02f6bc5b54194884d50b2bff2dc0bd24ebb70471a55dea1a191099fc27a8935f91c4e383947cf33 WHIRLPOOL 5476046a7fdc0fc60c3f116966919294506760ff296347e70fa74136073529dd2bce81c0e062ca17e5704c01e19481999dd01911b0dccc69b07b1e69f206d85e -MISC ChangeLog 1595 SHA256 414ea241c49f2291fc4790141ed700125438ee39425318a11d4705166c4b9036 SHA512 a8ee81367300c6660395a8c4ca19772bf538c8946e9424550febf54f47055567a6597addbff157dd079a8132877e6546fceb96744aaa55003049e48da127755e WHIRLPOOL 38b77f53502eb75d9be4daad64f0b952efdd6b417a6e12db7d947e9683ee046810574cbb06fbf38a6a1c7b87e5fe6c29e2d96eefcbbf49edfca98968051d5831 +EBUILD scalapack-2.0.2.ebuild 1632 SHA256 250bea7524388b570c882aa113abe565e94e76646dd48ba83626c8d4226b5738 SHA512 d29e29015a578fe5b320a7a1559b38c2ed68a7e8d859a50b5cf8ce6e904ba36dc9f01c34f16b180fd68f35fa6e0f82fd3869aff30e4449c483fc80949d10e1aa WHIRLPOOL 4e3fb3f066552da268618db26c16135a78791ad1a9f8f08fd259a9f84f75f6731c8a1c0abed97c051c1739ff26a1e31260dd3355f745721997fd4fe2929de54b +MISC ChangeLog 1687 SHA256 f5ae5b5a27d6e63f8d829112518e0b643b0362e163a7a945acfbe1f69f3bc4d2 SHA512 11e58a7c94e35f2e3759d895d518a6f610a81beeac86153893710a3328fa2bab41efdaaf8e3e7bdba0452510dd53f9c8f3153358726649b9d27e7cf28a1f09ae WHIRLPOOL c9537f569698c1f9a89f131f1d76b0b6be7653abfa09db86665092cb43b485a1a51f70ff56a2a97323f157141d115f4148b935e4ce55ecfcf30735b9d34df18a MISC metadata.xml 563 SHA256 1ee2c99e8e8d4f57ba1dce11797c19545734eb262725095909dcf3c80752fb3c SHA512 59e70523aa79713047aab7fe9a6ca752fe4034c80138c079c52dc3369f9e14b7376b73b6000b05ce688b0941ad99a3a39bde4b5d58626b82e55a777053e8b0f0 WHIRLPOOL 97c228a8a399d4a64ba4e7e99db9f749f1b0e4e588c556be17e764f70a362d35f4917f218ba5cd668215be41f9c1e349354b9ada0b7ed67152f2d99187be6b29 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iEYEAREIAAYFAlLVhIoACgkQ1ycZbhPLE2BiQQCfQey3MIn2gtPmZjk10UPZ6pK0 +CucAn1xSQxGLB6CD32h080Kw/pydyFhR +=BJr5 +-----END PGP SIGNATURE----- diff --git a/sci-libs/scalapack/metadata.xml b/sci-libs/scalapack/metadata.xml new file mode 100644 index 000000000000..baa3fe76fc17 --- /dev/null +++ b/sci-libs/scalapack/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + The ScaLAPACK (or Scalable LAPACK) library includes a subset of LAPACK routines + redesigned for distributed memory MIMD parallel computers. It is currently + written in a Single-Program-Multiple-Data style using explicit message + passing for interprocessor communication. It assumes matrices are laid out + in a two-dimensional block cyclic decomposition. +</longdescription> +</pkgmetadata> diff --git a/sci-libs/scalapack/scalapack-2.0.2.ebuild b/sci-libs/scalapack/scalapack-2.0.2.ebuild new file mode 100644 index 000000000000..f91bbc4fd9df --- /dev/null +++ b/sci-libs/scalapack/scalapack-2.0.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scalapack/scalapack-2.0.2.ebuild,v 1.1 2014/01/14 18:40:05 bicatali Exp $ + +EAPI=5 + +inherit cmake-utils eutils fortran-2 + +DESCRIPTION="Subset of LAPACK routines redesigned for heterogenous (MPI) computing" +HOMEPAGE="http://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() { + use static-libs && mkdir "${WORKDIR}/${PN}_static" + # 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 +} |