aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2006-10-12 21:36:35 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2006-10-12 21:36:35 +0000
commitc5c98b2da8bfbeace05a0b27b0e997e4b2013b02 (patch)
treeacfebb7ba186deb43fe9f03807216b2cf620d13e /sci-libs/mkl
parentcfitsio: depends on cfortran (better between arches) (diff)
downloadsci-c5c98b2da8bfbeace05a0b27b0e997e4b2013b02.tar.gz
sci-c5c98b2da8bfbeace05a0b27b0e997e4b2013b02.tar.bz2
sci-c5c98b2da8bfbeace05a0b27b0e997e4b2013b02.zip
deleted mkl (now in main tree)
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@363 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-libs/mkl')
-rw-r--r--sci-libs/mkl/files/digest-mkl-8.0.1.0061
-rw-r--r--sci-libs/mkl/files/digest-mkl-8.0.2.0041
-rw-r--r--sci-libs/mkl/files/digest-mkl-8.1.0141
-rw-r--r--sci-libs/mkl/mkl-8.0.1.006.ebuild220
-rw-r--r--sci-libs/mkl/mkl-8.0.2.004.ebuild220
-rw-r--r--sci-libs/mkl/mkl-8.1.014.ebuild158
6 files changed, 0 insertions, 601 deletions
diff --git a/sci-libs/mkl/files/digest-mkl-8.0.1.006 b/sci-libs/mkl/files/digest-mkl-8.0.1.006
deleted file mode 100644
index 746017f06..000000000
--- a/sci-libs/mkl/files/digest-mkl-8.0.1.006
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0b8b4d1c59904cef106f78016a9b4f7a l_mkl_p_8.0.1.006.tgz 95069010
diff --git a/sci-libs/mkl/files/digest-mkl-8.0.2.004 b/sci-libs/mkl/files/digest-mkl-8.0.2.004
deleted file mode 100644
index f3e55ff13..000000000
--- a/sci-libs/mkl/files/digest-mkl-8.0.2.004
+++ /dev/null
@@ -1 +0,0 @@
-MD5 fd76dc20d94950ba9d865c3703b12051 l_mkl_p_8.0.2.004.tgz 94983122
diff --git a/sci-libs/mkl/files/digest-mkl-8.1.014 b/sci-libs/mkl/files/digest-mkl-8.1.014
deleted file mode 100644
index 5699fad65..000000000
--- a/sci-libs/mkl/files/digest-mkl-8.1.014
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c5af2e5a5cacf7f07cf0ad3c06e36497 l_mkl_p_8.1.014.tgz 114683047
diff --git a/sci-libs/mkl/mkl-8.0.1.006.ebuild b/sci-libs/mkl/mkl-8.0.1.006.ebuild
deleted file mode 100644
index 73131d404..000000000
--- a/sci-libs/mkl/mkl-8.0.1.006.ebuild
+++ /dev/null
@@ -1,220 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit fortran rpm flag-o-matic
-
-MYPV=${PV/.006/}
-DESCRIPTION="Intel(R) Math Kernel Library: linear algebra, fft, random number generators."
-HOMEPAGE="http://developer.intel.com/software/products/mkl/"
-SRC_URI="l_${PN}_p_${PV}.tgz"
-RESTRICT="nostrip fetch"
-
-#fortran95 implements a fortran 95 blas/lapack interface
-IUSE="fortran95 examples"
-SLOT="0"
-LICENSE="mkl-8.0.1"
-KEYWORDS="~x86 ~amd64 ~ia64"
-DEPEND="virtual/libc
- sci-libs/lapack-config
- sci-libs/blas-config"
-
-PROVIDE="virtual/blas
- virtual/lapack"
-
-
-S="${WORKDIR}/l_${PN}_p_${PV}"
-INSTDIR=opt/intel/${PN}/${MYPV}
-
-
-pkg_setup() {
-
- if use fortran95; then
- FORTRAN="ifc gfortran"
- fortran_pkg_setup
- fi
-
- if [ -z "${INTEL_LICENSE}" -a -z \
- $(find /opt/intel/licenses -name *mkl*.lic) ]; then
- eerror "Did not find any valid mkl license."
- eerror "Please locate your license file and run:"
- eerror "\t INTEL_LICENSE=/my/license/files emerge ${PN}"
- eerror "or place your license in /opt/intel/licenses and run emerge ${PN}"
- einfo
- einfo "http://www.intel.com/cd/software/products/asmo-na/eng/perflib/mkl/219859.htm"
- einfo "From the above url you can get a free, non-commercial"
- einfo "license to use the Intel Math Kernel Libary emailed to you."
- einfo "You cannot use mkl without this license file."
- einfo "Read the website for more information on this license."
- einfo
- fi
-}
-
-
-# the whole shmol is to extract rpm files non-interactively
-# from the big mkl installation
-# hopefully recyclable for ipp
-src_unpack() {
-
- ewarn
- ewarn "Intel ${PN} requires 200Mb of disk space"
- ewarn "Make sure you have enough space on /var and also in /opt/intel"
- ewarn
-
- unpack ${A}
-
- # fake rpm commands to trick the big install script
- mkdir -p bin
- echo "exit 1" > bin/rpm2cpio
- echo "exit 1" > bin/rpm
- chmod +x bin/*
- PATH=".:${PATH}:$PWD/bin"
-
- cd ${S}/install
- # answer file to make the big install script non-interactive
- echo $"
-[${PN}_install]
-EULA_ACCEPT_REJECT=accept
-FLEXLM_LICENSE_LOCATION=${INTEL_LICENSE}
-TEMP_DIR=${WORKDIR}/rpm
-INSTALL_DESTINATION=${S}
-RPM_INSTALLATION=
-" > answers.txt
-
- einfo "Building rpm file..."
- ./install \
- --noroot \
- --nonrpm \
- --installpath ${S} \
- --silent answers.txt &> /dev/null
-
- [ -z $(find ${WORKDIR} -name "*.rpm") ] \
- && die "error while extracting the rpm"
-
- rm -rf ${WORKDIR}/bin ${S}/*
-
- cd ${S}
- for x in $(ls ../rpm/*.rpm); do
- einfo "Extracting $(basename ${x})..."
- rpm_unpack ${x} || die "rpm_unpack failed"
- done
-
- # clean up
- rm -rf ${WORKDIR}/rpm
- rm -rf ${S}/${INSTDIR}/tools/environment
-}
-
-src_compile() {
-
- case ${ARCH} in
- amd64)
- IARCH="em64t"
- IKERN="em64t"
- ;;
- ia64)
- IARCH="64"
- IKERN="ipf"
- ;;
- x86)
- IARCH="32"
- IKERN="ia32"
- ;;
- esac
- ILIBDIR=${INSTDIR}/lib/${IARCH}
- einfo "IARCH=$IARCH IKERN=$IKERN"
-
- cd ${S}/${INSTDIR}/tools/builder
- for x in blas cblas lapack; do
- make ${IKERN} export=${FILESDIR}/${x}.list name=libmkl_${x} \
- || die "make ${IKERN} failed"
- done
-
- if use fortran95; then
- local fc=${FORTRANC}
- if [ "${FORTRANC}" = "ifc" ]; then
- fc=ifort
- fi
- for x in blas lapack; do
- cd ${S}/${INSTDIR}/interfaces/${x}95
- make lib \
- PLAT=lnx${IARCH/em64t/32e} \
- FC=${fc} \
- INSTALL_DIR=${S}/${ILIBDIR} || die "make lib failed"
- done
- fi
-}
-
-src_test() {
- local fc="gnu"
- [ "${FORTRANC}" = "ifc" ] && fc="ifort"
-
- cd ${S}/${INSTDIR}/tests
- for testdir in *; do
- einfo "Testing $testdir"
- cd ${testdir}
- emake so$IARCH F=${fc} || die "make $testdir failed"
- done
-}
-
-src_install () {
- cd ${S}
-
- # install license
- if [ -n "${INTEL_LICENSE}" -a -f "${INTEL_LICENSE}" ]; then
- insinto /opt/intel/licenses
- doins ${INTEL_LICENSE}
- fi
-
- # install documentation and include files
- insinto /${INSTDIR}
- doins -r ${INSTDIR}/{doc,include}
- dodir /usr/include
- dosym /${INSTDIR}/include /usr/include/${PN}
- use examples && doins -r ${INSTDIR}/examples
-
- # install static libraries
- insinto /${ILIBDIR}
- doins ${ILIBDIR}/*.a
- dodir /usr/$(get_libdir)/{blas,lapack}/mkl
- dosym /${ILIBDIR}/libmkl_${IKERN}.a \
- /usr/$(get_libdir)/blas/mkl/libmkl_blas.a
- dosym /${ILIBDIR}/libmkl_lapack.a \
- /usr/$(get_libdir)/lapack/mkl/libmkl_lapack.a
-
- # install shared libraries
- insopts -m0755
- doins ${ILIBDIR}/*.so
- insinto /usr/$(get_libdir)/blas/mkl
- doins ${INSTDIR}/tools/builder/libmkl_{,c}blas.so
- insinto /usr/$(get_libdir)/lapack/mkl
- doins ${INSTDIR}/tools/builder/libmkl_lapack.so
-
- # install tools
- insopts -m0644
- insinto /${INSTDIR}
- rm -f ${INSTDIR}/tools/builder/*.so
- doins -r ${INSTDIR}/tools
-
- # install required configuration scripts
- insinto /usr/$(get_libdir)/blas
- newins ${FILESDIR}/f77-MKL.blas f77-MKL
- newins ${FILESDIR}/c-MKL.blas c-MKL
- insinto /usr/$(get_libdir)/lapack
- newins ${FILESDIR}/f77-MKL.lapack f77-MKL
-
- # install environment var
- echo "LD_LIBRARY_PATH=/${ILIBDIR}" > 35mkl
- doenvd 35mkl
-}
-
-pkg_postinst() {
-
- ${DESTTREE}/bin/blas-config MKL
- ${DESTTREE}/bin/lapack-config MKL
-
- einfo
- einfo "MKL ${PV} is not yet available for eselect"
- einfo "Use blas-config and lapack-config to configure"
- einfo "blas or lapack with MKL"
- einfo
-}
diff --git a/sci-libs/mkl/mkl-8.0.2.004.ebuild b/sci-libs/mkl/mkl-8.0.2.004.ebuild
deleted file mode 100644
index 4deca55e2..000000000
--- a/sci-libs/mkl/mkl-8.0.2.004.ebuild
+++ /dev/null
@@ -1,220 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit fortran rpm flag-o-matic
-
-MYPV=${PV/.004/}
-DESCRIPTION="Intel(R) Math Kernel Library: linear algebra, fft, random number generators."
-HOMEPAGE="http://developer.intel.com/software/products/mkl/"
-SRC_URI="l_${PN}_p_${PV}.tgz"
-RESTRICT="nostrip fetch"
-
-#fortran95 implements a fortran 95 blas/lapack interface
-IUSE="fortran95 examples"
-SLOT="0"
-LICENSE="mkl-8.0.1"
-KEYWORDS="~x86 ~amd64 ~ia64"
-DEPEND="virtual/libc
- sci-libs/lapack-config
- sci-libs/blas-config"
-
-PROVIDE="virtual/blas
- virtual/lapack"
-
-
-S="${WORKDIR}/l_${PN}_p_${PV}"
-INSTDIR=opt/intel/${PN}/${MYPV}
-
-
-pkg_setup() {
-
- if use fortran95; then
- FORTRAN="ifc gfortran"
- fortran_pkg_setup
- fi
-
- if [ -z "${INTEL_LICENSE}" -a -z \
- $(find /opt/intel/licenses -name *mkl*.lic) ]; then
- eerror "Did not find any valid mkl license."
- eerror "Please locate your license file and run:"
- eerror "\t INTEL_LICENSE=/my/license/files emerge ${PN}"
- eerror "or place your license in /opt/intel/licenses and run emerge ${PN}"
- einfo
- einfo "http://www.intel.com/cd/software/products/asmo-na/eng/perflib/mkl/219859.htm"
- einfo "From the above url you can get a free, non-commercial"
- einfo "license to use the Intel Math Kernel Libary emailed to you."
- einfo "You cannot use mkl without this license file."
- einfo "Read the website for more information on this license."
- einfo
- fi
-}
-
-
-# the whole shmol is to extract rpm files non-interactively
-# from the big mkl installation
-# hopefully recyclable for ipp
-src_unpack() {
-
- ewarn
- ewarn "Intel ${PN} requires 200Mb of disk space"
- ewarn "Make sure you have enough space on /var and also in /opt/intel"
- ewarn
-
- unpack ${A}
-
- # fake rpm commands to trick the big install script
- mkdir -p bin
- echo "exit 1" > bin/rpm2cpio
- echo "exit 1" > bin/rpm
- chmod +x bin/*
- PATH=".:${PATH}:$PWD/bin"
-
- cd ${S}/install
- # answer file to make the big install script non-interactive
- echo $"
-[${PN}_install]
-EULA_ACCEPT_REJECT=accept
-FLEXLM_LICENSE_LOCATION=${INTEL_LICENSE}
-TEMP_DIR=${WORKDIR}/rpm
-INSTALL_DESTINATION=${S}
-RPM_INSTALLATION=
-" > answers.txt
-
- einfo "Building rpm file..."
- ./install \
- --noroot \
- --nonrpm \
- --installpath ${S} \
- --silent answers.txt &> /dev/null
-
- [ -z $(find ${WORKDIR} -name "*.rpm") ] \
- && die "error while extracting the rpm"
-
- rm -rf ${WORKDIR}/bin ${S}/*
-
- cd ${S}
- for x in $(ls ../rpm/*.rpm); do
- einfo "Extracting $(basename ${x})..."
- rpm_unpack ${x} || die "rpm_unpack failed"
- done
-
- # clean up
- rm -rf ${WORKDIR}/rpm
- rm -rf ${S}/${INSTDIR}/tools/environment
-}
-
-src_compile() {
-
- case ${ARCH} in
- amd64)
- IARCH="em64t"
- IKERN="em64t"
- ;;
- ia64)
- IARCH="64"
- IKERN="ipf"
- ;;
- x86)
- IARCH="32"
- IKERN="ia32"
- ;;
- esac
- ILIBDIR=${INSTDIR}/lib/${IARCH}
- einfo "IARCH=$IARCH IKERN=$IKERN"
-
- cd ${S}/${INSTDIR}/tools/builder
- for x in blas cblas lapack; do
- make ${IKERN} export=${FILESDIR}/${x}.list name=libmkl_${x} \
- || die "make ${IKERN} failed"
- done
-
- if use fortran95; then
- local fc=${FORTRANC}
- if [ "${FORTRANC}" = "ifc" ]; then
- fc=ifort
- fi
- for x in blas lapack; do
- cd ${S}/${INSTDIR}/interfaces/${x}95
- make lib \
- PLAT=lnx${IARCH/em64t/32e} \
- FC=${fc} \
- INSTALL_DIR=${S}/${ILIBDIR} || die "make lib failed"
- done
- fi
-}
-
-src_test() {
- local fc="gnu"
- [ "${FORTRANC}" = "ifc" ] && fc="ifort"
-
- cd ${S}/${INSTDIR}/tests
- for testdir in *; do
- einfo "Testing $testdir"
- cd ${testdir}
- emake so$IARCH F=${fc} || die "make $testdir failed"
- done
-}
-
-src_install () {
- cd ${S}
-
- # install license
- if [ -n "${INTEL_LICENSE}" -a -f "${INTEL_LICENSE}" ]; then
- insinto /opt/intel/licenses
- doins ${INTEL_LICENSE}
- fi
-
- # install documentation and include files
- insinto /${INSTDIR}
- doins -r ${INSTDIR}/{doc,include}
- dodir /usr/include
- dosym /${INSTDIR}/include /usr/include/${PN}
- use examples && doins -r ${INSTDIR}/examples
-
- # install static libraries
- insinto /${ILIBDIR}
- doins ${ILIBDIR}/*.a
- dodir /usr/$(get_libdir)/{blas,lapack}/mkl
- dosym /${ILIBDIR}/libmkl_${IKERN}.a \
- /usr/$(get_libdir)/blas/mkl/libmkl_blas.a
- dosym /${ILIBDIR}/libmkl_lapack.a \
- /usr/$(get_libdir)/lapack/mkl/libmkl_lapack.a
-
- # install shared libraries
- insopts -m0755
- doins ${ILIBDIR}/*.so
- insinto /usr/$(get_libdir)/blas/mkl
- doins ${INSTDIR}/tools/builder/libmkl_{,c}blas.so
- insinto /usr/$(get_libdir)/lapack/mkl
- doins ${INSTDIR}/tools/builder/libmkl_lapack.so
-
- # install tools
- insopts -m0644
- insinto /${INSTDIR}
- rm -f ${INSTDIR}/tools/builder/*.so
- doins -r ${INSTDIR}/tools
-
- # install required configuration scripts
- insinto /usr/$(get_libdir)/blas
- newins ${FILESDIR}/f77-MKL.blas f77-MKL
- newins ${FILESDIR}/c-MKL.blas c-MKL
- insinto /usr/$(get_libdir)/lapack
- newins ${FILESDIR}/f77-MKL.lapack f77-MKL
-
- # install environment var
- echo "LD_LIBRARY_PATH=/${ILIBDIR}" > 35mkl
- doenvd 35mkl
-}
-
-pkg_postinst() {
-
- ${DESTTREE}/bin/blas-config MKL
- ${DESTTREE}/bin/lapack-config MKL
-
- einfo
- einfo "MKL ${PV} is not yet available for eselect"
- einfo "Use blas-config and lapack-config to configure"
- einfo "blas or lapack with MKL"
- einfo
-}
diff --git a/sci-libs/mkl/mkl-8.1.014.ebuild b/sci-libs/mkl/mkl-8.1.014.ebuild
deleted file mode 100644
index f7d8215f5..000000000
--- a/sci-libs/mkl/mkl-8.1.014.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit fortran
-
-MYPV=${PV/.014/}
-DESCRIPTION="Intel(R) Math Kernel Library: linear algebra, fft, random number generators."
-HOMEPAGE="http://www.intel.com/cd/software/products/asmo-na/eng/perflib/mkl/index.htm"
-SRC_URI="l_${PN}_p_${PV}.tgz"
-RESTRICT="nostrip fetch"
-
-IUSE="fortran95 fftw examples"
-SLOT="0"
-LICENSE="mkl-8.1"
-KEYWORDS="~x86 ~amd64 ~ia64"
-DEPEND="virtual/libc"
-
-get_intel_arch() {
- local lib
- local del
- case ${ARCH} in
- amd64) lib=em64t del="32 64" ;;
- ia64) lib=64 del="32 em64t" ;;
- x86) lib=32 del="64 em64t" ;;
- esac
- [ ${1} = "lib" ] && echo "${lib}"
- [ ${1} = "del" ] && echo "${del}"
-}
-
-get_intel_fortran() {
- if [ "${FORTRANC}" = "ifc" ]; then
- echo ifort
- else
- echo g77
- fi
-}
-
-get_intel_c() {
- echo gnu
-}
-
-MKL_LIB_DIR=lib/$(get_intel_arch lib)
-
-pkg_nofetch() {
- einfo "Please download the intel mkl from:"
- einfo "http://www.intel.com/software/products/mkl/downloads/lin_mkl.htm"
- einfo "and place it in ${DISTDIR}"
- einfo "Also you need to register in ${HOMEPAGE}"
- einfo "and keep the license Intel sent you"
- ewarn "This version is only available through http://premier.intel.com"
-}
-
-pkg_setup() {
-
- if use fortran95; then
- FORTRAN="ifc gfortran"
- fortran_pkg_setup
- fi
- if has test ${FEATURES}; then
- FORTRAN="${FORTRAN} g77"
- fi
- if [ -z "${INTEL_LICENSE}" ] &&
- [ -z "$(find /opt/intel/licenses -name *mkl*.lic)" ]; then
- eerror "Did not find any valid mkl license."
- eerror "Please locate your license file and run:"
- eerror "\t INTEL_LICENSE=/my/license/files emerge ${PN}"
- eerror "or place your license in /opt/intel/licenses"
- eerror "Hint: the license file is in the email Intel sent you"
- die
- fi
-}
-
-# the whole shmol is to extract rpm files non-interactively
-# from the big mkl installation
-# hopefully recyclable for ipp
-src_unpack() {
-
- ewarn
- ewarn "Intel ${PN} requires 200Mb of disk space"
- ewarn "Make sure you have enough space on /var and also in /opt/intel"
- ewarn
-
- unpack ${A}
- cd ${WORKDIR}/l_${PN}_p_${PV}/install
- # answer file to make the big install script non-interactive
- echo $"
-[${PN}_install]
-EULA_ACCEPT_REJECT=accept
-FLEXLM_LICENSE_LOCATION=${INTEL_LICENSE}
-TEMP_DIR=${WORKDIR}/tmp
-INSTALL_DESTINATION=${S}" > answers.txt
-
- einfo "Building rpm file..."
- addwrite "/opt/intel"
- ./install \
- --noroot \
- --nonrpm \
- --installpath ${S} \
- --silent answers.txt &> /dev/null
-
- [ -z $(find ${WORKDIR} -name "libvml.so") ] \
- && die "extracting the rpm failed"
-
- cd ${WORKDIR}
- rm -rf l_${PN}_p_${PV} tmp
- for d in $(get_intel_arch del); do
- rm -rf ${S}/lib/${d}
- done
-}
-
-src_compile() {
- if use fortran95; then
- for x in blas95 lapack95; do
- cd ${S}/interfaces/${x}
- emake lib \
- PLAT=lnx${myplat/em64t/32e}
- FC=$(intel_fortran) \
- INSTALL_DIR=${MKL_LIB_DIR} \
- || die "make ${x} failed"
- done
- fi
-
- if use fftw; then
- for x in fftw2xc fftw2xf fftw3xc; do
- cd ${S}/interfaces/${x}
- emake lib$(get_intel_arch lib) \
- F=$(get_intel_c) \
- || die "make ${x} failed"
- done
-
- fi
-}
-
-src_test() {
- for testdir in ${S}/tests/*; do
- einfo "Testing $testdir"
- cd ${testdir}
- emake so$(get_intel_arch lib) \
- FC=$(get_intel_fortran) \
- F=$(get_intel_c) \
- || die "make ${testdir} failed"
- done
-}
-
-src_install () {
- MKL_DIR=/opt/intel/${PN}/${MYPV}
- dodir ${MKL_DIR}
- cp -pPR doc include lib "${D}"/${MKL_DIR}
- if use examples; then
- insinto ${MKL_DIR}
- doins -r examples
- fi
- echo "INCLUDE=${MKL_DIR}/include" > 35mkl
- echo "LD_LIBRARY_PATH=${MKL_DIR}/${MKL_LIB_DIR}" >> 35mkl
- doenvd 35mkl
-}
-