From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D7836138A1F for ; Tue, 28 Jan 2014 19:01:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EF86E0E17; Tue, 28 Jan 2014 19:01:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 989BFE0DF9 for ; Tue, 28 Jan 2014 19:01:54 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 971E033F823 for ; Tue, 28 Jan 2014 19:01:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 62CF118854 for ; Tue, 28 Jan 2014 19:01:52 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1386609850.5f7e68e99c5a706b64fd00d7dfc0f55261c58905.bicatali@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/plasma/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/plasma/plasma-2.4.6.ebuild sci-libs/plasma/plasma-2.5.1.ebuild sci-libs/plasma/plasma-2.5.2.ebuild X-VCS-Directories: sci-libs/plasma/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: 5f7e68e99c5a706b64fd00d7dfc0f55261c58905 X-VCS-Branch: master Date: Tue, 28 Jan 2014 19:01:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b0acfac6-6c90-4af2-8159-01467ee5f864 X-Archives-Hash: 65a08633b68a76607057db87407300c7 commit: 5f7e68e99c5a706b64fd00d7dfc0f55261c58905 Author: Sébastien Fabbro gentoo org> AuthorDate: Mon Dec 9 17:24:10 2013 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Mon Dec 9 17:24:10 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5f7e68e9 fixed src_prepare for reflapacke --- sci-libs/plasma/plasma-2.4.6.ebuild | 125 --------------------- .../{plasma-2.5.1.ebuild => plasma-2.5.2.ebuild} | 0 2 files changed, 125 deletions(-) diff --git a/sci-libs/plasma/plasma-2.4.6.ebuild b/sci-libs/plasma/plasma-2.4.6.ebuild deleted file mode 100644 index e3bd016..0000000 --- a/sci-libs/plasma/plasma-2.4.6.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 -inherit eutils fortran-2 toolchain-funcs versionator multilib - -MYP=${PN}_${PV} - -DESCRIPTION="Parallel Linear Algebra for Scalable Multi-core Architecture" -HOMEPAGE="http://icl.cs.utk.edu/plasma/" -SRC_URI="http://icl.cs.utk.edu/projectsfiles/plasma/pubs/${MYP}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples fortran static-libs test" - -RDEPEND=" - sys-apps/hwloc - virtual/blas - virtual/cblas - virtual/lapack - virtual/lapacke" -DEPEND="${RDEPEND} - virtual/pkgconfig - test? ( sci-libs/lapacke-reference[tmg] )" - -S="${WORKDIR}/${MYP}" - -# TODO: virtual/{blas,cblas,lapack} serial and threaded. plasma works properly -# with serial blas/lapack (see README). not doable dynamically with atlas - -static_to_shared() { - local libstatic=${1}; shift - local libname=$(basename ${libstatic%.a}) - local soname=${libname}$(get_libname $(get_version_component_range 1-2)) - local libdir=$(dirname ${libstatic}) - - einfo "Making ${soname} from ${libstatic}" - if [[ ${CHOST} == *-darwin* ]] ; then - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -dynamiclib -install_name "${EPREFIX}"/usr/lib/"${soname}" \ - -Wl,-all_load -Wl,${libstatic} \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - else - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -shared -Wl,-soname=${soname} \ - -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - [[ $(get_version_component_count) -gt 1 ]] && \ - ln -s ${soname} ${libdir}/${libname}$(get_libname $(get_major_version)) - ln -s ${soname} ${libdir}/${libname}$(get_libname) - fi -} - -src_prepare() { - # distributed pc file not so useful - cat <<-EOF > ${PN}.pc - prefix=${EPREFIX}/usr - libdir=\${prefix}/$(get_libdir) - includedir=\${prefix}/include/${PN} - Name: ${PN} - Description: ${DESCRIPTION} - Version: ${PV} - URL: ${HOMEPAGE} - Libs: -L\${libdir} -lplasma -lcoreblas -lquark - Libs.private: -lm - Cflags: -I\${includedir} - Requires: blas cblas lapack lapacke hwloc - EOF -} - -src_configure() { - cat <<-EOF > make.inc - ARCH = $(tc-getAR) - ARCHFLAGS = cr - RANLIB = $(tc-getRANLIB) - CC = $(tc-getCC) - FC = $(tc-getFC) - CFLAGS = ${CFLAGS} -DADD_ -fPIC - FFLAGS = ${FFLAGS} -fPIC - LOADER = $(tc-getFC) - LIBBLAS = $($(tc-getPKG_CONFIG) --libs blas) - LIBCBLAS = $($(tc-getPKG_CONFIG) --libs cblas) - LIBLAPACK = $($(tc-getPKG_CONFIG) --libs lapack) - LIBCLAPACK = $($(tc-getPKG_CONFIG) --libs lapacke) - $(use fortran && echo "PLASMA_F90 = 1") - EOF -} - -src_compile() { - emake lib - static_to_shared quark/libquark.a $($(tc-getPKG_CONFIG --libs hwloc)) -pthread - static_to_shared lib/libcoreblas.a quark/libquark.so $($(tc-getPKG_CONFIG --libs cblas lapacke)) - static_to_shared lib/libplasma.a quark/libquark.so lib/libcoreblas.so - if use static-libs; then - emake cleanall - sed 's/-fPIC//g' make.inc - emake lib - fi -} - -src_test() { - emake test - cd testing - LD_LIBRARY_PATH="../lib:../quark:${LD_LIBRARY_PATH}" ./plasma_testing.py || die -} - -src_install() { - dolib.so lib/lib*$(get_libname)* quark/libquark$(get_libname)* - use static-libs && dolib.a lib/lib*.a quark/libquark.a - insinto /usr/include/${PN} - doins quark/quark{,_unpack_args}.h quark/icl_{hash,list}.h include/*.h - use fortran && doins include/*.mod - insinto /usr/$(get_libdir)/pkgconfig - doins ${PN}.pc - dodoc README ToDo ReleaseNotes - use doc && dodoc docs/pdf/*.pdf && dohtml docs/doxygen/out/html/* - if use examples; then - emake -C examples cleanall - insinto /usr/share/doc/${PF} - doins -r examples - fi -} diff --git a/sci-libs/plasma/plasma-2.5.1.ebuild b/sci-libs/plasma/plasma-2.5.2.ebuild similarity index 100% rename from sci-libs/plasma/plasma-2.5.1.ebuild rename to sci-libs/plasma/plasma-2.5.2.ebuild