diff options
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/openblas/ChangeLog | 22 | ||||
-rw-r--r-- | sci-libs/openblas/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/openblas/files/openblas-aliasing.patch | 11 | ||||
-rw-r--r-- | sci-libs/openblas/files/openblas-sharedlibs.patch | 45 | ||||
-rw-r--r-- | sci-libs/openblas/metadata.xml | 14 | ||||
-rw-r--r-- | sci-libs/openblas/openblas-9999.ebuild | 110 |
6 files changed, 0 insertions, 207 deletions
diff --git a/sci-libs/openblas/ChangeLog b/sci-libs/openblas/ChangeLog deleted file mode 100644 index 541e0cc..0000000 --- a/sci-libs/openblas/ChangeLog +++ /dev/null @@ -1,22 +0,0 @@ -# ChangeLog for sci-libs/openblas -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 20 Jun 2011; Sébastien Fabbro <bicatali@gentoo.org> openblas-9999.ebuild: - Added more include files, thanks François Bissey for his note - - 31 May 2011; Sébastien Fabbro <bicatali@gentoo.org> openblas-9999.ebuild, - +files/openblas-aliasing.patch: - Fixed shared libs. Make ebuild easier to debug with a generated rule Makefile - instead of dynamic. Added a aliasing patch. Switched to EAPI4. - - 23 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> openblas-9999.ebuild, - files/openblas-sharedlibs.patch: - fixed ldflags propagation - -*openblas-9999 (23 Feb 2011) - - 23 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> +openblas-9999.ebuild, - +files/openblas-sharedlibs.patch, +metadata.xml: - Initial import - diff --git a/sci-libs/openblas/Manifest b/sci-libs/openblas/Manifest deleted file mode 100644 index f2b1c5f..0000000 --- a/sci-libs/openblas/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX openblas-aliasing.patch 421 RMD160 1c4b38a0145f937f4c35afa03ec54196646ff311 SHA1 08a33e39d9e0a753e82b9298da73094d79311cbd SHA256 8d7c2fff88c9a51b3bc419897194bbf513fa96b9dbb6b9063c9a8e9e0d3c7773 -AUX openblas-sharedlibs.patch 1929 RMD160 87db891bb2e0b538da7a4f21c10c65b78149a26c SHA1 031912957004745f5e68c2cdf3899f0e80118377 SHA256 fc5f014d6b81a481a9c9c29d82de07f5a5182d9355f90071ba89b680f7e09c1b -EBUILD openblas-9999.ebuild 2920 RMD160 f89a457ee107ba206f3096109beed45f254a6e59 SHA1 8996ac70e009300e376b5e812f011565d260168e SHA256 a670c80e9234c1166dd4f3c655ab67f3766bc12305f95a671fc4aedad5cee22a -MISC ChangeLog 836 RMD160 e1046a7b2ea71a13db8b27862669d617c1ea57e1 SHA1 1ac975f387e7d1e0ca4628fa958c3dcaeced6e6b SHA256 f31e44ca1bdf5569e79283645c1f4ac5a43cf8c4cd7d6c5597c331edba004255 -MISC metadata.xml 569 RMD160 4405ffe0e8941f0806ce0b7f984052be2ee4ed8b SHA1 ae10082e791ba7635e3c5986b0842fd74ff9ef38 SHA256 ddd3fa2f35204325b559955bc761c1c837265b9fc3ecc31dac760bc30fa082d2 diff --git a/sci-libs/openblas/files/openblas-aliasing.patch b/sci-libs/openblas/files/openblas-aliasing.patch deleted file mode 100644 index 8c59b1c..0000000 --- a/sci-libs/openblas/files/openblas-aliasing.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- driver/others/init.c.orig 2011-05-31 18:59:24.000000000 +0100 -+++ driver/others/init.c 2011-05-31 20:18:51.000000000 +0100 -@@ -261,7 +261,7 @@ - for (node = 0; node < MAX_NODES; node ++) common -> node_info[node] = 0; - - while ((dir = readdir(dp)) != NULL) { -- if (*(unsigned int *) dir -> d_name == 0x065646f6eU) { -+ if (*(char *) dir -> d_name == 0x065646f6eU) { - - node = atoi(&dir -> d_name[4]); - diff --git a/sci-libs/openblas/files/openblas-sharedlibs.patch b/sci-libs/openblas/files/openblas-sharedlibs.patch deleted file mode 100644 index 3ebe307..0000000 --- a/sci-libs/openblas/files/openblas-sharedlibs.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- exports/Makefile.orig 2010-11-12 05:30:06.000000000 +0000 -+++ exports/Makefile 2010-11-12 06:33:41.000000000 +0000 -@@ -97,10 +97,10 @@ - so : ../$(LIBSONAME) - - ../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c -- $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \ -- -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \ -- -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -- $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. -+ $(CC) $(LDFLAGS) -shared \ -+ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive -Wl,--soname=$(LIBSONAME) \ -+ -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -o ../$(LIBSONAME) -+ $(CC) $(CFLAGS) -w linktest.c ../$(LIBSONAME) $(FEXTRALIB) -o linktest && echo OK. - rm -f linktest - - endif -@@ -110,10 +110,10 @@ - so : ../$(LIBSONAME) - - ../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c -- $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \ -- -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \ -- -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -- $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. -+ $(CC) $(LDFLAGS) -shared \ -+ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive -Wl,--soname=$(LIBSONAME) \ -+ -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -o ../$(LIBSONAME) -+ $(CC) $(CFLAGS) -w linktest.c ../$(LIBSONAME) $(FEXTRALIB) -o linktest && echo OK. - rm -f linktest - - endif -@@ -129,9 +129,9 @@ - ifeq ($(OSNAME), SunOS) - - so : ../$(LIBSONAME) -- $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \ -- -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(EXTRALIB) -- $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. -+ $(CC) $(LDFLAGS) -shared -Wl,--soname=$(LIBSONAME) \ -+ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(EXTRALIB) -o ../$(LIBSONAME) -+ $(CC) $(CFLAGS) -w linktest.c ../$(LIBSONAME) $(FEXTRALIB) -o linktest && echo OK. - rm -f linktest - - endif diff --git a/sci-libs/openblas/metadata.xml b/sci-libs/openblas/metadata.xml deleted file mode 100644 index fd35350..0000000 --- a/sci-libs/openblas/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>sci</herd> -<longdescription lang="en"> - OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD - version. See <pkg>sci-libs/gotoblas2</pkg> for more on GotoBLAS2. -</longdescription> -<use> - <flag name='int64'>Build the 64 bits integer library</flag> - <flag name='incblas'>Build the CBLAS interface</flag> - <flag name='dynamic'>Build dynamic architecture detection at run time (for multi targets)</flag> -</use> -</pkgmetadata> diff --git a/sci-libs/openblas/openblas-9999.ebuild b/sci-libs/openblas/openblas-9999.ebuild deleted file mode 100644 index 143c24e..0000000 --- a/sci-libs/openblas/openblas-9999.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit eutils toolchain-funcs alternatives-2 git-2 - -DESCRIPTION="Optimized BLAS library based on GotoBLAS2" -HOMEPAGE="http://xianyi.github.com/OpenBLAS/" -EGIT_REPO_URI="git://github.com/xianyi/OpenBLAS.git" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="+incblas int64 dynamic openmp static-libs threads" - -RDEPEND="virtual/fortran" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYPN}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-{sharedlibs,aliasing}.patch - # respect LDFLAGS - sed -i -e '/^LDFLAGS\s*=/d' Makefile.* || die - # respect CFLAGS only if dynamic flag not enabled - if ! use dynamic; then - sed -i \ - -e "/^COMMON_OPT/s/-O2/${CFLAGS}/" \ - Makefile.rule || die - fi - # fix executable stacks - local i - for i in $(find . -name \*.S); do - cat >> ${i} <<-EOF - #if defined(__ELF__) - .section .note.GNU-stack,"",%progbits - #endif - EOF - done -} - -src_configure() { - local use_openmp=$(use openmp && echo 1) - use threads && use openmp && use_openmp="" && \ - einfo "openmp and threads enabled: using threads" - sed -i \ - -e "s:^#\s*\(NO_LAPACK\)\s*=.*:\1=1:" \ - -e "s:^#\s*\(CC\)\s*=.*:\1=$(tc-getCC):" \ - -e "s:^#\s*\(FC\)\s*=.*:\1=$(tc-getFC):" \ - -e "s:^#\s*\(USE_THREAD\)\s*=.*:\1=$(use threads && echo 1 || echo 0):" \ - -e "s:^#\s*\(USE_OPENMP\)\s*=.*:\1=${use_openmp}:" \ - -e "s:^#\s*\(DYNAMIC_ARCH\)\s*=.*:\1=$(use dynamic && echo 1):" \ - -e "s:^#\s*\(INTERFACE64\)\s*=.*:\1=$(use int64 && echo 1):" \ - -e "s:^#\s*\(NO_CBLAS\)\s*=.*:\1=$(use incblas || echo 1):" \ - Makefile.rule || die -} - -src_compile() { - mkdir solibs - emake libs shared && mv *.so solibs/ - use static-libs && emake clean && emake libs NEED_PIC= -} - -src_test() { - emake tests -} - -src_install() { - local profname=${PN} threads - use int64 && profname=${profname}-int64 - if use threads; then - threads="-pthread" - profname=${profname}-threads - elif use openmp; then - profname=${profname}-openmp - fi - - dolib.so solibs/lib*.so - use static-libs && dolib.a lib*.a - - # create pkg-config file and associated eselect file - cat <<-EOF > ${profname}.pc - prefix=${EPREFIX}/usr - libdir=\${prefix}/$(get_libdir) - includedir=\${prefix}/include - Name: ${PN} - Description: ${DESCRIPTION} - Version: ${PV} - URL: ${HOMEPAGE} - Libs: -L\${libdir} -lopenblas -lm ${threads} - EOF - insinto /usr/$(get_libdir)/pkgconfig - doins ${profname}.pc - - alternatives_for blas ${profname} 0 \ - "/usr/$(get_libdir)/pkgconfig/blas.pc" "${profname}.pc" - - if use incblas; then - insinto /usr/include/${PN} - doins cblas.h common*.h config.h param.h - echo >> ${profname}.pc "Cflags: -I\${includedir}/${PN}" - alternatives_for cblas ${profname} 0 \ - "/usr/$(get_libdir)/pkgconfig/cblas.pc" "${profname}.pc" \ - "/usr/include/cblas.h" "${PN}/cblas.h" - fi - dodoc GotoBLAS_{01Readme,03FAQ,04FAQ,05LargePage,06WeirdPerformance}.txt -} |