From 3cee28e738f66fe9d221100afbddf40d67c68274 Mon Sep 17 00:00:00 2001 From: Aisha Tammy Date: Sun, 15 Nov 2020 15:51:28 +0100 Subject: sci-libs/lapack-reference: drop package * included in sci-libs/lapack Bug: https://bugs.gentoo.org/746962 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy Signed-off-by: David Seifert --- sci-libs/lapack-reference/Manifest | 4 - .../files/eselect.lapack.reference | 4 - .../files/eselect.lapack.reference-r1 | 4 - .../lapack-reference-3.2.1-parallel-make.patch | 112 --------------------- .../lapack-reference-3.6.0-fix-build-system.patch | 92 ----------------- .../lapack-reference-3.7.0-fix-build-system.patch | 56 ----------- .../lapack-reference-3.2.1-r4.ebuild | 100 ------------------ .../lapack-reference/lapack-reference-3.6.0.ebuild | 90 ----------------- .../lapack-reference/lapack-reference-3.7.0.ebuild | 97 ------------------ sci-libs/lapack-reference/metadata.xml | 19 ---- sci-libs/lapack/lapack-3.8.0-r1.ebuild | 1 - sci-libs/lapack/lapack-3.8.0.ebuild | 1 - sci-libs/lapack/lapack-3.9.0.ebuild | 1 - 13 files changed, 581 deletions(-) delete mode 100644 sci-libs/lapack-reference/Manifest delete mode 100644 sci-libs/lapack-reference/files/eselect.lapack.reference delete mode 100644 sci-libs/lapack-reference/files/eselect.lapack.reference-r1 delete mode 100644 sci-libs/lapack-reference/files/lapack-reference-3.2.1-parallel-make.patch delete mode 100644 sci-libs/lapack-reference/files/lapack-reference-3.6.0-fix-build-system.patch delete mode 100644 sci-libs/lapack-reference/files/lapack-reference-3.7.0-fix-build-system.patch delete mode 100644 sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild delete mode 100644 sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild delete mode 100644 sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild delete mode 100644 sci-libs/lapack-reference/metadata.xml (limited to 'sci-libs') diff --git a/sci-libs/lapack-reference/Manifest b/sci-libs/lapack-reference/Manifest deleted file mode 100644 index 82ed4199cf2e..000000000000 --- a/sci-libs/lapack-reference/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST lapack-3.2.1.tgz 4792502 BLAKE2B e9d39c958406db05383ebda7e781ae6c2d0b1f3896d4071a33bec0c7038f9ffca3e254f8ef36aa27118c83a1e5df9110c57ce90ab897e0f8f0ca5750d20cba0e SHA512 a89b88540f8e5b05b7c58e8e301a5068729ceb35fcb2143edfff1644458ff1a375e5185492cf116b50409fe0c17b51c253a2987f4df83e9f9c3968a4b77e5d97 -DIST lapack-3.6.0.tgz 6792324 BLAKE2B 438f3376b63b38ef0fe70f6becac847816f3a11c01f5ab237dc0d941792ceb54dbd2f8dc22d56286f5dab3499289ed94e67521ea951a98973c9640abc294ad6c SHA512 bc50441d415ef8896dd7626d77c6104184b996e758704366288089f03d4c99d068e33153b0d13305310886017e5d2e716130f812a95cfcad36ef37fe20417ab8 -DIST lapack-3.7.0.tgz 7359812 BLAKE2B 20aa42e22d8c920d1360afe41ceec7b36f6cd5fbe43ca9d7848ef7cc45a64a0314cb1321941c1a7c03654f41e28ec805445882ded0ca0ea07674e70b66cba6b5 SHA512 e4f4c7d0ba8a096eeb813160c6dbcdd535647df6b2ad5beac9181908158956b31d1a9554ec9b9836fd44fe7404c1f377b297cbb20d744f20d70e357fd246c91b -DIST lapack-reference-3.2.1-autotools.patch.bz2 13338 BLAKE2B 1be1d2c273b92a106a9c914f17e0350b44fc42b3837ee48b040d7a61802bf5036c30e8800ec613ccf12a082a7801cad6878b6ddcbd4db32e27a06b7462f8ecd2 SHA512 957e8c7646a0d6ade9c0dfdaf2aa665a01f932dfda376ba1db164106fb174793e6504cdbed7daf158f23bb69502937963cb2e2d45ac720980d3832f6fc0fedbd diff --git a/sci-libs/lapack-reference/files/eselect.lapack.reference b/sci-libs/lapack-reference/files/eselect.lapack.reference deleted file mode 100644 index fe1a777b2dc2..000000000000 --- a/sci-libs/lapack-reference/files/eselect.lapack.reference +++ /dev/null @@ -1,4 +0,0 @@ -lapack/reference/liblapack.so /usr/@LIBDIR@/liblapack.so -lapack/reference/liblapack.so.0 /usr/@LIBDIR@/liblapack.so.0 -lapack/reference/liblapack.a /usr/@LIBDIR@/liblapack.a -../lapack/reference/lapack.pc /usr/@LIBDIR@/pkgconfig/lapack.pc diff --git a/sci-libs/lapack-reference/files/eselect.lapack.reference-r1 b/sci-libs/lapack-reference/files/eselect.lapack.reference-r1 deleted file mode 100644 index b6c4db325593..000000000000 --- a/sci-libs/lapack-reference/files/eselect.lapack.reference-r1 +++ /dev/null @@ -1,4 +0,0 @@ -lapack/reference/liblapack.so /usr/@LIBDIR@/liblapack.so -lapack/reference/liblapack.so.3 /usr/@LIBDIR@/liblapack.so.3 -lapack/reference/liblapack.a /usr/@LIBDIR@/liblapack.a -../lapack/reference/lapack.pc /usr/@LIBDIR@/pkgconfig/lapack.pc diff --git a/sci-libs/lapack-reference/files/lapack-reference-3.2.1-parallel-make.patch b/sci-libs/lapack-reference/files/lapack-reference-3.2.1-parallel-make.patch deleted file mode 100644 index 72bc71ca2d95..000000000000 --- a/sci-libs/lapack-reference/files/lapack-reference-3.2.1-parallel-make.patch +++ /dev/null @@ -1,112 +0,0 @@ -diff -Nauru lapack-3.2.1.old/TESTING/EIG/Makefile lapack-3.2.1/TESTING/EIG/Makefile ---- lapack-3.2.1.old/TESTING/EIG/Makefile 2008-11-17 17:51:24.000000000 -0500 -+++ lapack-3.2.1/TESTING/EIG/Makefile 2009-12-12 11:23:22.000000000 -0500 -@@ -126,25 +126,25 @@ - double: ../xeigtstd - complex16: ../xeigtstz - --../xeigtsts: $(SEIGTST) $(SCIGTST) $(AEIGTST) ; \ -- $(LOADER) $(LOADOPTS) -o xeigtsts \ -- $(SEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) \ -- ../../$(LAPACKLIB) $(BLASLIB) && mv xeigtsts $@ -- --../xeigtstc: $(CEIGTST) $(SCIGTST) $(AEIGTST) ; \ -- $(LOADER) $(LOADOPTS) -o xeigtstc \ -- $(CEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) \ -- ../../$(LAPACKLIB) $(BLASLIB) && mv xeigtstc $@ -- --../xeigtstd: $(DEIGTST) $(DZIGTST) $(AEIGTST) ; \ -- $(LOADER) $(LOADOPTS) -o xeigtstd \ -- $(DEIGTST) $(DZIGTST) $(AEIGTST) ../../$(TMGLIB) \ -- ../../$(LAPACKLIB) $(BLASLIB) && mv xeigtstd $@ -- --../xeigtstz: $(ZEIGTST) $(DZIGTST) $(AEIGTST) ; \ -- $(LOADER) $(LOADOPTS) -o xeigtstz \ -- $(ZEIGTST) $(DZIGTST) $(AEIGTST) ../../$(TMGLIB) \ -- ../../$(LAPACKLIB) $(BLASLIB) && mv xeigtstz $@ -+../xeigtsts: $(SEIGTST) $(SCIGTST) $(AEIGTST) -+ $(LOADER) $(LOADOPTS) \ -+ $(SEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) \ -+ ../../$(LAPACKLIB) $(BLASLIB) -o ../xeigtsts -+ -+../xeigtstc: $(CEIGTST) $(SCIGTST) $(AEIGTST) -+ $(LOADER) $(LOADOPTS) \ -+ $(CEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) \ -+ ../../$(LAPACKLIB) $(BLASLIB) -o ../xeigtstc -+ -+../xeigtstd: $(DEIGTST) $(DZIGTST) $(AEIGTST) -+ $(LOADER) $(LOADOPTS) \ -+ $(DEIGTST) $(DZIGTST) $(AEIGTST) ../../$(TMGLIB) \ -+ ../../$(LAPACKLIB) $(BLASLIB) -o ../xeigtstd -+ -+../xeigtstz: $(ZEIGTST) $(DZIGTST) $(AEIGTST) -+ $(LOADER) $(LOADOPTS) \ -+ $(ZEIGTST) $(DZIGTST) $(AEIGTST) ../../$(TMGLIB) \ -+ ../../$(LAPACKLIB) $(BLASLIB) -o ../xeigtstz - - $(AEIGTST): $(FRC) - $(SCIGTST): $(FRC) -@@ -169,4 +169,5 @@ - zchkee.o: zchkee.f - $(FORTRAN) $(DRVOPTS) -c $< -o $@ - --.f.o : ; $(FORTRAN) $(OPTS) -c $< -o $@ -+.f.o : -+ $(FORTRAN) $(OPTS) -c $< -o $@ -diff -Nauru lapack-3.2.1.old/TESTING/LIN/Makefile lapack-3.2.1/TESTING/LIN/Makefile ---- lapack-3.2.1.old/TESTING/LIN/Makefile 2009-02-10 12:23:05.000000000 -0500 -+++ lapack-3.2.1/TESTING/LIN/Makefile 2009-12-12 07:22:41.000000000 -0500 -@@ -238,43 +238,43 @@ - - ../xlintsts : $(ALINTST) $(SLINTST) $(SCLNTST) - $(LOADER) $(LOADOPTS) $(ALINTST) $(SCLNTST) $(SLINTST) \ -- ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) -o xlintsts && mv xlintsts $@ -+ ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) -o ../xlintsts - - ../xlintstc : $(ALINTST) $(CLINTST) $(SCLNTST) - $(LOADER) $(LOADOPTS) $(ALINTST) $(SCLNTST) $(CLINTST) \ -- ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) -o xlintstc && mv xlintstc $@ -+ ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) -o ../xlintstc - - ../xlintstd : $(ALINTST) $(DLINTST) $(DZLNTST) - $(LOADER) $(LOADOPTS) $^ \ -- ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) -o xlintstd && mv xlintstd $@ -+ ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) -o ../xlintstd - - ../xlintstz : $(ALINTST) $(ZLINTST) $(DZLNTST) - $(LOADER) $(LOADOPTS) $(ALINTST) $(DZLNTST) $(ZLINTST) \ -- ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) -o xlintstz && mv xlintstz $@ -+ ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) -o ../xlintstz - - ../xlintstds : $(DSLINTST) - $(LOADER) $(LOADOPTS) $(DSLINTST) \ -- ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o xlintstds && mv xlintstds $@ -+ ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o ../xlintstds - - ../xlintstzc : $(ZCLINTST) - $(LOADER) $(LOADOPTS) $(ZCLINTST) \ -- ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o xlintstzc && mv xlintstzc $@ -+ ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o ../xlintstzc - - ../xlintstrfs : $(SLINTSTRFP) - $(LOADER) $(LOADOPTS) $(SLINTSTRFP) \ -- ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o xlintstrfs && mv xlintstrfs $@ -+ ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o ../xlintstrfs - - ../xlintstrfd : $(DLINTSTRFP) - $(LOADER) $(LOADOPTS) $(DLINTSTRFP) \ -- ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o xlintstrfd && mv xlintstrfd $@ -+ ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o ../xlintstrfd - - ../xlintstrfc : $(CLINTSTRFP) - $(LOADER) $(LOADOPTS) $(CLINTSTRFP) \ -- ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o xlintstrfc && mv xlintstrfc $@ -+ ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o ../xlintstrfc - - ../xlintstrfz : $(ZLINTSTRFP) - $(LOADER) $(LOADOPTS) $(ZLINTSTRFP) \ -- ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o xlintstrfz && mv xlintstrfz $@ -+ ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) -o ../xlintstrfz - - $(ALINTST): $(FRC) - $(SCLNTST): $(FRC) diff --git a/sci-libs/lapack-reference/files/lapack-reference-3.6.0-fix-build-system.patch b/sci-libs/lapack-reference/files/lapack-reference-3.6.0-fix-build-system.patch deleted file mode 100644 index 8661709d369b..000000000000 --- a/sci-libs/lapack-reference/files/lapack-reference-3.6.0-fix-build-system.patch +++ /dev/null @@ -1,92 +0,0 @@ ---- lapack-3.6.0/BLAS/blas.pc.in -+++ lapack-3.6.0/BLAS/blas.pc.in -@@ -1,5 +1,7 @@ --prefix=@prefix@ --libdir=@libdir@ -+prefix=@CMAKE_INSTALL_PREFIX@ -+exec_prefix=${prefix} -+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ -+includedir=${prefix}/include - - Name: blas - Description: Basic Linear Algebra Subprograms F77 reference implementations ---- lapack-3.6.0/BLAS/CMakeLists.txt -+++ lapack-3.6.0/BLAS/CMakeLists.txt -@@ -2,7 +2,7 @@ - if(BUILD_TESTING) - add_subdirectory(TESTING) - endif(BUILD_TESTING) --configure_file(${CMAKE_CURRENT_SOURCE_DIR}/blas.pc.in ${CMAKE_CURRENT_BINARY_DIR}/blas.pc) -+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/blas.pc.in ${CMAKE_CURRENT_BINARY_DIR}/blas.pc @ONLY) - install(FILES - ${CMAKE_CURRENT_BINARY_DIR}/blas.pc - DESTINATION ${PKG_CONFIG_DIR} ---- lapack-3.6.0/CBLAS/cblas.pc.in -+++ lapack-3.6.0/CBLAS/cblas.pc.in -@@ -1,5 +1,7 @@ --prefix=@prefix@ --libdir=@libdir@ -+prefix=@CMAKE_INSTALL_PREFIX@ -+exec_prefix=${prefix} -+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ -+includedir=${prefix}/include - - Name: lapacke - Description: C Standard Interface to BLAS Linear Algebra PACKage ---- lapack-3.6.0/CBLAS/CMakeLists.txt -+++ lapack-3.6.0/CBLAS/CMakeLists.txt -@@ -71,7 +71,7 @@ - ${LAPACK_BINARY_DIR}/cblas-config.cmake @ONLY) - - --configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cblas.pc.in ${CMAKE_CURRENT_BINARY_DIR}/cblas.pc) -+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cblas.pc.in ${CMAKE_CURRENT_BINARY_DIR}/cblas.pc @ONLY) - install(FILES - ${CMAKE_CURRENT_BINARY_DIR}/cblas.pc - DESTINATION ${PKG_CONFIG_DIR} ---- lapack-3.6.0/CMakeLists.txt -+++ lapack-3.6.0/CMakeLists.txt -@@ -333,7 +333,7 @@ - ${LAPACK_BINARY_DIR}/lapack-config.cmake @ONLY) - - --configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc) -+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc @ONLY) - install(FILES - ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc - DESTINATION ${PKG_CONFIG_DIR} ---- lapack-3.6.0/LAPACKE/CMakeLists.txt -+++ lapack-3.6.0/LAPACKE/CMakeLists.txt -@@ -65,7 +65,7 @@ - endif(BUILD_TESTING) - - --configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapacke.pc.in ${CMAKE_CURRENT_BINARY_DIR}/lapacke.pc) -+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapacke.pc.in ${CMAKE_CURRENT_BINARY_DIR}/lapacke.pc @ONLY) - install(FILES - ${CMAKE_CURRENT_BINARY_DIR}/lapacke.pc - DESTINATION ${PKG_CONFIG_DIR} ---- lapack-3.6.0/LAPACKE/lapacke.pc.in -+++ lapack-3.6.0/LAPACKE/lapacke.pc.in -@@ -1,5 +1,7 @@ --prefix=@prefix@ --libdir=@libdir@ -+prefix=@CMAKE_INSTALL_PREFIX@ -+exec_prefix=${prefix} -+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ -+includedir=${prefix}/include - - Name: lapacke - Description: C Standard Interface to LAPACK Linear Algebra PACKage ---- lapack-3.6.0/lapack.pc.in -+++ lapack-3.6.0/lapack.pc.in -@@ -1,5 +1,7 @@ --prefix=@prefix@ --libdir=@libdir@ -+prefix=@CMAKE_INSTALL_PREFIX@ -+exec_prefix=${prefix} -+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ -+includedir=${prefix}/include - - Name: lapack - Description: FORTRAN reference implementation of LAPACK Linear Algebra PACKage diff --git a/sci-libs/lapack-reference/files/lapack-reference-3.7.0-fix-build-system.patch b/sci-libs/lapack-reference/files/lapack-reference-3.7.0-fix-build-system.patch deleted file mode 100644 index 70f7cb0ee926..000000000000 --- a/sci-libs/lapack-reference/files/lapack-reference-3.7.0-fix-build-system.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff --git a/BLAS/blas.pc.in b/BLAS/blas.pc.in -index 7fd6f1e..e52f3ad 100644 ---- a/BLAS/blas.pc.in -+++ b/BLAS/blas.pc.in -@@ -1,5 +1,7 @@ --prefix=@prefix@ --libdir=@libdir@ -+prefix=@CMAKE_INSTALL_PREFIX@ -+exec_prefix=${prefix} -+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ -+includedir=${prefix}/include - - Name: BLAS - Description: FORTRAN reference implementation of BLAS Basic Linear Algebra Subprograms -diff --git a/CBLAS/cblas.pc.in b/CBLAS/cblas.pc.in -index 4a938fe..311aed9 100644 ---- a/CBLAS/cblas.pc.in -+++ b/CBLAS/cblas.pc.in -@@ -1,5 +1,7 @@ --prefix=@prefix@ --libdir=@libdir@ -+prefix=@CMAKE_INSTALL_PREFIX@ -+exec_prefix=${prefix} -+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ -+includedir=${prefix}/include - - Name: CBLAS - Description: C Standard Interface to BLAS Basic Linear Algebra Subprograms -diff --git a/LAPACKE/lapacke.pc.in b/LAPACKE/lapacke.pc.in -index 028f8da..dc092b1 100644 ---- a/LAPACKE/lapacke.pc.in -+++ b/LAPACKE/lapacke.pc.in -@@ -1,5 +1,7 @@ --prefix=@prefix@ --libdir=@libdir@ -+prefix=@CMAKE_INSTALL_PREFIX@ -+exec_prefix=${prefix} -+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ -+includedir=${prefix}/include - - Name: LAPACKE - Description: C Standard Interface to LAPACK Linear Algebra PACKage -diff --git a/lapack.pc.in b/lapack.pc.in -index 878efc2..2cca4c2 100644 ---- a/lapack.pc.in -+++ b/lapack.pc.in -@@ -1,5 +1,7 @@ --prefix=@prefix@ --libdir=@libdir@ -+prefix=@CMAKE_INSTALL_PREFIX@ -+exec_prefix=${prefix} -+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ -+includedir=${prefix}/include - - Name: LAPACK - Description: FORTRAN reference implementation of LAPACK Linear Algebra PACKage diff --git a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild deleted file mode 100644 index b9ee0e8c6fee..000000000000 --- a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils fortran-2 flag-o-matic multilib toolchain-funcs - -MyPN="${PN/-reference/}" -PATCH_V="3.2.1" - -DESCRIPTION="FORTRAN reference implementation of LAPACK Linear Algebra PACKage" -HOMEPAGE="http://www.netlib.org/lapack/index.html" -SRC_URI=" - mirror://gentoo/${MyPN}-${PV}.tgz - mirror://gentoo/${PN}-${PATCH_V}-autotools.patch.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="doc" - -RDEPEND=" - app-eselect/eselect-lapack - virtual/blas" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig - doc? ( app-doc/lapack-docs )" - -S="${WORKDIR}/${MyPN}-${PV}" - -pkg_setup() { - fortran-2_pkg_setup - if [[ $(tc-getFC) =~ if ]]; then - ewarn "Using Intel Fortran at your own risk" - export LDFLAGS="$(raw-ldflags)" - export NOOPT_FFLAGS=-O - fi - ESELECT_PROF=reference -} - -src_prepare() { - epatch \ - "${WORKDIR}"/${PN}-${PATCH_V}-autotools.patch \ - "${FILESDIR}"/${P}-parallel-make.patch - eautoreconf - - # set up the testing routines - sed \ - -e "s:g77:$(tc-getFC):" \ - -e "s:-funroll-all-loops -O3:${FFLAGS} $($(tc-getPKG_CONFIG) --cflags blas):" \ - -e "s:LOADOPTS =:LOADOPTS = ${LDFLAGS} $($(tc-getPKG_CONFIG) --cflags blas):" \ - -e "s:../../blas\$(PLAT).a:$($(tc-getPKG_CONFIG) --libs blas):" \ - -e "s:lapack\$(PLAT).a:SRC/.libs/liblapack.a:" \ - make.inc.example > make.inc \ - || die "Failed to set up make.inc" - - cp "${FILESDIR}"/eselect.lapack.reference "${T}"/eselect.lapack.reference || die - sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.lapack.reference || die - if [[ ${CHOST} == *-darwin* ]] ; then - sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \ - "${T}"/eselect.lapack.reference || die - fi - sed \ - -e '/Libs:/s|: |: -L${libdir} |g' \ - -i lapack.pc.in || die -} - -src_configure() { - econf \ - --libdir="${EPREFIX}/usr/$(get_libdir)/lapack/reference" \ - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" -} - -src_install() { - default - eselect lapack add $(get_libdir) "${T}"/eselect.lapack.reference ${ESELECT_PROF} -} - -src_test() { - MAKEOPTS+=" -j1" - cd "${S}"/TESTING/MATGEN && emake - cd "${S}"/TESTING && emake -} - -pkg_postinst() { - local p=lapack - 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/lapack-reference/lapack-reference-3.6.0.ebuild b/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild deleted file mode 100644 index a3080330b1ff..000000000000 --- a/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils fortran-2 cmake-utils multilib flag-o-matic toolchain-funcs - -DESCRIPTION="Reference implementation of LAPACK" -HOMEPAGE="http://www.netlib.org/lapack/" -SRC_URI="http://www.netlib.org/lapack/lapack-${PV}.tgz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="+deprecated" - -DEPEND="app-eselect/eselect-lapack - >=virtual/blas-3.6 - virtual/pkgconfig" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/lapack-${PV}" -PATCHES=( "${FILESDIR}/${P}-fix-build-system.patch" ) - -src_prepare() { - cmake-utils_src_prepare - - ESELECT_PROF=reference - - # some string does not get passed properly - sed -i \ - -e '/lapack_testing.py/d' \ - CTestCustom.cmake.in || die - # separate ebuild to tmglib - sed -i \ - -e '/lapack_install_library(tmglib)/d' \ - TESTING/MATGEN/CMakeLists.txt || die - - cp "${FILESDIR}"/eselect.lapack.reference-r1 "${T}"/eselect.lapack.reference || die - sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.lapack.reference || die - if [[ ${CHOST} == *-darwin* ]] ; then - sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \ - "${T}"/eselect.lapack.reference || die - fi -} - -src_configure() { - local mycmakeargs=( - -Wno-dev - -DUSE_OPTIMIZED_BLAS=ON - -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)" - -DBUILD_DEPRECATED=$(usex deprecated) - -DCMAKE_Fortran_FLAGS="$($(tc-getPKG_CONFIG) --cflags blas) $(get_abi_CFLAGS) ${FCFLAGS}" - -DBUILD_STATIC_LIBS=ON - -DBUILD_SHARED_LIBS=ON - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - - mkdir -p "${ED}/usr/$(get_libdir)/lapack/reference" || die - mv "${ED}/usr/$(get_libdir)"/lib* "${ED}/usr/$(get_libdir)/pkgconfig"/* \ - "${ED}/usr/$(get_libdir)/lapack/reference" || die - rmdir "${ED}/usr/$(get_libdir)/pkgconfig" || die - - eselect lapack add $(get_libdir) "${T}"/eselect.lapack.reference ${ESELECT_PROF} -} - -pkg_postinst() { - local p=lapack - 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/lapack-reference/lapack-reference-3.7.0.ebuild b/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild deleted file mode 100644 index 32c1ba6cfd12..000000000000 --- a/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils fortran-2 cmake-utils multilib flag-o-matic toolchain-funcs - -DESCRIPTION="Reference implementation of LAPACK" -HOMEPAGE="http://www.netlib.org/lapack/" -SRC_URI="http://www.netlib.org/lapack/lapack-${PV}.tgz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="+deprecated" - -DEPEND="app-eselect/eselect-lapack - >=virtual/blas-3.6 - virtual/pkgconfig" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/lapack-${PV}" -PATCHES=( "${FILESDIR}/${P}-fix-build-system.patch" ) - -src_prepare() { - cmake-utils_src_prepare - - ESELECT_PROF=reference - - # some string does not get passed properly - sed -i \ - -e '/lapack_testing.py/d' \ - CTestCustom.cmake.in || die - # separate ebuild to tmglib - sed -i \ - -e '/lapack_install_library(tmglib)/d' \ - TESTING/MATGEN/CMakeLists.txt || die - - cp "${FILESDIR}"/eselect.lapack.reference-r1 "${T}"/eselect.lapack.reference || die - sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.lapack.reference || die - if [[ ${CHOST} == *-darwin* ]] ; then - sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \ - "${T}"/eselect.lapack.reference || die - fi -} - -src_configure() { - local mycmakeargs=( - -Wno-dev - -DUSE_OPTIMIZED_BLAS=ON - -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)" - -DBUILD_DEPRECATED=$(usex deprecated) - -DCMAKE_Fortran_FLAGS="$($(tc-getPKG_CONFIG) --cflags blas) $(get_abi_CFLAGS) ${FCFLAGS}" - -DBUILD_STATIC_LIBS=ON - -DBUILD_SHARED_LIBS=ON - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - - mkdir -p "${ED}/usr/$(get_libdir)/lapack/reference" || die - mv "${ED}/usr/$(get_libdir)"/lib* "${ED}/usr/$(get_libdir)/pkgconfig"/* \ - "${ED}/usr/$(get_libdir)/lapack/reference" || die - if [[ ${CHOST} == *-darwin* ]] ; then - # modify install_names accordingly, bug #608266 - local lib - for lib in "${ED}"/usr/$(get_libdir)/lapack/reference/*.dylib ; do - install_name_tool -id "${lib#${D%/}}" "${lib}" - done - fi - rmdir "${ED}/usr/$(get_libdir)/pkgconfig" || die - - eselect lapack add $(get_libdir) "${T}"/eselect.lapack.reference ${ESELECT_PROF} -} - -pkg_postinst() { - local p=lapack - 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/lapack-reference/metadata.xml b/sci-libs/lapack-reference/metadata.xml deleted file mode 100644 index 9bd49b11cd5c..000000000000 --- a/sci-libs/lapack-reference/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - sci@gentoo.org - Gentoo Science Project - - -LAPACK is a comprehensive library that does linear algebra -operations including matrix inversions, least squared solutions to -linear sets of equations, eigenvector analysis, singular value -decomposition, etc. It is a very comprehensive and reputable package -that has found extensive use in the scientific community. -This package installs the reference FORTRAN 77 implementation from Netlib. - - - Build deprecated routines - - diff --git a/sci-libs/lapack/lapack-3.8.0-r1.ebuild b/sci-libs/lapack/lapack-3.8.0-r1.ebuild index fe759a13f358..f2bef5ecda55 100644 --- a/sci-libs/lapack/lapack-3.8.0-r1.ebuild +++ b/sci-libs/lapack/lapack-3.8.0-r1.ebuild @@ -21,7 +21,6 @@ RDEPEND=" !app-eselect/eselect-cblas !sci-libs/blas-reference !sci-libs/cblas-reference - !sci-libs/lapack-reference !sci-libs/lapacke-reference virtual/fortran doc? ( app-doc/blas-docs )" diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild b/sci-libs/lapack/lapack-3.8.0.ebuild index 7b7241aeb315..8af1494d502e 100644 --- a/sci-libs/lapack/lapack-3.8.0.ebuild +++ b/sci-libs/lapack/lapack-3.8.0.ebuild @@ -21,7 +21,6 @@ RDEPEND=" !app-eselect/eselect-cblas !sci-libs/blas-reference !sci-libs/cblas-reference - !sci-libs/lapack-reference !sci-libs/lapacke-reference virtual/fortran doc? ( app-doc/blas-docs )" diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild b/sci-libs/lapack/lapack-3.9.0.ebuild index 666527b497d5..057963672862 100644 --- a/sci-libs/lapack/lapack-3.9.0.ebuild +++ b/sci-libs/lapack/lapack-3.9.0.ebuild @@ -23,7 +23,6 @@ RDEPEND=" !app-eselect/eselect-cblas !sci-libs/blas-reference !sci-libs/cblas-reference - !sci-libs/lapack-reference !sci-libs/lapacke-reference virtual/fortran doc? ( app-doc/blas-docs )" -- cgit v1.2.3-65-gdbad