From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/acml/
Date: Thu, 13 Dec 2012 00:10:10 +0000 (UTC) [thread overview]
Message-ID: <1355352462.7ac1e10dd94e8eab10a2ddb2373cd259471e738f.bicatali@gentoo> (raw)
commit: 7ac1e10dd94e8eab10a2ddb2373cd259471e738f
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 12 22:47:42 2012 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed Dec 12 22:47:42 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7ac1e10d
sci-libs/acml: Removed old
Package-Manager: portage-2.2.01.21418-prefix
---
sci-libs/acml/ChangeLog | 4 +
sci-libs/acml/acml-4.4.0-r1.ebuild | 121 ------------------------------------
sci-libs/acml/metadata.xml | 1 -
3 files changed, 4 insertions(+), 122 deletions(-)
diff --git a/sci-libs/acml/ChangeLog b/sci-libs/acml/ChangeLog
index d59bce9..9016da2 100644
--- a/sci-libs/acml/ChangeLog
+++ b/sci-libs/acml/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/acml/ChangeLog,v 1.40 2009/07/07 23:27:59 flameeyes Exp $
+ 12 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org> -acml-4.4.0-r1.ebuild,
+ metadata.xml:
+ sci-libs/acml: Removed old
+
*acml-5.2.0 (29 Sep 2012)
29 Sep 2012; Sébastien Fabbro <bicatali@gentoo.org> +acml-5.2.0.ebuild,
diff --git a/sci-libs/acml/acml-4.4.0-r1.ebuild b/sci-libs/acml/acml-4.4.0-r1.ebuild
deleted file mode 100644
index 65fcc3d..0000000
--- a/sci-libs/acml/acml-4.4.0-r1.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit eutils multilib toolchain-funcs versionator alternatives-2
-
-ACML_INST_DIR=opt/${PN}${PV}
-QA_PREBUILT="${ACML_INST_DIR}/*/lib/*"
-
-MYP=${PN}-$(replace_all_version_separators -)
-
-DESCRIPTION="AMD Core Math Library for x86 and amd64 CPUs"
-HOMEPAGE="http://developer.amd.com/cpu/libraries/acml/Pages/default.aspx"
-
-# here we go for the url mess
-FCOMP32="" FCOMP64=""
-URI="http://download2-developer.amd.com/amd/ACML"
-for fcomp in gfortran ifort nag pgi; do
- FCOMP32="${FCOMP32} ${fcomp}? ( ${URI}/${MYP}-${fcomp}-32bit.tgz )"
-done
-for fcomp in gfortran ifort nag open64 pgi; do
- FCOMP64="${FCOMP64} ${fcomp}? ( ${URI}/${MYP}-${fcomp}-64bit.tgz
- int64? ( ${URI}/${MYP}-${fcomp}-64bit-int64.tgz ) )"
-done
-SRC_URI="
- x86? ( ${FCOMP32} !gfortran? ( !ifort? ( !nag? ( !pgi? (
- ${URI}/${MYP}-gfortran-32bit.tgz ) ) ) ) )
- amd64? ( ${FCOMP64} multilib? ( ${FCOMP32} )
- !gfortran? ( !ifort? ( !nag? ( !open64? ( !pgi? (
- ${URI}/${MYP}-gfortran-64bit.tgz
- multilib? ( ${URI}/${MYP}-gfortran-32bit.tgz )
- int64? ( ${URI}/${MYP}-gfortran-64bit-int64.tgz ) ) ) ) ) ) )"
-
-LICENSE="ACML"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="doc examples int64 multilib openmp static-libs test gfortran ifort nag open64 pgi"
-RESTRICT="strip mirror"
-
-DEPEND="test? ( virtual/fortran )"
-RDEPEND="virtual/fortran"
-
-S="${WORKDIR}"
-
-src_unpack() {
- unpack ${A}
- unpack ./contents-acml-*.tgz
- use openmp || rm -rf *_mp
-}
-
-src_test() {
- local fdir d
- for fdir in */examples; do
- einfo "Testing acml in ${fdir}"
- for d in . acml_mv; do
- pushd ${fdir}/${d} > /dev/null
- emake ACMLDIR="${S}/${fdir%/examples}"
- emake clean
- popd > /dev/null
- done
- done
-}
-
-src_install() {
- # install libraries, pkgconfig file and eselect files for each profile
- # fdef will be the default (gfortran if available) to be in path
- local prof libs fdir libdir x fdef
- for fdir in */lib; do
- fdir=$(dirname ${fdir})
- prof=acml$(echo ${fdir} | sed \
- -e 's:mp:openmp:' \
- -e 's:_:-:g' \
- -e 's:\([a-z]*\)\(32\|64\)\(-openmp\|\)\(-int64\|\):\2\4-\1\3:')
- use examples || rm -rf ${fdir}/examples
- use static-libs || rm -f ${fdir}/lib/*.a
- dodir /${ACML_INST_DIR}
- cp -pPR ${fdir} "${ED}"/${ACML_INST_DIR}
- libs="$(find ${fdir} -name \*.so -printf '%f ' | sed -e 's:lib:-l:g' -e 's:\.so::g')"
- cat <<-EOF > ${prof}.pc
- prefix=${EPREFIX}/${ACML_INST_DIR}/${fdir}
- libdir=\${prefix}/lib
- includedir=\${prefix}/include
- Name: ${prof}
- Description: ${DESCRIPTION}
- Version: ${PV}
- URL: ${HOMEPAGE}
- Libs: -L\${libdir} ${libs}
- Cflags: -I\${includedir}
- EOF
- libdir=$(get_libdir)
- has_multilib_profile && [[ ${fdir} == *32* ]] && libdir=lib32
- insinto /usr/${libdir}/pkgconfig
- doins ${prof}.pc
- for x in blas lapack; do
- alternatives_for ${x} ${prof} 0 \
- /usr/${libdir}/pkgconfig/${x}.pc ${prof}.pc \
- /${ACML_INST_DIR}/${libdir} ${fdir}/lib
- done
- [[ ${fdef} = gfortran${libdir#lib} ]] || fdef=${fdir}
- done
-
- # install env file
- use openmp && [[ ${fdef} != *_mp ]] && fdef=${fdef}_mp
- echo -n > 35acml "LDPATH=${EPREFIX}/${ACML_INST_DIR}/$(get_libdir)"
- dosym ${fdef}/lib /${ACML_INST_DIR}/$(get_libdir)
- if has_multilib_profile; then
- dosym ${fdef/64/32}/lib /${ACML_INST_DIR}/lib32
- echo -n >> 35acml ":${EPREFIX}/${ACML_INST_DIR}/lib32"
- fi
- echo >> 35acml
- doenvd 35acml
-
- insinto /${ACML_INST_DIR}
- # info files go to standard /usr/share/info to avoid more env variables
- doinfo Doc/*info*
- rm Doc/*EULA* Doc/*info*
- use doc || rm -rf Doc/*.pdf Doc/acml.html Doc/html
- doins -r Doc ReleaseNotes*
-}
diff --git a/sci-libs/acml/metadata.xml b/sci-libs/acml/metadata.xml
index b74951d..0d6d48c 100644
--- a/sci-libs/acml/metadata.xml
+++ b/sci-libs/acml/metadata.xml
@@ -17,7 +17,6 @@
<use>
<flag name='gfortran'>Fetch and install acml compiled with GNU FORTRAN compiler</flag>
<flag name='ifort'>Fetch and install acml compiled with the Intel FORTRAN compiler</flag>
- <flag name='nag'>Fetch and install acml compiled with the NAG FORTRAN compiler</flag>
<flag name='pgi'>Fetch and install acml compiled with the Portland Group FORTRAN compiler</flag>
<flag name='open64'>Fetch and install acml compiled with the Open64 FORTRAN Compiler</flag>
<flag name='int64'>Install the 64 bits integer library</flag>
next reply other threads:[~2012-12-13 0:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-13 0:10 Sebastien Fabbro [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-09-02 11:39 [gentoo-commits] proj/sci:master commit in: sci-libs/acml/ David Seifert
2017-06-10 18:48 Andrew Savchenko
2017-04-21 20:21 Christoph Junghans
2016-08-31 7:02 Marius Brehler
2015-03-23 8:10 Justin Lecher
2015-02-02 12:06 Justin Lecher
2015-02-02 12:06 Justin Lecher
2015-02-02 12:06 Justin Lecher
2015-01-22 0:09 Christoph Junghans
2013-07-18 22:30 Sebastien Fabbro
2013-03-03 18:39 Sebastien Fabbro
2013-01-24 19:47 Sebastien Fabbro
2012-09-29 23:23 Sebastien Fabbro
2012-01-24 21:50 Sebastien Fabbro
2011-08-22 19:26 Sebastien Fabbro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1355352462.7ac1e10dd94e8eab10a2ddb2373cd259471e738f.bicatali@gentoo \
--to=bicatali@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox