diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-libs/blas-reference | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-libs/blas-reference')
9 files changed, 472 insertions, 0 deletions
diff --git a/sci-libs/blas-reference/Manifest b/sci-libs/blas-reference/Manifest new file mode 100644 index 000000000000..d8ee8dc42400 --- /dev/null +++ b/sci-libs/blas-reference/Manifest @@ -0,0 +1 @@ +DIST lapack-lite-3.1.1.tgz 5332509 SHA256 505a13272d0d71c45ea52be2de74b0562b234ea3ccf5160665c7a2ee74a58437 SHA512 492b932ef313339ce6b4e63ac8f778489e6870b0eb85f7b086f3c844e75f98e7f85382c7556dfa368ab8320b6f02d1df8ccfcb40b5c0b7c2d74518b7c309e75c WHIRLPOOL 11145043d16b8c2972229e17a24e92e62987c08e84d91b81a7f4767b80f13844faffb2a2798b321a78c7127d849a0fd60cbb1605f03e150b4eaa6c230f0e7fdd diff --git a/sci-libs/blas-reference/blas-reference-20070226-r2.ebuild b/sci-libs/blas-reference/blas-reference-20070226-r2.ebuild new file mode 100644 index 000000000000..6c6e0a9e373b --- /dev/null +++ b/sci-libs/blas-reference/blas-reference-20070226-r2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit eutils fortran-2 autotools multilib flag-o-matic toolchain-funcs + +LAPACKPV="3.1.1" +LAPACKPN="lapack-lite" + +DESCRIPTION="Basic Linear Algebra Subprograms F77 reference implementations" +HOMEPAGE="http://www.netlib.org/blas/" +SRC_URI="http://www.netlib.org/lapack/${LAPACKPN}-${LAPACKPV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" +IUSE="doc" + +DEPEND="app-eselect/eselect-blas" +RDEPEND="${DEPEND} + doc? ( app-doc/blas-docs )" + +S="${WORKDIR}/${LAPACKPN}-${LAPACKPV}" + +src_prepare() { + ESELECT_PROF=reference + epatch \ + "${FILESDIR}"/${P}-autotool.patch \ + "${FILESDIR}"/${P}-pkg-config.patch + eautoreconf + + cp "${FILESDIR}"/eselect.blas.reference "${T}"/ + sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.blas.reference || die + if [[ ${CHOST} == *-darwin* ]] ; then + sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \ + "${T}"/eselect.blas.reference || die + fi +} + +src_configure() { + econf \ + --libdir="${EPREFIX}"/usr/$(get_libdir)/blas/reference +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + eselect blas add $(get_libdir) "${T}"/eselect.blas.reference ${ESELECT_PROF} +} + +pkg_postinst() { + local p=blas + local current_lib=$(eselect ${p} show | cut -d' ' -f2) + if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then + # work around eselect bug #189942 + local configfile="${EROOT}"/etc/env.d/${p}/$(get_libdir)/config + [[ -e ${configfile} ]] && rm -f ${configfile} + eselect ${p} set ${ESELECT_PROF} + elog "${p} has been eselected to ${ESELECT_PROF}" + else + elog "Current eselected ${p} is ${current_lib}" + elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):" + elog "\t eselect ${p} set ${ESELECT_PROF}" + fi +} diff --git a/sci-libs/blas-reference/blas-reference-20070226-r3.ebuild b/sci-libs/blas-reference/blas-reference-20070226-r3.ebuild new file mode 100644 index 000000000000..6317d3d99dd4 --- /dev/null +++ b/sci-libs/blas-reference/blas-reference-20070226-r3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit eutils fortran-2 autotools multilib flag-o-matic toolchain-funcs + +LAPACKPV="3.1.1" +LAPACKPN="lapack-lite" + +DESCRIPTION="Basic Linear Algebra Subprograms F77 reference implementations" +HOMEPAGE="http://www.netlib.org/blas/" +SRC_URI="http://www.netlib.org/lapack/${LAPACKPN}-${LAPACKPV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="doc" + +DEPEND="app-eselect/eselect-blas" +RDEPEND="${DEPEND} + doc? ( app-doc/blas-docs )" + +S="${WORKDIR}/${LAPACKPN}-${LAPACKPV}" + +src_prepare() { + ESELECT_PROF=reference + epatch \ + "${FILESDIR}"/${P}-autotool.patch \ + "${FILESDIR}"/${P}-pkg-config.patch + eautoreconf + + cp "${FILESDIR}"/eselect.blas.reference-ng "${T}"/eselect.blas.reference || die + sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.blas.reference || die + if [[ ${CHOST} == *-darwin* ]] ; then + sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \ + "${T}"/eselect.blas.reference || die + fi +} + +src_configure() { + econf \ + --libdir="${EPREFIX}"/usr/$(get_libdir)/blas/reference +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + eselect blas add $(get_libdir) "${T}"/eselect.blas.reference ${ESELECT_PROF} +} + +pkg_postinst() { + local p=blas + local current_lib=$(eselect ${p} show | cut -d' ' -f2) + if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then + # work around eselect bug #189942 + local configfile="${EROOT}"/etc/env.d/${p}/$(get_libdir)/config + [[ -e ${configfile} ]] && rm -f ${configfile} + eselect ${p} set ${ESELECT_PROF} + elog "${p} has been eselected to ${ESELECT_PROF}" + else + elog "Current eselected ${p} is ${current_lib}" + elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):" + elog "\t eselect ${p} set ${ESELECT_PROF}" + fi +} diff --git a/sci-libs/blas-reference/blas-reference-20070226.ebuild b/sci-libs/blas-reference/blas-reference-20070226.ebuild new file mode 100644 index 000000000000..b062b5b6a6f5 --- /dev/null +++ b/sci-libs/blas-reference/blas-reference-20070226.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils fortran-2 autotools multilib flag-o-matic toolchain-funcs + +LAPACKPV="3.1.1" +LAPACKPN="lapack-lite" + +DESCRIPTION="Basic Linear Algebra Subprograms F77 reference implementations" +HOMEPAGE="http://www.netlib.org/blas/" +SRC_URI="http://www.netlib.org/lapack/${LAPACKPN}-${LAPACKPV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86 ~x86-fbsd" +IUSE="doc" + +DEPEND="app-eselect/eselect-blas" +RDEPEND="${DEPEND} + doc? ( app-doc/blas-docs )" + +S="${WORKDIR}/${LAPACKPN}-${LAPACKPV}" + +src_unpack() { + ESELECT_PROF=reference + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-autotool.patch + eautoreconf +} + +src_compile() { + econf \ + --libdir=/usr/$(get_libdir)/blas/reference + emake LDFLAGS="${LDFLAGS}" || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas.reference ${ESELECT_PROF} +} + +pkg_postinst() { + local p=blas + local current_lib=$(eselect ${p} show | cut -d' ' -f2) + if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then + # work around eselect bug #189942 + local configfile="${ROOT}"/etc/env.d/${p}/$(get_libdir)/config + [[ -e ${configfile} ]] && rm -f ${configfile} + eselect ${p} set ${ESELECT_PROF} + elog "${p} has been eselected to ${ESELECT_PROF}" + else + elog "Current eselected ${p} is ${current_lib}" + elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):" + elog "\t eselect ${p} set ${ESELECT_PROF}" + fi +} diff --git a/sci-libs/blas-reference/files/blas-reference-20070226-autotool.patch b/sci-libs/blas-reference/files/blas-reference-20070226-autotool.patch new file mode 100644 index 000000000000..8d8192fc0254 --- /dev/null +++ b/sci-libs/blas-reference/files/blas-reference-20070226-autotool.patch @@ -0,0 +1,243 @@ +--- configure.ac 1970-01-01 01:00:00.000000000 +0100 ++++ configure.ac 2007-07-16 10:14:29.000000000 +0100 +@@ -0,0 +1,14 @@ ++AC_PREREQ(2.59) ++AC_INIT(blas, 20070226, lapack@cs.utk.edu) ++AM_INIT_AUTOMAKE([foreign]) ++ ++AC_LANG(Fortran 77) ++AC_PROG_F77 ++AC_PROG_LIBTOOL ++ ++AC_CONFIG_FILES([Makefile ++ BLAS/Makefile ++ BLAS/SRC/Makefile ++ BLAS/TESTING/Makefile ++ BLAS/blas.pc]) ++AC_OUTPUT +--- Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Makefile.am 2007-07-16 01:51:11.000000000 +0100 +@@ -0,0 +1 @@ ++SUBDIRS = BLAS +--- BLAS/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ BLAS/Makefile.am 2007-08-14 11:38:42.000000000 +0100 +@@ -0,0 +1,7 @@ ++SUBDIRS = SRC TESTING ++ ++pkgconfigdir = $(libdir) ++pkgconfig_DATA = blas.pc ++ ++EXTRA = blas.pc ++ +--- BLAS/blas.pc.in 1970-01-01 01:00:00.000000000 +0100 ++++ BLAS/blas.pc.in 2007-08-17 11:38:23.000000000 +0100 +@@ -0,0 +1,11 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: @PACKAGE_NAME@ ++Description: Basic Linear Algebra Subprograms F77 reference implementations ++Version: @PACKAGE_VERSION@ ++URL: http://www.netlib.org/blas ++Libs: -lblas ++Libs.private: -lm +--- BLAS/SRC/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ BLAS/SRC/Makefile.am 2007-07-16 01:50:12.000000000 +0100 +@@ -0,0 +1,153 @@ ++lib_LTLIBRARIES = libblas.la ++ ++libblas_la_SOURCES = \ ++ caxpy.f \ ++ ccopy.f \ ++ cdotc.f \ ++ cdotu.f \ ++ cgbmv.f \ ++ cgemm.f \ ++ cgemv.f \ ++ cgerc.f \ ++ cgeru.f \ ++ chbmv.f \ ++ chemm.f \ ++ chemv.f \ ++ cher2.f \ ++ cher2k.f \ ++ cher.f \ ++ cherk.f \ ++ chpmv.f \ ++ chpr2.f \ ++ chpr.f \ ++ crotg.f \ ++ cscal.f \ ++ csrot.f \ ++ csscal.f \ ++ cswap.f \ ++ csymm.f \ ++ csyr2k.f \ ++ csyrk.f \ ++ ctbmv.f \ ++ ctbsv.f \ ++ ctpmv.f \ ++ ctpsv.f \ ++ ctrmm.f \ ++ ctrmv.f \ ++ ctrsm.f \ ++ ctrsv.f \ ++ dasum.f \ ++ daxpy.f \ ++ dcabs1.f \ ++ dcopy.f \ ++ ddot.f \ ++ dgbmv.f \ ++ dgemm.f \ ++ dgemv.f \ ++ dger.f \ ++ dnrm2.f \ ++ drot.f \ ++ drotg.f \ ++ drotm.f \ ++ drotmg.f \ ++ dsbmv.f \ ++ dscal.f \ ++ dsdot.f \ ++ dspmv.f \ ++ dspr2.f \ ++ dspr.f \ ++ dswap.f \ ++ dsymm.f \ ++ dsymv.f \ ++ dsyr2.f \ ++ dsyr2k.f \ ++ dsyr.f \ ++ dsyrk.f \ ++ dtbmv.f \ ++ dtbsv.f \ ++ dtpmv.f \ ++ dtpsv.f \ ++ dtrmm.f \ ++ dtrmv.f \ ++ dtrsm.f \ ++ dtrsv.f \ ++ dzasum.f \ ++ dznrm2.f \ ++ icamax.f \ ++ idamax.f \ ++ isamax.f \ ++ izamax.f \ ++ lsame.f \ ++ scabs1.f \ ++ sasum.f \ ++ saxpy.f \ ++ scasum.f \ ++ scnrm2.f \ ++ scopy.f \ ++ sdot.f \ ++ sdsdot.f \ ++ sgbmv.f \ ++ sgemm.f \ ++ sgemv.f \ ++ sger.f \ ++ snrm2.f \ ++ srot.f \ ++ srotg.f \ ++ srotm.f \ ++ srotmg.f \ ++ ssbmv.f \ ++ sscal.f \ ++ sspmv.f \ ++ sspr2.f \ ++ sspr.f \ ++ sswap.f \ ++ ssymm.f \ ++ ssymv.f \ ++ ssyr2.f \ ++ ssyr2k.f \ ++ ssyr.f \ ++ ssyrk.f \ ++ stbmv.f \ ++ stbsv.f \ ++ stpmv.f \ ++ stpsv.f \ ++ strmm.f \ ++ strmv.f \ ++ strsm.f \ ++ strsv.f \ ++ xerbla.f \ ++ zaxpy.f \ ++ zcopy.f \ ++ zdotc.f \ ++ zdotu.f \ ++ zdrot.f \ ++ zdscal.f \ ++ zgbmv.f \ ++ zgemm.f \ ++ zgemv.f \ ++ zgerc.f \ ++ zgeru.f \ ++ zhbmv.f \ ++ zhemm.f \ ++ zhemv.f \ ++ zher2.f \ ++ zher2k.f \ ++ zher.f \ ++ zherk.f \ ++ zhpmv.f \ ++ zhpr2.f \ ++ zhpr.f \ ++ zrotg.f \ ++ zscal.f \ ++ zswap.f \ ++ zsymm.f \ ++ zsyr2k.f \ ++ zsyrk.f \ ++ ztbmv.f \ ++ ztbsv.f \ ++ ztpmv.f \ ++ ztpsv.f \ ++ ztrmm.f \ ++ ztrmv.f \ ++ ztrsm.f \ ++ ztrsv.f +--- BLAS/TESTING/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ BLAS/TESTING/Makefile.am 2007-07-16 01:50:12.000000000 +0100 +@@ -0,0 +1,27 @@ ++TESTS = blas_tests ++ ++blas_tests: ++ @install -m0755 blas_tests.sh blas_tests ++ ++check_PROGRAMS = \ ++ xsblat1 xdblat1 xcblat1 xzblat1 \ ++ xsblat2 xdblat2 xcblat2 xzblat2 \ ++ xsblat3 xdblat3 xcblat3 xzblat3 ++ ++LDADD = $(top_builddir)/BLAS/SRC/libblas.la ++ ++xsblat1_SOURCES = sblat1.f ++xdblat1_SOURCES = dblat1.f ++xcblat1_SOURCES = cblat1.f ++xzblat1_SOURCES = zblat1.f ++ ++xsblat2_SOURCES = sblat2.f ++xdblat2_SOURCES = dblat2.f ++xcblat2_SOURCES = cblat2.f ++xzblat2_SOURCES = zblat2.f ++ ++xsblat3_SOURCES = sblat3.f ++xdblat3_SOURCES = dblat3.f ++xcblat3_SOURCES = cblat3.f ++xzblat3_SOURCES = zblat3.f ++ +--- BLAS/TESTING/blas_tests.sh 1970-01-01 01:00:00.000000000 +0100 ++++ BLAS/TESTING/blas_tests.sh 2007-07-16 01:50:12.000000000 +0100 +@@ -0,0 +1,9 @@ ++#!/bin/sh ++ ++for t in cblat1 sblat1 dblat1 zblat1; do ++ ./x${t} ++done ++ ++for t in cblat2 sblat2 dblat2 zblat2 cblat3 sblat3 dblat3 zblat3; do ++ ./x${t} < ../${t}.in ++done diff --git a/sci-libs/blas-reference/files/blas-reference-20070226-pkg-config.patch b/sci-libs/blas-reference/files/blas-reference-20070226-pkg-config.patch new file mode 100644 index 000000000000..14190f41e7d5 --- /dev/null +++ b/sci-libs/blas-reference/files/blas-reference-20070226-pkg-config.patch @@ -0,0 +1,11 @@ +diff --git a/BLAS/blas.pc.in b/BLAS/blas.pc.in +index 367c87b..44b86db 100644 +--- a/BLAS/blas.pc.in ++++ b/BLAS/blas.pc.in +@@ -7,5 +7,5 @@ Name: @PACKAGE_NAME@ + Description: Basic Linear Algebra Subprograms F77 reference implementations + Version: @PACKAGE_VERSION@ + URL: http://www.netlib.org/blas +-Libs: -lblas ++Libs: -L@libdir@ -lblas + Libs.private: -lm diff --git a/sci-libs/blas-reference/files/eselect.blas.reference b/sci-libs/blas-reference/files/eselect.blas.reference new file mode 100644 index 000000000000..edb10ddd10d9 --- /dev/null +++ b/sci-libs/blas-reference/files/eselect.blas.reference @@ -0,0 +1,4 @@ +blas/reference/libblas.so /usr/@LIBDIR@/libblas.so +blas/reference/libblas.so.0 /usr/@LIBDIR@/libblas.so.0 +blas/reference/libblas.a /usr/@LIBDIR@/libblas.a +../blas/reference/blas.pc /usr/@LIBDIR@/pkgconfig/blas.pc diff --git a/sci-libs/blas-reference/files/eselect.blas.reference-ng b/sci-libs/blas-reference/files/eselect.blas.reference-ng new file mode 100644 index 000000000000..840389479fe2 --- /dev/null +++ b/sci-libs/blas-reference/files/eselect.blas.reference-ng @@ -0,0 +1 @@ +../blas/reference/blas.pc /usr/@LIBDIR@/pkgconfig/blas.pc diff --git a/sci-libs/blas-reference/metadata.xml b/sci-libs/blas-reference/metadata.xml new file mode 100644 index 000000000000..6d6f67c0371c --- /dev/null +++ b/sci-libs/blas-reference/metadata.xml @@ -0,0 +1,14 @@ +<?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 BLAS (Basic Linear Algebra Subprograms) are high quality "building +block" routines for performing basic vector and matrix operations. Level 1 +BLAS do vector-vector operations, Level 2 BLAS do matrix-vector operations, +and Level 3 BLAS do matrix-matrix operations. Because the BLAS are +efficient, portable, and widely available, they're commonly used in the +development of high quality linear algebra software, LAPACK for +example. This packages implements the reference FORTRAN 77 library. +</longdescription> +</pkgmetadata> |