diff options
author | Aisha Tammy <gentoo@aisha.cc> | 2020-09-22 08:09:30 -0400 |
---|---|---|
committer | Aisha Tammy <gentoo@aisha.cc> | 2020-09-22 08:09:30 -0400 |
commit | a0bfa001182d25db1ad6e40c220202bd034651c8 (patch) | |
tree | 6d3ee98ab4eade9a822b3e12fbf1c1282d9c004c | |
parent | sci-libs/armadillo: drop package (diff) | |
download | sci-a0bfa001182d25db1ad6e40c220202bd034651c8.tar.gz sci-a0bfa001182d25db1ad6e40c220202bd034651c8.tar.bz2 sci-a0bfa001182d25db1ad6e40c220202bd034651c8.zip |
sci-libs/atlas: drop package
present in ::gentoo
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
-rw-r--r-- | sci-libs/atlas/Manifest | 8 | ||||
-rw-r--r-- | sci-libs/atlas/atlas-3.10.1-r2.ebuild | 270 | ||||
-rw-r--r-- | sci-libs/atlas/atlas-3.10.2.ebuild | 272 | ||||
-rw-r--r-- | sci-libs/atlas/atlas-3.10.3.ebuild | 279 | ||||
-rw-r--r-- | sci-libs/atlas/atlas-3.11.38-r1.ebuild | 281 | ||||
-rw-r--r-- | sci-libs/atlas/atlas-3.11.39.ebuild | 285 | ||||
-rw-r--r-- | sci-libs/atlas/files/atlas-3.10.0-x32-support.patch | 93 | ||||
-rw-r--r-- | sci-libs/atlas/files/atlas-3.11.39-dolastcomp.patch | 13 | ||||
-rw-r--r-- | sci-libs/atlas/files/format-security.patch | 198 | ||||
-rw-r--r-- | sci-libs/atlas/metadata.xml | 24 |
10 files changed, 0 insertions, 1723 deletions
diff --git a/sci-libs/atlas/Manifest b/sci-libs/atlas/Manifest deleted file mode 100644 index 3c284b351..000000000 --- a/sci-libs/atlas/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -DIST atlas3.10.1.tar.bz2 4900179 BLAKE2B cf84660064b2a6888de5fd2691c559cfed4ebfaff9fa1a8b7f17009a03e193e78dcc616152978fd518510bfe02f9ece4ed4436efd0d627c1bc3d24d25086618a SHA512 027c8eea79bc584a4586e198fd9cc0ef7fffda3983082c11c2cf618837a24ba25cb26a831f55c35ac9a425e1b4bd1f379c62d99ef0c4e060bc4b1de59f3cf5fc -DIST atlas3.10.2.tar.bz2 4904923 BLAKE2B e2fb0d307907549644cb678c32c4befce7ce6809c348a11fa6084e17d696da8681b3388dd63d8bdee6040999d9ab38a75f1788b42640121a536eb5f13e6f8939 SHA512 9fe04cfa1f89449db047d1a4659a656964d13117c783cbbe43344eb32555736f037d9cd30c5ae1514c08ad5b8949a3982d7fe102d707ddb62288e76b2607fbb1 -DIST atlas3.10.3.tar.bz2 5156852 BLAKE2B cd3880a6d0c43b5840d4da26ac996cc9fe7615fc996229193ef1f936daa2c54c5465643def19f59dd5c481c447176e2ba3cf85d38c0b5008c2dc1bc18be0e65b SHA512 bf17306f09f2aa973cb776e2c9eacfb2409ad4d95d19802e1c4e0597d0a099fccdb5eaafe273c2682a41e41a3c6fabc8bbba4ce03180cffea40ede5df1d1f56e -DIST atlas3.11.38.tar.bz2 5399435 BLAKE2B ad8928ad58b8399b167bd26ba914efe5e4c99d49c78d69647fb1aea0c609159539da0f995c213b55a6f9f3628f729c91bf7db824992cc6727258edbdd1204be7 SHA512 4ca54b741228523d344bae86ef3ac8c7d54cbb610624d1db1403c59aa5cbcb4b2af509ea435204bf8f65d823349314013d8cc1494243723ce9fa89e9fc2802ce -DIST atlas3.11.39.tar.bz2 5821852 BLAKE2B c1a511c9728af8ae7b4731493f8af6ab653cceb0f107e44f79fa6a676b8e47ef076739711dc40a496157aca2c4116db00663382745082a116b2a8493cb824d46 SHA512 bdb64e2a0a7ce4142182a5e6cdb52d44f6e99963392b5daa4b0ea1659c8b6fff93b61119ce83386c4e81b1cd63009df334aa95971a7b0a5c6eb27537a05855e9 -DIST lapack-3.5.0.tgz 6313139 BLAKE2B c23a35f107cfc5c887491fd148c1c76851a4580c98ad86aff9c391ac3d393c31ba67427ed445fe821c7666418e9fcf19523a3a668f8009337508994cf1a68c04 SHA512 b948a0a0db032bda455ec4f519d4e89e4c29e29cecb5b6258ca61f68faaeeac9fdf4ece5c39ffcd0154c5505facbc392c7d09c8348b1d60bdd2685153ab2543f -DIST lapack-3.6.0.tgz 6792324 BLAKE2B 438f3376b63b38ef0fe70f6becac847816f3a11c01f5ab237dc0d941792ceb54dbd2f8dc22d56286f5dab3499289ed94e67521ea951a98973c9640abc294ad6c SHA512 bc50441d415ef8896dd7626d77c6104184b996e758704366288089f03d4c99d068e33153b0d13305310886017e5d2e716130f812a95cfcad36ef37fe20417ab8 -DIST lapack-3.7.0.tgz 7359812 BLAKE2B 20aa42e22d8c920d1360afe41ceec7b36f6cd5fbe43ca9d7848ef7cc45a64a0314cb1321941c1a7c03654f41e28ec805445882ded0ca0ea07674e70b66cba6b5 SHA512 e4f4c7d0ba8a096eeb813160c6dbcdd535647df6b2ad5beac9181908158956b31d1a9554ec9b9836fd44fe7404c1f377b297cbb20d744f20d70e357fd246c91b diff --git a/sci-libs/atlas/atlas-3.10.1-r2.ebuild b/sci-libs/atlas/atlas-3.10.1-r2.ebuild deleted file mode 100644 index 7a4a1d6e4..000000000 --- a/sci-libs/atlas/atlas-3.10.1-r2.ebuild +++ /dev/null @@ -1,270 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -FORTRAN_NEEDED=fortran - -inherit alternatives-2 eutils fortran-2 multilib toolchain-funcs versionator - -LAPACKP=lapack-3.5.0.tgz - -DESCRIPTION="Automatically Tuned Linear Algebra Software" -HOMEPAGE="http://math-atlas.sourceforge.net/" -SRC_URI="mirror://sourceforge/math-atlas/${PN}${PV}.tar.bz2 - fortran? ( lapack? ( http://www.netlib.org/lapack/${LAPACKP} ) )" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc fortran generic lapack static-libs threads" - -RDEPEND="" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/ATLAS" - -pkg_setup() { - local _cpufreq - for _cpufreq in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do - if [ -f ${_cpufreq} ]; then - if ! grep -q performance ${_cpufreq}; then - echo 2> /dev/null performance > ${_cpufreq} || \ - die "${PN} needs all cpu set to performance" - fi - fi - done - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-3.10.0-x32-support.patch -} - -src_configure() { - # hack needed to trick the flaky gcc detection - local mycc="$(type -P $(tc-getCC))" - [[ ${mycc} == *gcc* ]] && mycc=gcc - atlas_configure() { - local myconf=( - --prefix="${ED}/usr" - --libdir="${ED}/usr/$(get_libdir)" - --incdir="${ED}/usr/include" - --cc="$(tc-getCC)" - "-D c -DWALL" - "-C acg '${mycc}'" - "-F acg '${CFLAGS}'" - "-Ss pmake '\$(MAKE) ${MAKEOPTS}'" - ) - - # OpenMP shown to decreased performance over POSIX threads - # (at least in 3.9.x, see atlas-dev mailing list) - if use threads; then - if use generic; then # 2 threads is most generic - myconf+=( "-t 2" "-Si omp 0" ) - else - myconf+=( "-t -1" "-Si omp 0" ) - fi - else - myconf+=( "-t 0" "-Si omp 0" ) - fi - - if use amd64 || use ppc64 || use sparc; then - if [ ${ABI} = amd64 ] || [ ${ABI} = ppc64 ] || [ ${ABI} = sparc64 ] ; then - myconf+=( "-b 64" ) - elif [ ${ABI} = x86 ] || [ ${ABI} = ppc ] || [ ${ABI} = sparc32 ] ; then - myconf+=( "-b 32" ) - elif [ ${ABI} = x32 ] ; then - myconf+=( "-b 48" ) - else - myconf+=( "-b 64" ) - fi - elif use ppc || use x86; then - myconf+=( "-b 32" ) - elif use ia64; then - myconf+=( "-b 64" ) - fi - if use fortran; then - myconf+=( - "-C if '$(type -P $(tc-getFC))'" - "-F if '${FFLAGS}'" - ) - if use lapack; then - myconf+=( - "-Si latune 1" - "--with-netlib-lapack-tarfile=${DISTDIR}/${LAPACKP}" - ) - else - myconf+=( "-Si latune 0" ) - fi - else - myconf+=( "-Si latune 0" "--nof77" ) - fi - # generic stuff found by make make xprint_enums in atlas build dir - # basically assuming sse2+sse1 and 2 threads max - use generic && use x86 && myconf+=( "-V 384 -A 13") - use generic && use amd64 && myconf+=( "-V 384 -A 24") - - local confdir="${S}_${1}"; shift - myconf+=( $@ ) - mkdir "${confdir}" && cd "${confdir}" - # for debugging - echo ${myconf[@]} > myconf.out - "${S}"/configure ${myconf[@]} || die "configure in ${confdir} failed" - } - - atlas_configure shared "-Fa alg -fPIC" ${EXTRA_ECONF} - use static-libs && atlas_configure static ${EXTRA_ECONF} -} - -src_compile() { - atlas_compile() { - pushd "${S}_${1}" > /dev/null - # atlas does its own parallel builds - emake -j1 build - cd lib - emake libclapack.a - [[ -e libptcblas.a ]] && emake libptclapack.a - popd > /dev/null - } - - atlas_compile shared - use static-libs && atlas_compile static -} - -src_test() { - cd "${S}_shared" - emake -j1 check time -} - -# transform a static archive into a shared library and install them -# atlas_install_libs <mylib.a> [extra link flags] -atlas_install_libs() { - local libname=$(basename ${1%.*}) - einfo "Installing ${libname}" - local soname=${libname}.so.$(get_major_version) - shift - pushd "${S}_shared"/lib > /dev/null - ${LINK:-$(tc-getCC)} ${LDFLAGS} -shared -Wl,-soname=${soname} \ - -Wl,--whole-archive ${libname}.a -Wl,--no-whole-archive \ - "$@" -o ${soname} || die "Creating ${soname} failed" - dolib.so ${soname} - ln -s ${soname} ${soname%.*} - dosym ${soname} /usr/$(get_libdir)/${soname%.*} - popd > /dev/null - use static-libs && dolib.a "${S}_static"/lib/${libname}.a -} - -# create and install a pkgconfig file -# atlas_install_pc <libname> <pkg name> [extra link flags] -atlas_install_pc() { - local libname=${1} ; shift - local pcname=${1} ; shift - cat <<-EOF > ${pcname}.pc - prefix=${EPREFIX}/usr - libdir=\${prefix}/$(get_libdir) - includedir=\${prefix}/include - Name: ${pcname} - Description: ${PN} ${pcname} - Version: ${PV} - URL: ${HOMEPAGE} - Libs: -L\${libdir} -l${libname} $@ - Libs.private: -L\${libdir} -latlas -lm ${PTLIBS} - Cflags: -I\${includedir}/${PN} - ${PCREQ} - EOF - insinto /usr/$(get_libdir)/pkgconfig - doins ${pcname}.pc -} - -src_install() { - cd "${S}_shared/lib" - # rename to avoid collision with other packages - local l - for l in {,c}{blas,lapack}; do - if [[ -e lib${l}.a ]]; then - mv lib{,atl}${l}.a - use static-libs && mv "${S}"_static/lib/lib{,atl}${l}.a - fi - done - - [[ -e libptcblas.a ]] && PTLIBS="-lpthread" - - # atlas - atlas_install_libs libatlas.a -lm ${PTLIBS} - - # cblas - atlas_install_libs libatlcblas.a -lm -L. -latlas - atlas_install_pc atlcblas atlas-cblas - alternatives_for cblas atlas 0 \ - /usr/$(get_libdir)/pkgconfig/cblas.pc atlas-cblas.pc \ - /usr/include/cblas.h atlas/cblas.h - - # cblas threaded - if [[ -e libptcblas.a ]]; then - atlas_install_libs libptcblas.a -lm -L. -latlas ${PTLIBS} - atlas_install_pc ptcblas atlas-cblas-threads - alternatives_for cblas atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/cblas.pc atlas-cblas-threads.pc \ - /usr/include/cblas.h atlas/cblas.h - fi - - if use lapack; then - PCREQ="Requires: cblas" - # clapack - atlas_install_libs libatlclapack.a -lm -L. -latlas -latlcblas - atlas_install_pc atlclapack atlas-clapack - - # clapack threaded - if [[ -e libptclapack.a ]]; then - atlas_install_libs libptclapack.a -lm -L. -latlas -lptcblas ${PTLIBS} - atlas_install_pc ptclapack atlas-clapack-threads - fi - fi - - if use fortran; then - LINK=$(tc-getF77) PCREQ= - - # blas - atlas_install_libs libf77blas.a -lm -L. -latlas - atlas_install_pc f77blas atlas-blas - alternatives_for blas atlas 0 \ - /usr/$(get_libdir)/pkgconfig/blas.pc atlas-blas.pc - - # blas threaded - if [[ -e libptf77blas.a ]]; then - atlas_install_libs libptf77blas.a -lm -L. -latlas ${PTLIBS} - atlas_install_pc ptf77blas atlas-blas-threads - alternatives_for blas atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/blas.pc atlas-blas-threads.pc - fi - - if use lapack; then - PCREQ="Requires: blas cblas" - # lapack - atlas_install_libs libatllapack.a \ - -lm -L. -latlas -latlcblas -lf77blas - atlas_install_pc atllapack atlas-lapack - alternatives_for lapack atlas 0 \ - /usr/$(get_libdir)/pkgconfig/lapack.pc atlas-lapack.pc - # lapack threaded - if [[ -e libptlapack.a ]]; then - atlas_install_libs libptlapack.a \ - -lm -L. -latlas -lptcblas -lptf77blas ${PTLIBS} - atlas_install_pc ptlapack atlas-lapack-threads - alternatives_for lapack atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/lapack.pc atlas-lapack-threads.pc - fi - fi - fi - - cd "${S}" - insinto /usr/include/${PN} - doins include/*.h - - cd "${S}/doc" - dodoc INDEX.txt AtlasCredits.txt ChangeLog - use doc && dodoc atlas*pdf cblas.pdf cblasqref.pdf - use doc && use fortran && dodoc f77blas*pdf - use doc && use fortran && use lapack && dodoc *lapack*pdf -} diff --git a/sci-libs/atlas/atlas-3.10.2.ebuild b/sci-libs/atlas/atlas-3.10.2.ebuild deleted file mode 100644 index 5e480dd3e..000000000 --- a/sci-libs/atlas/atlas-3.10.2.ebuild +++ /dev/null @@ -1,272 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -FORTRAN_NEEDED=fortran - -inherit alternatives-2 eutils fortran-2 multilib toolchain-funcs versionator - -LAPACKP=lapack-3.6.0.tgz - -DESCRIPTION="Automatically Tuned Linear Algebra Software" -HOMEPAGE="http://math-atlas.sourceforge.net/" -SRC_URI="mirror://sourceforge/math-atlas/${PN}${PV}.tar.bz2 - fortran? ( lapack? ( http://www.netlib.org/lapack/${LAPACKP} ) )" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc fortran generic lapack static-libs threads" - -RDEPEND="" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/ATLAS" - -pkg_setup() { - local _cpufreq - for _cpufreq in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do - if [ -f ${_cpufreq} ]; then - if ! grep -q performance ${_cpufreq}; then - echo 2> /dev/null performance > ${_cpufreq} || \ - die "${PN} needs all cpu set to performance" - fi - fi - done - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - epatch \ - "${FILESDIR}"/${PN}-3.10.0-x32-support.patch \ - "${FILESDIR}"/${P1}format-security.patch -} - -src_configure() { - # hack needed to trick the flaky gcc detection - local mycc="$(type -P $(tc-getCC))" - [[ ${mycc} == *gcc* ]] && mycc=gcc - atlas_configure() { - local myconf=( - --prefix="${ED}/usr" - --libdir="${ED}/usr/$(get_libdir)" - --incdir="${ED}/usr/include" - --cc="$(tc-getCC)" - "-D c -DWALL" - "-C acg '${mycc}'" - "-F acg '${CFLAGS}'" - "-Ss pmake '\$(MAKE) ${MAKEOPTS}'" - ) - - # OpenMP shown to decreased performance over POSIX threads - # (at least in 3.9.x, see atlas-dev mailing list) - if use threads; then - if use generic; then # 2 threads is most generic - myconf+=( "-t 2" "-Si omp 0" ) - else - myconf+=( "-t -1" "-Si omp 0" ) - fi - else - myconf+=( "-t 0" "-Si omp 0" ) - fi - - if use amd64 || use ppc64 || use sparc; then - if [ ${ABI} = amd64 ] || [ ${ABI} = ppc64 ] || [ ${ABI} = sparc64 ] ; then - myconf+=( "-b 64" ) - elif [ ${ABI} = x86 ] || [ ${ABI} = ppc ] || [ ${ABI} = sparc32 ] ; then - myconf+=( "-b 32" ) - elif [ ${ABI} = x32 ] ; then - myconf+=( "-b 48" ) - else - myconf+=( "-b 64" ) - fi - elif use ppc || use x86; then - myconf+=( "-b 32" ) - elif use ia64; then - myconf+=( "-b 64" ) - fi - if use fortran; then - myconf+=( - "-C if '$(type -P $(tc-getFC))'" - "-F if '${FFLAGS}'" - ) - if use lapack; then - myconf+=( - "-Si latune 1" - "--with-netlib-lapack-tarfile=${DISTDIR}/${LAPACKP}" - ) - else - myconf+=( "-Si latune 0" ) - fi - else - myconf+=( "-Si latune 0" "--nof77" ) - fi - # generic stuff found by make make xprint_enums in atlas build dir - # basically assuming sse2+sse1 and 2 threads max - use generic && use x86 && myconf+=( "-V 384 -A 13") - use generic && use amd64 && myconf+=( "-V 384 -A 24") - - local confdir="${S}_${1}"; shift - myconf+=( $@ ) - mkdir "${confdir}" && cd "${confdir}" - # for debugging - echo ${myconf[@]} > myconf.out - "${S}"/configure ${myconf[@]} || die "configure in ${confdir} failed" - } - - atlas_configure shared "-Fa alg -fPIC" ${EXTRA_ECONF} - use static-libs && atlas_configure static ${EXTRA_ECONF} -} - -src_compile() { - atlas_compile() { - pushd "${S}_${1}" > /dev/null - # atlas does its own parallel builds - emake -j1 build - cd lib - emake libclapack.a - [[ -e libptcblas.a ]] && emake libptclapack.a - popd > /dev/null - } - - atlas_compile shared - use static-libs && atlas_compile static -} - -src_test() { - cd "${S}_shared" - emake -j1 check time -} - -# transform a static archive into a shared library and install them -# atlas_install_libs <mylib.a> [extra link flags] -atlas_install_libs() { - local libname=$(basename ${1%.*}) - einfo "Installing ${libname}" - local soname=${libname}.so.$(get_major_version) - shift - pushd "${S}_shared"/lib > /dev/null - ${LINK:-$(tc-getCC)} ${LDFLAGS} -shared -Wl,-soname=${soname} \ - -Wl,--whole-archive ${libname}.a -Wl,--no-whole-archive \ - "$@" -o ${soname} || die "Creating ${soname} failed" - dolib.so ${soname} - ln -s ${soname} ${soname%.*} - dosym ${soname} /usr/$(get_libdir)/${soname%.*} - popd > /dev/null - use static-libs && dolib.a "${S}_static"/lib/${libname}.a -} - -# create and install a pkgconfig file -# atlas_install_pc <libname> <pkg name> [extra link flags] -atlas_install_pc() { - local libname=${1} ; shift - local pcname=${1} ; shift - cat <<-EOF > ${pcname}.pc - prefix=${EPREFIX}/usr - libdir=\${prefix}/$(get_libdir) - includedir=\${prefix}/include - Name: ${pcname} - Description: ${PN} ${pcname} - Version: ${PV} - URL: ${HOMEPAGE} - Libs: -L\${libdir} -l${libname} $@ - Libs.private: -L\${libdir} -latlas -lm ${PTLIBS} - Cflags: -I\${includedir}/${PN} - ${PCREQ} - EOF - insinto /usr/$(get_libdir)/pkgconfig - doins ${pcname}.pc -} - -src_install() { - cd "${S}_shared/lib" - # rename to avoid collision with other packages - local l - for l in {,c}{blas,lapack}; do - if [[ -e lib${l}.a ]]; then - mv lib{,atl}${l}.a - use static-libs && mv "${S}"_static/lib/lib{,atl}${l}.a - fi - done - - [[ -e libptcblas.a ]] && PTLIBS="-lpthread" - - # atlas - atlas_install_libs libatlas.a -lm ${PTLIBS} - - # cblas - atlas_install_libs libatlcblas.a -lm -L. -latlas - atlas_install_pc atlcblas atlas-cblas - alternatives_for cblas atlas 0 \ - /usr/$(get_libdir)/pkgconfig/cblas.pc atlas-cblas.pc \ - /usr/include/cblas.h atlas/cblas.h - - # cblas threaded - if [[ -e libptcblas.a ]]; then - atlas_install_libs libptcblas.a -lm -L. -latlas ${PTLIBS} - atlas_install_pc ptcblas atlas-cblas-threads - alternatives_for cblas atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/cblas.pc atlas-cblas-threads.pc \ - /usr/include/cblas.h atlas/cblas.h - fi - - if use lapack; then - PCREQ="Requires: cblas" - # clapack - atlas_install_libs libatlclapack.a -lm -L. -latlas -latlcblas - atlas_install_pc atlclapack atlas-clapack - - # clapack threaded - if [[ -e libptclapack.a ]]; then - atlas_install_libs libptclapack.a -lm -L. -latlas -lptcblas ${PTLIBS} - atlas_install_pc ptclapack atlas-clapack-threads - fi - fi - - if use fortran; then - LINK=$(tc-getF77) PCREQ= - - # blas - atlas_install_libs libf77blas.a -lm -L. -latlas - atlas_install_pc f77blas atlas-blas - alternatives_for blas atlas 0 \ - /usr/$(get_libdir)/pkgconfig/blas.pc atlas-blas.pc - - # blas threaded - if [[ -e libptf77blas.a ]]; then - atlas_install_libs libptf77blas.a -lm -L. -latlas ${PTLIBS} - atlas_install_pc ptf77blas atlas-blas-threads - alternatives_for blas atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/blas.pc atlas-blas-threads.pc - fi - - if use lapack; then - PCREQ="Requires: blas cblas" - # lapack - atlas_install_libs libatllapack.a \ - -lm -L. -latlas -latlcblas -lf77blas - atlas_install_pc atllapack atlas-lapack - alternatives_for lapack atlas 0 \ - /usr/$(get_libdir)/pkgconfig/lapack.pc atlas-lapack.pc - # lapack threaded - if [[ -e libptlapack.a ]]; then - atlas_install_libs libptlapack.a \ - -lm -L. -latlas -lptcblas -lptf77blas ${PTLIBS} - atlas_install_pc ptlapack atlas-lapack-threads - alternatives_for lapack atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/lapack.pc atlas-lapack-threads.pc - fi - fi - fi - - cd "${S}" - insinto /usr/include/${PN} - doins include/*.h - - cd "${S}/doc" - dodoc INDEX.txt AtlasCredits.txt ChangeLog - use doc && dodoc atlas*pdf cblas.pdf cblasqref.pdf - use doc && use fortran && dodoc f77blas*pdf - use doc && use fortran && use lapack && dodoc *lapack*pdf -} diff --git a/sci-libs/atlas/atlas-3.10.3.ebuild b/sci-libs/atlas/atlas-3.10.3.ebuild deleted file mode 100644 index 131790147..000000000 --- a/sci-libs/atlas/atlas-3.10.3.ebuild +++ /dev/null @@ -1,279 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -FORTRAN_NEEDED=fortran - -inherit alternatives-2 eutils fortran-2 multilib toolchain-funcs versionator - -LAPACKP=lapack-3.6.0.tgz - -DESCRIPTION="Automatically Tuned Linear Algebra Software" -HOMEPAGE="http://math-atlas.sourceforge.net/" -SRC_URI="mirror://sourceforge/math-atlas/${PN}${PV}.tar.bz2 - fortran? ( lapack? ( http://www.netlib.org/lapack/${LAPACKP} ) )" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+deprecated doc +fortran generic +lapack static-libs threads" - -REQUIRED_USE=" - deprecated? ( lapack ) - lapack? ( fortran )" - -S="${WORKDIR}/ATLAS" - -pkg_setup() { - local _cpufreq - for _cpufreq in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do - if [ -f ${_cpufreq} ]; then - if ! grep -q performance ${_cpufreq}; then - echo 2> /dev/null performance > ${_cpufreq} || \ - die "${PN} needs all cpu set to performance" - fi - fi - done - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - epatch \ - "${FILESDIR}"/${PN}-3.10.0-x32-support.patch \ - "${FILESDIR}"/${P1}format-security.patch -} - -src_configure() { - # hack needed to trick the flaky gcc detection - local mycc="$(type -P $(tc-getCC))" - [[ ${mycc} == *gcc* ]] && mycc=gcc - atlas_configure() { - local myconf=( - --prefix="${ED}/usr" - --libdir="${ED}/usr/$(get_libdir)" - --incdir="${ED}/usr/include" - --cc="$(tc-getCC)" - "-D c -DWALL" - "-C acg '${mycc}'" - "-F acg '${CFLAGS}'" - "-Ss pmake '\$(MAKE) ${MAKEOPTS}'" - ) - - # OpenMP shown to decreased performance over POSIX threads - # (at least in 3.9.x, see atlas-dev mailing list) - if use threads; then - if use generic; then # 2 threads is most generic - myconf+=( "-t 2" "-Si omp 0" ) - else - myconf+=( "-t -1" "-Si omp 0" ) - fi - else - myconf+=( "-t 0" "-Si omp 0" ) - fi - - if use amd64 || use ppc64 || use sparc; then - if [ ${ABI} = amd64 ] || [ ${ABI} = ppc64 ] || [ ${ABI} = sparc64 ] ; then - myconf+=( "-b 64" ) - elif [ ${ABI} = x86 ] || [ ${ABI} = ppc ] || [ ${ABI} = sparc32 ] ; then - myconf+=( "-b 32" ) - elif [ ${ABI} = x32 ] ; then - myconf+=( "-b 48" ) - else - myconf+=( "-b 64" ) - fi - elif use ppc || use x86; then - myconf+=( "-b 32" ) - elif use ia64; then - myconf+=( "-b 64" ) - fi - if use fortran; then - myconf+=( - "-C if '$(type -P $(tc-getFC))'" - "-F if '${FFLAGS}'" - ) - if use lapack; then - myconf+=( - "-Si latune 1" - "--with-netlib-lapack-tarfile=${DISTDIR}/${LAPACKP}" - ) - else - myconf+=( "-Si latune 0" ) - fi - else - myconf+=( "-Si latune 0" "--nof77" ) - fi - # generic stuff found by make make xprint_enums in atlas build dir - # basically assuming sse2+sse1 and 2 threads max - use generic && use x86 && myconf+=( "-V 384 -A 13") - use generic && use amd64 && myconf+=( "-V 384 -A 24") - - local confdir="${S}_${1}"; shift - myconf+=( $@ ) - mkdir "${confdir}" && cd "${confdir}" || die - # for debugging - echo ${myconf[@]} > myconf.out - "${S}"/configure ${myconf[@]} || die "configure in ${confdir} failed" - - if use deprecated; then - echo "BUILD_DEPRECATED=1" >> src/lapack/reference/make.inc.example || die - fi - } - - atlas_configure shared "-Fa alg -fPIC" ${EXTRA_ECONF} - use static-libs && atlas_configure static ${EXTRA_ECONF} -} - -src_compile() { - atlas_compile() { - pushd "${S}_${1}" > /dev/null || die - # atlas does its own parallel builds - emake -j1 build - cd lib || die - emake libclapack.a - [[ -e libptcblas.a ]] && emake libptclapack.a - popd > /dev/null || die - } - - atlas_compile shared - use static-libs && atlas_compile static -} - -src_test() { - cd "${S}_shared" || die - emake -j1 check time -} - -# transform a static archive into a shared library and install them -# atlas_install_libs <mylib.a> [extra link flags] -atlas_install_libs() { - local libname=$(basename ${1%.*}) - einfo "Installing ${libname}" - local soname=${libname}.so.$(get_major_version) - shift - pushd "${S}_shared"/lib > /dev/null - ${LINK:-$(tc-getCC)} ${LDFLAGS} -shared -Wl,-soname=${soname} \ - -Wl,--whole-archive ${libname}.a -Wl,--no-whole-archive \ - "$@" -o ${soname} || die "Creating ${soname} failed" - dolib.so ${soname} - ln -s ${soname} ${soname%.*} - dosym ${soname} /usr/$(get_libdir)/${soname%.*} - popd > /dev/null || die - use static-libs && dolib.a "${S}_static"/lib/${libname}.a -} - -# create and install a pkgconfig file -# atlas_install_pc <libname> <pkg name> [extra link flags] -atlas_install_pc() { - local libname=${1} ; shift - local pcname=${1} ; shift - cat <<-EOF > ${pcname}.pc - prefix=${EPREFIX}/usr - libdir=\${prefix}/$(get_libdir) - includedir=\${prefix}/include - Name: ${pcname} - Description: ${PN} ${pcname} - Version: ${PV} - URL: ${HOMEPAGE} - Libs: -L\${libdir} -l${libname} $@ - Libs.private: -L\${libdir} -latlas -lm ${PTLIBS} - Cflags: -I\${includedir}/${PN} - ${PCREQ} - EOF - insinto /usr/$(get_libdir)/pkgconfig - doins ${pcname}.pc -} - -src_install() { - cd "${S}_shared/lib" || die - # rename to avoid collision with other packages - local l - for l in {,c}{blas,lapack}; do - if [[ -e lib${l}.a ]]; then - mv lib{,atl}${l}.a || die - if use static-libs; then - mv "${S}"_static/lib/lib{,atl}${l}.a || die - fi - fi - done - - [[ -e libptcblas.a ]] && PTLIBS="-lpthread" - - # atlas - atlas_install_libs libatlas.a -lm ${PTLIBS} - - # cblas - atlas_install_libs libatlcblas.a -lm -L. -latlas - atlas_install_pc atlcblas atlas-cblas - alternatives_for cblas atlas 0 \ - /usr/$(get_libdir)/pkgconfig/cblas.pc atlas-cblas.pc \ - /usr/include/cblas.h atlas/cblas.h - - # cblas threaded - if [[ -e libptcblas.a ]]; then - atlas_install_libs libptcblas.a -lm -L. -latlas ${PTLIBS} - atlas_install_pc ptcblas atlas-cblas-threads - alternatives_for cblas atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/cblas.pc atlas-cblas-threads.pc \ - /usr/include/cblas.h atlas/cblas.h - fi - - if use lapack; then - PCREQ="Requires: cblas" - # clapack - atlas_install_libs libatlclapack.a -lm -L. -latlas -latlcblas - atlas_install_pc atlclapack atlas-clapack - - # clapack threaded - if [[ -e libptclapack.a ]]; then - atlas_install_libs libptclapack.a -lm -L. -latlas -lptcblas ${PTLIBS} - atlas_install_pc ptclapack atlas-clapack-threads - fi - fi - - if use fortran; then - LINK=$(tc-getF77) PCREQ= - - # blas - atlas_install_libs libf77blas.a -lm -L. -latlas - atlas_install_pc f77blas atlas-blas - alternatives_for blas atlas 0 \ - /usr/$(get_libdir)/pkgconfig/blas.pc atlas-blas.pc - - # blas threaded - if [[ -e libptf77blas.a ]]; then - atlas_install_libs libptf77blas.a -lm -L. -latlas ${PTLIBS} - atlas_install_pc ptf77blas atlas-blas-threads - alternatives_for blas atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/blas.pc atlas-blas-threads.pc - fi - - if use lapack; then - PCREQ="Requires: blas cblas" - # lapack - atlas_install_libs libatllapack.a \ - -lm -L. -latlas -latlcblas -lf77blas - atlas_install_pc atllapack atlas-lapack - alternatives_for lapack atlas 0 \ - /usr/$(get_libdir)/pkgconfig/lapack.pc atlas-lapack.pc - # lapack threaded - if [[ -e libptlapack.a ]]; then - atlas_install_libs libptlapack.a \ - -lm -L. -latlas -lptcblas -lptf77blas ${PTLIBS} - atlas_install_pc ptlapack atlas-lapack-threads - alternatives_for lapack atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/lapack.pc atlas-lapack-threads.pc - fi - fi - fi - - cd "${S}" || die - insinto /usr/include/${PN} - doins include/*.h - - cd "${S}/doc" || die - dodoc INDEX.txt AtlasCredits.txt ChangeLog - use doc && dodoc atlas*pdf cblas.pdf cblasqref.pdf - use doc && use fortran && dodoc f77blas*pdf - use doc && use fortran && use lapack && dodoc *lapack*pdf -} diff --git a/sci-libs/atlas/atlas-3.11.38-r1.ebuild b/sci-libs/atlas/atlas-3.11.38-r1.ebuild deleted file mode 100644 index 5db98d96b..000000000 --- a/sci-libs/atlas/atlas-3.11.38-r1.ebuild +++ /dev/null @@ -1,281 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -FORTRAN_NEEDED=fortran - -inherit alternatives-2 eutils fortran-2 linux-info multilib numeric toolchain-funcs versionator - -LAPACKP=lapack-3.6.0.tgz - -DESCRIPTION="Automatically Tuned Linear Algebra Software" -HOMEPAGE="http://math-atlas.sourceforge.net/" -SRC_URI="mirror://sourceforge/math-atlas/${PN}${PV}.tar.bz2 - fortran? ( lapack? ( http://www.netlib.org/lapack/${LAPACKP} ) )" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+deprecated doc +fortran generic ifko +lapack static-libs threads" - -REQUIRED_USE=" - deprecated? ( lapack ) - lapack? ( fortran )" - -S="${WORKDIR}/ATLAS" - -pkg_setup() { - local _cpufreq - for _cpufreq in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do - if [ -f ${_cpufreq} ]; then - if ! grep -q performance ${_cpufreq}; then - echo 2> /dev/null performance > ${_cpufreq} || \ - die "${PN} needs all cpu set to performance" - fi - fi - done - [[ -e /sys/devices/system/cpu/intel_pstate ]] \ - && die "Intel P-State driver detected. Please reboot with 'intel_pstate=disable' in your cmdline" - use fortran && fortran-2_pkg_setup - CONFIG_CHECK=" - !~X86_P4_CLOCKMOD - !~X86_INTEL_PSTATE - " - ERROR_KERNEL_X86_P4_CLOCKMOD="P4 Clockmod frequency scaling influences tuning and needs to be disabled at compile time." - ERROR_KERNEL_X86_INTEL_PSTATE="Intel Pstate frequency scaling influences tuning and needs to be disabled at compile time." - linux-info_pkg_setup -} - -src_configure() { - # hack needed to trick the flaky gcc detection - local mycc="$(type -P $(tc-getCC))" - [[ ${mycc} == *gcc* ]] && mycc=gcc - atlas_configure() { - local myconf=( - --prefix="${ED}/usr" - --libdir="${ED}/usr/$(get_libdir)" - --incdir="${ED}/usr/include" - --cc="$(tc-getCC)" - "-D c -DWALL" - "-C acg '${mycc}'" - "-F acg '${CFLAGS}'" - "-Ss pmake '\$(MAKE) ${MAKEOPTS}'" - ) - - # OpenMP shown to decreased performance over POSIX threads - # (at least in 3.9.x, see atlas-dev mailing list) - if use threads; then - if use generic; then # 2 threads is most generic - myconf+=( "-t 2" "-Si omp 0" ) - else - myconf+=( "-t -1" "-Si omp 0" ) - fi - else - myconf+=( "-t 0" "-Si omp 0" ) - fi - - if use amd64 || use ppc64 || use sparc; then - if [ ${ABI} = amd64 ] || [ ${ABI} = ppc64 ] || [ ${ABI} = sparc64 ] ; then - myconf+=( "-b 64" ) - elif [ ${ABI} = x86 ] || [ ${ABI} = ppc ] || [ ${ABI} = sparc32 ] ; then - myconf+=( "-b 32" ) - elif [ ${ABI} = x32 ] ; then - myconf+=( "-b 48" ) - else - myconf+=( "-b 64" ) - fi - elif use ppc || use x86; then - myconf+=( "-b 32" ) - elif use ia64; then - myconf+=( "-b 64" ) - fi - if use fortran; then - myconf+=( - "-C if '$(type -P $(tc-getFC))'" - "-F if '${FFLAGS}'" - ) - if use lapack; then - myconf+=( - "-Si latune 1" - "--with-netlib-lapack-tarfile=${DISTDIR}/${LAPACKP}" - ) - else - myconf+=( "-Si latune 0" ) - fi - else - myconf+=( "-Si latune 0" "--nof77" ) - fi - # generic stuff found by make make xprint_enums in atlas build dir - # basically assuming sse2+sse1 and 2 threads max - use generic && use x86 && myconf+=( "-V 384 -A 13") - use generic && use amd64 && myconf+=( "-V 384 -A 24") - - local confdir="${S}_${1}"; shift - myconf+=( $(usex ifko "--use-ifko" "") ) - myconf+=( $@ ) - mkdir "${confdir}" && cd "${confdir}" || die - # for debugging - echo ${myconf[@]} > myconf.out - "${S}"/configure ${myconf[@]} || die "configure in ${confdir} failed" - - if use deprecated; then - echo "BUILD_DEPRECATED=1" >> src/lapack/reference/make.inc.example || die - fi - } - - atlas_configure shared "-Fa alg -fPIC" ${EXTRA_ECONF} - use static-libs && atlas_configure static ${EXTRA_ECONF} -} - -src_compile() { - atlas_compile() { - pushd "${S}_${1}" > /dev/null || die - # atlas does its own parallel builds - emake -j1 build - cd lib || die - emake libclapack.a - [[ -e libptcblas.a ]] && emake libptclapack.a - popd > /dev/null || die - } - - atlas_compile shared - use static-libs && atlas_compile static -} - -src_test() { - cd "${S}_shared" || die - emake -j1 check time -} - -# transform a static archive into a shared library and install them -# atlas_install_libs <mylib.a> [extra link flags] -atlas_install_libs() { - local libname=$(basename ${1%.*}) - einfo "Installing ${libname}" - local soname=${libname}.so.$(get_major_version) - local _cmd - shift - pushd "${S}_shared"/lib > /dev/null - _cmd="${LINK:-$(tc-getCC)}" - _cmd+=" ${LDFLAGS} -shared -Wl,--no-undefined -Wl,-soname=${soname}" - _cmd+=" -Wl,--whole-archive ${libname}.a -Wl,--no-whole-archive" - _cmd+=" $@ -o ${soname}" - einfo "${_cmd}" - ${_cmd} || die "Creating ${soname} failed" - dolib.so ${soname} - dosym ${soname} /usr/$(get_libdir)/${soname%.*} - popd > /dev/null || die - use static-libs && dolib.a "${S}_static"/lib/${libname}.a -} - -# create and install a pkgconfig file -# atlas_install_pc <libname> <pkg name> [extra link flags] -atlas_install_pc() { - local libname=${1} ; shift - local pcname=${1} ; shift - local extra=() - [[ ${PCREQ} ]] && extra+=( --requires "${PCREQ}" ) - create_pkgconfig \ - --name "${pcname}" \ - --description "${PN} ${pcname}" \ - --libs "-L\${libdir} -l${libname} $@" \ - --libs-private "-L\${libdir} -latlas -lm ${PTLIBS}" \ - --cflags "-I\${includedir}/${PN}" \ - "${extra[@]}" \ - ${pcname} -} - -src_install() { - cd "${S}_shared/lib" || die - # rename to avoid collision with other packages - local l - for l in {,c}{blas,lapack}; do - if [[ -e lib${l}.a ]]; then - mv lib{,atl}${l}.a || die - if use static-libs; then - mv "${S}"_static/lib/lib{,atl}${l}.a || die - fi - fi - done - - [[ -e libptcblas.a ]] && PTLIBS="-lpthread" - - # atlas - atlas_install_libs libatlas.a -lm ${PTLIBS} - - # cblas - atlas_install_libs libatlcblas.a -L. -latlas -lm - atlas_install_pc atlcblas atlas-cblas - alternatives_for cblas atlas 0 \ - /usr/$(get_libdir)/pkgconfig/cblas.pc atlas-cblas.pc \ - /usr/include/cblas.h atlas/cblas.h - - # cblas threaded - if [[ -e libptcblas.a ]]; then - atlas_install_libs libptcblas.a -L. -latlas -lm ${PTLIBS} - atlas_install_pc ptcblas atlas-cblas-threads - alternatives_for cblas atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/cblas.pc atlas-cblas-threads.pc \ - /usr/include/cblas.h atlas/cblas.h - fi - - if use lapack; then - PCREQ="cblas" - # clapack - atlas_install_libs libatlclapack.a -L. -latlcblas -latlas -lm - atlas_install_pc atlclapack atlas-clapack - - # clapack threaded - if [[ -e libptclapack.a ]]; then - atlas_install_libs libptclapack.a -L. -lptcblas -latlas -lm ${PTLIBS} - atlas_install_pc ptclapack atlas-clapack-threads - fi - fi - - if use fortran; then - LINK=$(tc-getF77) PCREQ= - - # blas - atlas_install_libs libf77blas.a -L. -latlas -lm - atlas_install_pc f77blas atlas-blas - alternatives_for blas atlas 0 \ - /usr/$(get_libdir)/pkgconfig/blas.pc atlas-blas.pc - - # blas threaded - if [[ -e libptf77blas.a ]]; then - atlas_install_libs libptf77blas.a -L. -latlas -lm ${PTLIBS} - atlas_install_pc ptf77blas atlas-blas-threads - alternatives_for blas atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/blas.pc atlas-blas-threads.pc - fi - - if use lapack; then - PCREQ="blas cblas" - # lapack - atlas_install_libs libatllapack.a \ - -L. -latlcblas -lf77blas -latlas -lm - atlas_install_pc atllapack atlas-lapack - alternatives_for lapack atlas 0 \ - /usr/$(get_libdir)/pkgconfig/lapack.pc atlas-lapack.pc - # lapack threaded - if [[ -e libptlapack.a ]]; then - atlas_install_libs libptlapack.a \ - -L. -lptcblas -lptf77blas -latlas -lm ${PTLIBS} - atlas_install_pc ptlapack atlas-lapack-threads - alternatives_for lapack atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/lapack.pc atlas-lapack-threads.pc - fi - fi - fi - - cd "${S}" || die - insinto /usr/include/${PN} - doins include/*.h - - cd "${S}/doc" || die - dodoc INDEX.txt AtlasCredits.txt ChangeLog - use doc && dodoc atlas*pdf cblas.pdf cblasqref.pdf - use doc && use fortran && dodoc f77blas*pdf - use doc && use fortran && use lapack && dodoc *lapack*pdf -} diff --git a/sci-libs/atlas/atlas-3.11.39.ebuild b/sci-libs/atlas/atlas-3.11.39.ebuild deleted file mode 100644 index f4b65140c..000000000 --- a/sci-libs/atlas/atlas-3.11.39.ebuild +++ /dev/null @@ -1,285 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -FORTRAN_NEEDED=fortran - -inherit alternatives-2 eutils fortran-2 linux-info multilib numeric toolchain-funcs versionator - -LAPACKP=lapack-3.7.0.tgz - -DESCRIPTION="Automatically Tuned Linear Algebra Software" -HOMEPAGE="http://math-atlas.sourceforge.net/" -SRC_URI="mirror://sourceforge/math-atlas/${PN}${PV}.tar.bz2 - fortran? ( lapack? ( http://www.netlib.org/lapack/${LAPACKP} ) )" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+deprecated doc +fortran generic ifko +lapack static-libs threads" - -REQUIRED_USE=" - deprecated? ( lapack ) - lapack? ( fortran )" - -S="${WORKDIR}/ATLAS" - -PATCHES=( - "${FILESDIR}"/${P}-dolastcomp.patch -) - -pkg_setup() { - local _cpufreq - for _cpufreq in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do - if [ -f ${_cpufreq} ]; then - if ! grep -q performance ${_cpufreq}; then - echo 2> /dev/null performance > ${_cpufreq} || \ - die "${PN} needs all cpu set to performance" - fi - fi - done - [[ -e /sys/devices/system/cpu/intel_pstate ]] \ - && die "Intel P-State driver detected. Please reboot with 'intel_pstate=disable' in your cmdline" - use fortran && fortran-2_pkg_setup - CONFIG_CHECK=" - !~X86_P4_CLOCKMOD - !~X86_INTEL_PSTATE - " - ERROR_KERNEL_X86_P4_CLOCKMOD="P4 Clockmod frequency scaling influences tuning and needs to be disabled at compile time." - ERROR_KERNEL_X86_INTEL_PSTATE="Intel Pstate frequency scaling influences tuning and needs to be disabled at compile time." - linux-info_pkg_setup -} - -src_configure() { - # hack needed to trick the flaky gcc detection - local mycc="$(type -P $(tc-getCC))" - [[ ${mycc} == *gcc* ]] && mycc=gcc - atlas_configure() { - local myconf=( - --prefix="${ED}/usr" - --libdir="${ED}/usr/$(get_libdir)" - --incdir="${ED}/usr/include" - --cc="$(tc-getCC)" - "-D c -DWALL" - "-C acg '${mycc}'" - "-F acg '${CFLAGS}'" - "-Ss pmake '\$(MAKE) ${MAKEOPTS}'" - ) - - # OpenMP shown to decreased performance over POSIX threads - # (at least in 3.9.x, see atlas-dev mailing list) - if use threads; then - if use generic; then # 2 threads is most generic - myconf+=( "-t 2" "-Si omp 0" ) - else - myconf+=( "-t -1" "-Si omp 0" ) - fi - else - myconf+=( "-t 0" "-Si omp 0" ) - fi - - if use amd64 || use ppc64 || use sparc; then - if [ ${ABI} = amd64 ] || [ ${ABI} = ppc64 ] || [ ${ABI} = sparc64 ] ; then - myconf+=( "-b 64" ) - elif [ ${ABI} = x86 ] || [ ${ABI} = ppc ] || [ ${ABI} = sparc32 ] ; then - myconf+=( "-b 32" ) - elif [ ${ABI} = x32 ] ; then - myconf+=( "-b 48" ) - else - myconf+=( "-b 64" ) - fi - elif use ppc || use x86; then - myconf+=( "-b 32" ) - elif use ia64; then - myconf+=( "-b 64" ) - fi - if use fortran; then - myconf+=( - "-C if '$(type -P $(tc-getFC))'" - "-F if '${FFLAGS}'" - ) - if use lapack; then - myconf+=( - "-Si latune 1" - "--with-netlib-lapack-tarfile=${DISTDIR}/${LAPACKP}" - ) - else - myconf+=( "-Si latune 0" ) - fi - else - myconf+=( "-Si latune 0" "--nof77" ) - fi - # generic stuff found by make make xprint_enums in atlas build dir - # basically assuming sse2+sse1 and 2 threads max - use generic && use x86 && myconf+=( "-V 384 -A 13") - use generic && use amd64 && myconf+=( "-V 384 -A 24") - - local confdir="${S}_${1}"; shift - myconf+=( $(usex ifko "--use-ifko" "") ) - myconf+=( $@ ) - mkdir "${confdir}" && cd "${confdir}" || die - # for debugging - echo ${myconf[@]} > myconf.out - "${S}"/configure ${myconf[@]} || die "configure in ${confdir} failed" - - if use deprecated; then - echo "BUILD_DEPRECATED=1" >> src/lapack/reference/make.inc.example || die - fi - } - - atlas_configure shared "-Fa alg -fPIC" ${EXTRA_ECONF} - use static-libs && atlas_configure static ${EXTRA_ECONF} -} - -src_compile() { - atlas_compile() { - pushd "${S}_${1}" > /dev/null || die - # atlas does its own parallel builds - emake -j1 build - cd lib || die - emake libclapack.a - [[ -e libptcblas.a ]] && emake libptclapack.a - popd > /dev/null || die - } - - atlas_compile shared - use static-libs && atlas_compile static -} - -src_test() { - cd "${S}_shared" || die - emake -j1 check time -} - -# transform a static archive into a shared library and install them -# atlas_install_libs <mylib.a> [extra link flags] -atlas_install_libs() { - local libname=$(basename ${1%.*}) - einfo "Installing ${libname}" - local soname=${libname}.so.$(get_major_version) - local _cmd - shift - pushd "${S}_shared"/lib > /dev/null - _cmd="${LINK:-$(tc-getCC)}" - _cmd+=" ${LDFLAGS} -shared -Wl,--no-undefined -Wl,-soname=${soname}" - _cmd+=" -Wl,--whole-archive ${libname}.a -Wl,--no-whole-archive" - _cmd+=" $@ -o ${soname}" - einfo "${_cmd}" - ${_cmd} || die "Creating ${soname} failed" - dolib.so ${soname} - dosym ${soname} /usr/$(get_libdir)/${soname%.*} - popd > /dev/null || die - use static-libs && dolib.a "${S}_static"/lib/${libname}.a -} - -# create and install a pkgconfig file -# atlas_install_pc <libname> <pkg name> [extra link flags] -atlas_install_pc() { - local libname=${1} ; shift - local pcname=${1} ; shift - local extra=() - [[ ${PCREQ} ]] && extra+=( --requires "${PCREQ}" ) - create_pkgconfig \ - --name "${pcname}" \ - --description "${PN} ${pcname}" \ - --libs "-L\${libdir} -l${libname} $@" \ - --libs-private "-L\${libdir} -latlas -lm ${PTLIBS}" \ - --cflags "-I\${includedir}/${PN}" \ - "${extra[@]}" \ - ${pcname} -} - -src_install() { - cd "${S}_shared/lib" || die - # rename to avoid collision with other packages - local l - for l in {,c}{blas,lapack}; do - if [[ -e lib${l}.a ]]; then - mv lib{,atl}${l}.a || die - if use static-libs; then - mv "${S}"_static/lib/lib{,atl}${l}.a || die - fi - fi - done - - [[ -e libptcblas.a ]] && PTLIBS="-lpthread" - - # atlas - atlas_install_libs libatlas.a -lm ${PTLIBS} - - # cblas - atlas_install_libs libatlcblas.a -L. -latlas -lm - atlas_install_pc atlcblas atlas-cblas - alternatives_for cblas atlas 0 \ - /usr/$(get_libdir)/pkgconfig/cblas.pc atlas-cblas.pc \ - /usr/include/cblas.h atlas/cblas.h - - # cblas threaded - if [[ -e libptcblas.a ]]; then - atlas_install_libs libptcblas.a -L. -latlas -lm ${PTLIBS} - atlas_install_pc ptcblas atlas-cblas-threads - alternatives_for cblas atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/cblas.pc atlas-cblas-threads.pc \ - /usr/include/cblas.h atlas/cblas.h - fi - - if use lapack; then - PCREQ="cblas" - # clapack - atlas_install_libs libatlclapack.a -L. -latlcblas -latlas -lm - atlas_install_pc atlclapack atlas-clapack - - # clapack threaded - if [[ -e libptclapack.a ]]; then - atlas_install_libs libptclapack.a -L. -lptcblas -latlas -lm ${PTLIBS} - atlas_install_pc ptclapack atlas-clapack-threads - fi - fi - - if use fortran; then - LINK=$(tc-getF77) PCREQ= - - # blas - atlas_install_libs libf77blas.a -L. -latlas -lm - atlas_install_pc f77blas atlas-blas - alternatives_for blas atlas 0 \ - /usr/$(get_libdir)/pkgconfig/blas.pc atlas-blas.pc - - # blas threaded - if [[ -e libptf77blas.a ]]; then - atlas_install_libs libptf77blas.a -L. -latlas -lm ${PTLIBS} - atlas_install_pc ptf77blas atlas-blas-threads - alternatives_for blas atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/blas.pc atlas-blas-threads.pc - fi - - if use lapack; then - PCREQ="blas cblas" - # lapack - atlas_install_libs libatllapack.a \ - -L. -latlcblas -lf77blas -latlas -lm - atlas_install_pc atllapack atlas-lapack - alternatives_for lapack atlas 0 \ - /usr/$(get_libdir)/pkgconfig/lapack.pc atlas-lapack.pc - # lapack threaded - if [[ -e libptlapack.a ]]; then - atlas_install_libs libptlapack.a \ - -L. -lptcblas -lptf77blas -latlas -lm ${PTLIBS} - atlas_install_pc ptlapack atlas-lapack-threads - alternatives_for lapack atlas-threads 0 \ - /usr/$(get_libdir)/pkgconfig/lapack.pc atlas-lapack-threads.pc - fi - fi - fi - - cd "${S}" || die - insinto /usr/include/${PN} - doins include/*.h - - cd "${S}/doc" || die - dodoc INDEX.txt AtlasCredits.txt ChangeLog - use doc && dodoc atlas*pdf cblas.pdf cblasqref.pdf - use doc && use fortran && dodoc f77blas*pdf - use doc && use fortran && use lapack && dodoc *lapack*pdf -} diff --git a/sci-libs/atlas/files/atlas-3.10.0-x32-support.patch b/sci-libs/atlas/files/atlas-3.10.0-x32-support.patch deleted file mode 100644 index 82e698069..000000000 --- a/sci-libs/atlas/files/atlas-3.10.0-x32-support.patch +++ /dev/null @@ -1,93 +0,0 @@ ---- ATLAS/CONFIG/src/SpewMakeInc.c.orig 2012-05-24 00:56:27.000000000 +0200 -+++ ATLAS/CONFIG/src/SpewMakeInc.c 2012-06-06 15:17:40.000000000 +0200 -@@ -370,7 +370,7 @@ - } - *f2cdefs = fdefs; - *ecdefs = cdefs; -- if (*ptrbits != 32 && *ptrbits != 64) -+ if (*ptrbits != 32 && *ptrbits != 64 && *ptrbits != 48) - *ptrbits = 0; - } - char *GetPtrbitsFlag(enum OSTYPE OS, enum MACHTYPE arch, int ptrbits, -@@ -418,6 +418,8 @@ - sp = "-m64"; - else if (ptrbits == 32) - sp = "-m32"; -+ else if (ptrbits == 48 && MachIsX86(arch)) -+ sp = "-mx32"; - } - return(sp); - } ---- ATLAS/CONFIG/src/gnuccw.c.orig 2012-06-06 15:30:05.000000000 +0200 -+++ ATLAS/CONFIG/src/gnuccw.c 2012-06-06 15:33:29.000000000 +0200 -@@ -363,7 +363,7 @@ - * -m64/32 args get passed to comp, asm & linker - */ - else if (at->len == 4 && -- (!strcmp(at->arg, "-m64") || !strcmp(at->arg, "-m32"))) -+ (!strcmp(at->arg, "-m64") || !strcmp(at->arg, "-m32") || !strcmp(at->arg, "-mx32"))) - { - if (at->arg[2] == '6') - *BITS = 64; ---- ATLAS/CONFIG/src/gcc3p.c.orig 2012-06-06 15:29:38.000000000 +0200 -+++ ATLAS/CONFIG/src/gcc3p.c 2012-06-06 15:31:17.000000000 +0200 -@@ -352,7 +352,7 @@ - * -m64/32 args get passed to comp, asm & linker - */ - else if (at->len == 4 && -- (!strcmp(at->arg, "-m64") || !strcmp(at->arg, "-m32"))) -+ (!strcmp(at->arg, "-m64") || !strcmp(at->arg, "-m32") || !strcmp(at->arg, "-mx32"))) - { - if (at->arg[2] == '6') - { ---- ATLAS/CONFIG/src/gnuf90w.c.orig 2012-06-06 15:29:28.000000000 +0200 -+++ ATLAS/CONFIG/src/gnuf90w.c 2012-06-06 15:30:36.000000000 +0200 -@@ -363,7 +363,7 @@ - * -m64/32 args get passed to comp, asm & linker - */ - else if (at->len == 4 && -- (!strcmp(at->arg, "-m64") || !strcmp(at->arg, "-m32"))) -+ (!strcmp(at->arg, "-m64") || !strcmp(at->arg, "-m32") || !strcmp(at->arg, "-mx32"))) - { - if (at->arg[2] == '6') - *BITS = 64; ---- ATLAS/CONFIG/src/probe_comp.c.orig 2012-06-06 15:29:51.000000000 +0200 -+++ ATLAS/CONFIG/src/probe_comp.c 2012-06-06 15:32:50.000000000 +0200 -@@ -614,6 +614,8 @@ - sp = "-m64"; - else if (ptrbits == 32) - sp = "-m32"; -+ else if (ptrbits == 48) -+ sp = "-mx32"; - } - return(sp); - } -@@ -1691,7 +1693,7 @@ - } - } - } -- if (*ptrbits != 32 && *ptrbits != 64) -+ if (*ptrbits != 32 && *ptrbits != 64 && *ptrbits != 48) - *ptrbits = 0; - } - ---- ATLAS/CONFIG/src/config.c.orig 2012-06-06 15:59:53.000000000 +0200 -+++ ATLAS/CONFIG/src/config.c 2012-06-06 16:00:07.000000000 +0200 -@@ -183,7 +183,7 @@ - i = sprintf(ln, "make IRun_comp args=\"-v %d -o atlconf.txt -O %d -A %d -Si nof77 %d -V %d %s %s", - verb, OS, arch, nof77, vecext, targarg, flags); - free(flags); -- if (ptrbits == 64 || ptrbits == 32) -+ if (ptrbits == 64 || ptrbits == 32 || ptrbits == 48) - { - sprintf(stmp, "-b %d", ptrbits); - ln = NewAppendedString(ln, stmp); -@@ -1272,7 +1272,7 @@ - } - *f2cdefs = fdefs; - *ecdefs = cdefs; -- if (*ptrbits != 32 && *ptrbits != 64) -+ if (*ptrbits != 32 && *ptrbits != 64 && *ptrbits != 48) - *ptrbits = 0; - } - diff --git a/sci-libs/atlas/files/atlas-3.11.39-dolastcomp.patch b/sci-libs/atlas/files/atlas-3.11.39-dolastcomp.patch deleted file mode 100644 index 3cd554cf4..000000000 --- a/sci-libs/atlas/files/atlas-3.11.39-dolastcomp.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/threads/blas/level3/ATL_tammm_G.c b/src/threads/blas/level3/ATL_tammm_G.c -index a43a08b..77c78f4 100644 ---- a/src/threads/blas/level3/ATL_tammm_G.c -+++ b/src/threads/blas/level3/ATL_tammm_G.c -@@ -479,7 +479,7 @@ static void DoCompNoCopy(ATL_tamm_gOOO_t *pd, ATL_UINT rank, TYPE *wC) - #ifndef TCPLX - #undef rC - #endif --void DoLastComp(ATL_tamm_gOOO_t *pd, ATL_UINT rank, TYPE *wC) -+static void DoLastComp(ATL_tamm_gOOO_t *pd, ATL_UINT rank, TYPE *wC) - { - ipinfo_t *ip=pd->ip; - TYPE *wA=pd->wA, *wB=pd->wB, *C=pd->C; diff --git a/sci-libs/atlas/files/format-security.patch b/sci-libs/atlas/files/format-security.patch deleted file mode 100644 index f3f45d774..000000000 --- a/sci-libs/atlas/files/format-security.patch +++ /dev/null @@ -1,198 +0,0 @@ - bin/atlas_install.c | 46 +++++++++++++++++++++++----------------------- - 1 file changed, 23 insertions(+), 23 deletions(-) - -diff --git a/bin/atlas_install.c b/bin/atlas_install.c -index 2753cbf..21b716d 100644 ---- a/bin/atlas_install.c -+++ b/bin/atlas_install.c -@@ -483,9 +483,9 @@ void PrintStartStop(FILE *fp0, FILE *fp1, int nspc, int START, int sec, - fprintf(fp1, "\n\n"); - } - if (fp0) -- fprintf(fp0, ln); -+ fprintf(fp0, "%s", ln); - if (fp1) -- fprintf(fp1, ln); -+ fprintf(fp1, "%s", ln); - } - - int LnIsCont(char *ln) -@@ -776,11 +776,11 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - if (DefInstall) - { - sprintf(ln, "%s IRunMMDef pre=%c %s %s\n", fmake, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "BUILDING BLOCK MATMUL TUNE", ln2); - } - sprintf(ln, "%s %s pre=%c %s %s\n", fmake, fnam, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "BUILDING BLOCK MATMUL TUNE", ln2); - PrintBanner(ln2, 0, 2, ip+1, 1); - } -@@ -836,7 +836,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - if (!FileExists(fnam)) - { - sprintf(ln, "%s %s pre=%c %s %s", fmake, fnam, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "BUILDING BLOCK MATMUL TUNE", ln2); - } - fp = fopen(fnam, "r"); -@@ -854,7 +854,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - { - sprintf(ln, "%s %s pre=%c nb=%d %s %s", - fmake, fnam, pre, ncnb, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "BUILDING BLOCK MATMUL TUNE", ln2); - } - GetInstLogFile(fnam, pre, &muladd, &pf, &lat, &nb, &mu, &nu, &ku, -@@ -881,7 +881,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - } - - sprintf(ln, "%s MMinstall pre=%c %s %s\n", fmake, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "BUILDING BLOCK MATMUL TUNE", ln2); - - fprintf(fpsum, "\n"); -@@ -896,7 +896,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - PrintBanner(ln2, 1, 2, ip+1, 2); - sprintf(ln, "%s INSTALL_LOG/atlas_cacheedge.h pre=%c %s %s\n", - fmake, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "CACHEEDGE DETECTION", ln2); - PrintBanner(ln2, 0, 2, ip+1, 2); - } -@@ -922,7 +922,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - { - sprintf(ln, "%s %s pre=%c %s %s\n", - fmake, ln3, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "CACHEEDGE DETECTION", ln2); - } - fp = fopen(ln3, "r"); -@@ -955,7 +955,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - "\n\n STAGE 2-%d-3: COPY/NO-COPY CROSSOVER DETECTION\n", ip+1); - - sprintf(ln, "%s %s pre=%c %s %s\n", fmake, fnam, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "COPY/NO-COPY CROSSOVER DETECTION", ln2); - PrintBanner(ln2, 0, 2, ip+1, 3); - fprintf(stdout, " done.\n"); -@@ -970,17 +970,17 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - { - sprintf(ln, "%s INSTALL_LOG/atlas_%ctrsmXover.h pre=%c %s %s\n", - fmake, pre, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "L3BLAS TUNING", ln2); - } - else - { - sprintf(ln, "%s Il3lib pre=%c %s %s\n", fmake, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "L3BLAS TUNING", ln2); - } - sprintf(ln, "%s %ccblaslib %s %s\n", fmake, pre, redir, ln2); /* cblas */ -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "L3BLAS TUNING", ln2); - PrintBanner(ln2, 0, 2, ip+1, 5); - PrintStartStop(stdout, fpsum, 3, 0, 2, ip+1, 4, "L3BLAS TUNE"); -@@ -993,7 +993,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/%cMVNTUNE.LOG", pre); - PrintBanner(ln2, 1, 2, ip+1, 7); - sprintf(ln, "%s %s pre=%c %s %s\n", fmake, fnam, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "MVNTUNE", ln2); - ATL_Cassert(FileIsThere(fnam), "MVNTUNE", ln2); - PrintBanner(ln2, 0, 2, ip+1, 7); -@@ -1026,7 +1026,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/%cMVTTUNE.LOG", pre); - PrintBanner(ln2, 1, 2, ip+1, 7); - sprintf(ln, "%s %s pre=%c %s %s\n", fmake, fnam, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "MVTTUNE", ln2); - ATL_Cassert(FileIsThere(fnam), "MVTTUNE", ln2); - PrintBanner(ln2, 0, 2, ip+1, 7); -@@ -1061,7 +1061,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/%cR1TUNE.LOG", pre); - PrintBanner(ln2, 1, 2, ip+1, 7); - sprintf(ln, "%s %s pre=%c %s %s\n", fmake, fnam, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "R1TUNE", ln2); - ATL_Cassert(FileIsThere(fnam), "R1TUNE", ln2); - PrintBanner(ln2, 0, 2, ip+1, 7); -@@ -1099,7 +1099,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/LIBBUILD.LOG"); - PrintBanner(ln2, 1, 3, 1, 1); - sprintf(ln, "%s IBuildLibs %s %s\n", fmake, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "LIBRARY BUILD", ln2); - ATL_Cassert(FileIsThere(fnam), "LIBRARY BUILD", ln2); - PrintBanner(ln2, 0, 3, 1, 1); -@@ -1110,7 +1110,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - PrintBanner(ln2, 1, 4, 1, 1); - PrintStartStop(stdout, fpsum, 3, 1, 4, 1, 1, "TRSM TUNE"); - sprintf(ln, "%s IPostTune %s %s\n", fmake, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "POST-BUILD TUNE", ln2); - PrintStartStop(stdout, fpsum, 3, 0, 4, 1, 0, NULL); - ATL_Cassert(FileIsThere(fnam), "POST-BUILD TUNE", ln2); -@@ -1121,7 +1121,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/PTTUNE.LOG"); - PrintBanner(ln2, 1, 4, 2, 0); - sprintf(ln, "%s IPTtune %s %s\n", fmake, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "THREADING TUNE", ln2); - PrintStartStop(stdout, fpsum, 3, 0, 4, 2, 0, "THREADING TUNE"); - -@@ -1129,7 +1129,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/LIBPTBUILD.LOG"); - PrintBanner(ln2, 1, 4, 2, 1); - sprintf(ln, "%s IBuildPtlibs %s %s\n", fmake, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "PTLIBRARY BUILD", ln2); - PrintBanner(ln2, 0, 4, 2, 1); - PrintStartStop(stdout, fpsum, 3, 0, 4, 2, 1, "THREADING BUILD"); -@@ -1144,7 +1144,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - PrintStartStop(stdout, fpsum, 6, 1, 4, 3, ip+1, ln2); - sprintf(ln2, "INSTALL_LOG/%cLATUNE.LOG", pre); - PrintBanner(ln2, 1, 4, 3, ip+1); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - sprintf(ln, "%s ILATune pre=%c %s %s\n", fmake, pre, redir, ln2); - ATL_Cassert(system(ln)==0, "LAPACK TUNE", ln2); - PrintStartStop(stdout, fpsum, 6, 0, 4, 3, ip+1, NULL); -@@ -1162,7 +1162,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - #else - sprintf(ln, "%s IBuildLibs %s %s\n", fmake, redir, ln2); - #endif -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "STATIC LIBRARY UPDATE", ln2); - PrintBanner(ln2, 0, 5, 1, 1); - PrintStartStop(stdout, fpsum, 3, 0, 5, 1, 0, "FINAL STATIC LIBRARY UPDATE"); -@@ -1172,7 +1172,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/LIBDYBUILD.LOG"); - PrintBanner(ln2, 1, 5, 2, 1); - sprintf(ln, "%s IBuildDyLibs %s %s\n", fmake, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "DYLIBRARY BUILD", ln2); - PrintBanner(ln2, 0, 5, 2, 1); - PrintStartStop(stdout, fpsum, 3, 0, 5, 2, 0, NULL); diff --git a/sci-libs/atlas/metadata.xml b/sci-libs/atlas/metadata.xml deleted file mode 100644 index 616e09a4c..000000000 --- a/sci-libs/atlas/metadata.xml +++ /dev/null @@ -1,24 +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"> -ATLAS is an approach for the automatic generation and optimization of -numerical software. Currently ATLAS supplies optimized versions for the -complete set of linear algebra kernels known as the Basic Linear Algebra -Subroutines (BLAS) for both c and F77 interfaces. It can also build -a subset of the linear algebra routine LAPACK library or the full -LAPACK using the reference LAPACK from Netlib. -</longdescription> - <use> - <flag name="deprecated">Build deprecated routines</flag> - <flag name="generic">Build atlas assuming a fairly generic architecture (sse2 for x86, core2 for amd64)</flag> - <flag name="ifko">Use iFKO to improve ATLAS performance (ATTENTION!!! Increases builtime enormously)</flag> - </use> - <upstream> - <remote-id type="sourceforge">math-atlas</remote-id> - </upstream> -</pkgmetadata> |