From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/acml/
Date: Sat, 2 Sep 2017 11:39:56 +0000 (UTC) [thread overview]
Message-ID: <1504352316.67d5b721e228dc4f42274cc4326897717a96f887.soap@gentoo> (raw)
commit: 67d5b721e228dc4f42274cc4326897717a96f887
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 2 11:38:36 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Sep 2 11:38:36 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=67d5b721
sci-libs/acml: Already removed from main tree
sci-libs/acml/acml-5.3.1.ebuild | 112 ----------------------------------
sci-libs/acml/acml-6.1.0.31-r1.ebuild | 98 -----------------------------
sci-libs/acml/acml-6.1.0.31.ebuild | 98 -----------------------------
sci-libs/acml/metadata.xml | 27 --------
4 files changed, 335 deletions(-)
diff --git a/sci-libs/acml/acml-5.3.1.ebuild b/sci-libs/acml/acml-5.3.1.ebuild
deleted file mode 100644
index 62f103ff4..000000000
--- a/sci-libs/acml/acml-5.3.1.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib toolchain-funcs versionator alternatives-2 fortran-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 amd64 CPUs"
-HOMEPAGE="http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/acml-downloads-resources/"
-
-# here we go for the url mess
-FCOMP64=""
-URI="http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/acml-downloads-resources/"
-for fcomp in gfortran ifort open64 pgi; do
- FCOMP64="${FCOMP64} ${fcomp}? ( ${URI}/${MYP}-${fcomp}-64bit.tgz
- int64? ( ${URI}/${MYP}-${fcomp}-64bit-int64.tgz ) )"
-done
-SRC_URI="
- amd64? ( ${FCOMP64}
- !gfortran? ( !ifort? ( !open64? ( !pgi? (
- ${URI}/${MYP}-gfortran-64bit.tgz
- int64? ( ${URI}/${MYP}-gfortran-64bit-int64.tgz ) ) ) ) ) )"
-
-LICENSE="ACML-EULA"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~amd64-linux"
-IUSE="doc examples cpu_flags_x86_fma4 gfortran ifort int64 open64 openmp pgi static-libs test"
-RESTRICT="fetch strip mirror"
-
-DEPEND=""
-RDEPEND=""
-
-S="${WORKDIR}"
-
-src_unpack() {
- unpack ${A}
- unpack ./contents-acml-*.tgz
- use openmp || rm -rf *_mp*
- use cpu_flags_x86_fma4 || rm -rf *_fma*
-}
-
-src_test() {
- local fdir d
- for fdir in */examples; do
- einfo "Testing acml in ${fdir}"
- pushd ${fdir} > /dev/null
- emake ACMLDIR="${S}/${fdir%/examples}"
- emake clean
- popd > /dev/null
- done
-}
-
-src_install() {
- # install libraries, pkgconfig file and eselect files for each profile
- local prof libs fdir libdir=$(get_libdir) x
- for fdir in */lib; do
- fdir=$(dirname ${fdir})
- prof=acml-$(echo ${fdir} | sed \
- -e 's:mp:openmp:' \
- -e 's:_:-:g')
- use examples || rm -r ${fdir}/examples
- use static-libs || rm ${fdir}/lib/*.a
- dodir /${ACML_INST_DIR}
- cp -pPR ${fdir} "${ED}"/${ACML_INST_DIR} || die
- libs="$(find ${fdir} -name \*.so -printf '%f ' | sed -e 's:lib:-l:g' -e 's:\.so::g')"
- cat <<-EOF > ${prof}.pc
- prefix=${EROOT}/${ACML_INST_DIR}/${fdir}
- libdir=\${prefix}/lib
- includedir=\${prefix}/include
- Name: ${prof}
- Description: ${DESCRIPTION}
- Version: ${PV}
- URL: ${HOMEPAGE}
- Libs: -L\${libdir} ${libs}
- Libs.private: -lm -lrt ${threads}
- Cflags: -I\${includedir}
- EOF
- 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
- done
-
- echo > 35acml "LDPATH=${EROOT}/${ACML_INST_DIR}/${libdir}"
- doenvd 35acml
-
- # default profile: first one matching use flags
- local opts=gfortran
- for fdir in ifort open64 pgi; do
- use ${fdir} && opts=${fdir}
- done
- opts+="64"
- use cpu_flags_x86_fma4 && opts+="_fma4"
- use openmp && opts+="_mp"
- use int64 && opts+="_int64"
- dosym $(ls -1d */lib | grep ${opts}) /${ACML_INST_DIR}/${libdir}
-
- 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* || die
- use doc || rm -r Doc/*.pdf Doc/acml.html Doc/html
- doins -r Doc ReleaseNotes*
-}
diff --git a/sci-libs/acml/acml-6.1.0.31-r1.ebuild b/sci-libs/acml/acml-6.1.0.31-r1.ebuild
deleted file mode 100644
index e68935e1a..000000000
--- a/sci-libs/acml/acml-6.1.0.31-r1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib toolchain-funcs versionator alternatives-2 fortran-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 amd64 CPUs"
-HOMEPAGE="http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/"
-CURI="http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/acml-downloads-resources/#download"
-SRC_URI="${P}-gfortran64.tgz"
-
-LICENSE="ACML-EULA"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~amd64-linux"
-IUSE="doc examples test"
-RESTRICT="strip mirror fetch"
-
-DEPEND=""
-RDEPEND="virtual/opencl"
-
-S="${WORKDIR}"
-
-pkg_nofetch() {
- einfo "Please download"
- einfo "$SRC_URI"
- einfo " ${CURI} and place it in ${DISTDIR}"
-}
-
-src_unpack() {
- unpack ${A}
- use openmp || rm -rf *_mp*
-}
-
-src_test() {
- local fdir d
- for fdir in */examples; do
- einfo "Testing acml in ${fdir}"
- pushd ${fdir} > /dev/null
- emake ACMLDIR="${S}/${fdir%/examples}"
- emake clean
- popd > /dev/null
- done
-}
-
-src_install() {
- # install libraries, pkgconfig file and eselect files for each profile
- local prof libs fdir libdir=$(get_libdir) x
- for fdir in */lib; do
- fdir=$(dirname ${fdir})
- prof=acml-$(echo ${fdir} | sed \
- -e 's:mp:openmp:' \
- -e 's:_:-:g')
- use examples || rm -r ${fdir}/examples
- dodir /${ACML_INST_DIR}
- cp -pPR ${fdir} "${ED}"/${ACML_INST_DIR} || die
- libs="$(find ${fdir} -name \*.so -printf '%f ' | sed -e 's:lib:-l:g' -e 's:\.so::g')"
- cat <<-EOF > ${prof}.pc
- prefix=${EROOT}/${ACML_INST_DIR}/${fdir}
- libdir=\${prefix}/lib
- includedir=\${prefix}/include
- Name: ${prof}
- Description: ${DESCRIPTION}
- Version: ${PV}
- URL: ${HOMEPAGE}
- Libs: -L\${libdir} ${libs}
- Libs.private: -lm -lrt ${threads}
- Cflags: -I\${includedir}
- EOF
- 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
- done
-
- echo > 35acml "LDPATH=${EROOT}/${ACML_INST_DIR}/${libdir}"
- doenvd 35acml
-
- # default profile: first one matching use flags
- local opts=gfortran64
- use openmp && opts+="_mp"
- dosym $(ls -1d */lib | grep ${opts}) /${ACML_INST_DIR}/${libdir}
-
- 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* || die
- use doc || rm -r Doc/*.pdf Doc/acml.html Doc/html
- doins -r Doc ReleaseNotes*
-}
diff --git a/sci-libs/acml/acml-6.1.0.31.ebuild b/sci-libs/acml/acml-6.1.0.31.ebuild
deleted file mode 100644
index 35af17196..000000000
--- a/sci-libs/acml/acml-6.1.0.31.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib toolchain-funcs versionator alternatives-2 fortran-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 amd64 CPUs"
-HOMEPAGE="http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/"
-CURI="http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/acml-downloads-resources/#download"
-SRC_URI="${P}-gfortran64.tgz"
-
-LICENSE="ACML-EULA"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~amd64-linux"
-IUSE="doc examples test"
-RESTRICT="strip mirror fetch"
-
-DEPEND=""
-RDEPEND=""
-
-S="${WORKDIR}"
-
-pkg_nofetch() {
- einfo "Please download"
- einfo "$SRC_URI"
- einfo " ${CURI} and place it in ${DISTDIR}"
-}
-
-src_unpack() {
- unpack ${A}
- use openmp || rm -rf *_mp*
-}
-
-src_test() {
- local fdir d
- for fdir in */examples; do
- einfo "Testing acml in ${fdir}"
- pushd ${fdir} > /dev/null
- emake ACMLDIR="${S}/${fdir%/examples}"
- emake clean
- popd > /dev/null
- done
-}
-
-src_install() {
- # install libraries, pkgconfig file and eselect files for each profile
- local prof libs fdir libdir=$(get_libdir) x
- for fdir in */lib; do
- fdir=$(dirname ${fdir})
- prof=acml-$(echo ${fdir} | sed \
- -e 's:mp:openmp:' \
- -e 's:_:-:g')
- use examples || rm -r ${fdir}/examples
- dodir /${ACML_INST_DIR}
- cp -pPR ${fdir} "${ED}"/${ACML_INST_DIR} || die
- libs="$(find ${fdir} -name \*.so -printf '%f ' | sed -e 's:lib:-l:g' -e 's:\.so::g')"
- cat <<-EOF > ${prof}.pc
- prefix=${EROOT}/${ACML_INST_DIR}/${fdir}
- libdir=\${prefix}/lib
- includedir=\${prefix}/include
- Name: ${prof}
- Description: ${DESCRIPTION}
- Version: ${PV}
- URL: ${HOMEPAGE}
- Libs: -L\${libdir} ${libs}
- Libs.private: -lm -lrt ${threads}
- Cflags: -I\${includedir}
- EOF
- 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
- done
-
- echo > 35acml "LDPATH=${EROOT}/${ACML_INST_DIR}/${libdir}"
- doenvd 35acml
-
- # default profile: first one matching use flags
- local opts=gfortran64
- use openmp && opts+="_mp"
- dosym $(ls -1d */lib | grep ${opts}) /${ACML_INST_DIR}/${libdir}
-
- 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* || die
- use doc || rm -r 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
deleted file mode 100644
index 90ed0116b..000000000
--- a/sci-libs/acml/metadata.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
-</maintainer>
-<longdescription lang="en">
- The AMD(R) Core Math Library provides an implementation of the "Basic
- Linear Algebra Subprograms" (BLAS) and the "Linear Algebra PACKage"
- (LAPACK) as well as a set of "Fast Fourier Transformation" (FFT)
- routines, all highly optimized for AMD(R) x86 and amd64 CPUs.
-</longdescription>
-<longdescription lang="de">
- Die AMD(R) Core Math Library ist ein Ersatz für die "Basic Linear
- Algebra Subprograms" (BLAS) und das "Linear Algebra PACKage" (LAPACK).
- Außerdem enthält sie Routinen zur "Fast Fourier Tranformation" (FFT).
- Alle Routinen sind hoch optimiert für AMD(R) x86 und amd64 CPUs.
-</longdescription>
-<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="int64">Install the 64 bits integer library</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>
-</use>
-</pkgmetadata>
next reply other threads:[~2017-09-02 11:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-02 11:39 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-06-10 18:48 [gentoo-commits] proj/sci:master commit in: sci-libs/acml/ 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-12-13 0:10 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=1504352316.67d5b721e228dc4f42274cc4326897717a96f887.soap@gentoo \
--to=soap@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