From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E5A3013835B for ; Sat, 6 Feb 2021 21:29:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE786E082B; Sat, 6 Feb 2021 21:29:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B45BDE082B for ; Sat, 6 Feb 2021 21:29:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4910634309B for ; Sat, 6 Feb 2021 21:29:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F9964A8 for ; Sat, 6 Feb 2021 21:29:13 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1612646947.e299f36c470e4cdf7b2a97f8a9308da01aa80aa1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/files/, sci-libs/lapack/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch sci-libs/lapack/lapack-3.9.0.ebuild X-VCS-Directories: sci-libs/lapack/ sci-libs/lapack/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e299f36c470e4cdf7b2a97f8a9308da01aa80aa1 X-VCS-Branch: master Date: Sat, 6 Feb 2021 21:29:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d628e98e-a65a-48e6-9e00-62029833fa6b X-Archives-Hash: 1ed19a956a1480da733994e8e0618c86 commit: e299f36c470e4cdf7b2a97f8a9308da01aa80aa1 Author: Sam James gentoo org> AuthorDate: Sat Feb 6 21:21:49 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Feb 6 21:29:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e299f36c sci-libs/lapack: cleanup old, patch metadata Bug: https://bugs.gentoo.org/702254 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> .../files/lapack-3.9.0-deprecated-headers.patch | 3 + sci-libs/lapack/lapack-3.9.0.ebuild | 96 ---------------------- 2 files changed, 3 insertions(+), 96 deletions(-) diff --git a/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch b/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch index 9c0fb4e56e5..9b3fd93789e 100644 --- a/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch +++ b/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch @@ -1,3 +1,6 @@ +https://sources.debian.org/patches/lapack/3.9.0-3/missing-lapacke-prototypes.patch/ +https://github.com/Reference-LAPACK/lapack/issues/365 + From 87536aa3c8bb0af00f66088fb6ac05d87509e011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Sat, 23 Nov 2019 12:22:20 +0100 diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild b/sci-libs/lapack/lapack-3.9.0.ebuild deleted file mode 100644 index bf8674a2fab..00000000000 --- a/sci-libs/lapack/lapack-3.9.0.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations" -HOMEPAGE="https://www.netlib.org/lapack/" -SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -# TODO: static-libs 64bit-index -IUSE="lapacke doc eselect-ldso test" -RESTRICT="!test? ( test )" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - !app-eselect/eselect-cblas - virtual/fortran - eselect-ldso? ( - >=app-eselect/eselect-blas-0.2 - >=app-eselect/eselect-lapack-0.2 - ) - doc? ( app-doc/blas-docs )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-3.9.0-build-tests.patch" -) - -src_configure() { - local mycmakeargs=( - -DCBLAS=ON - -DLAPACKE=$(usex lapacke) - -DBUILD_SHARED_LIBS=ON - -DBUILD_TESTING=$(usex test) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - use eselect-ldso || return - # Create private lib directory for eselect::blas (ld.so.conf) - dodir /usr/$(get_libdir)/blas/reference - dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so - dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3 - dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so - dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3 - - # Create private lib directory for eselect::lapack (ld.so.conf) - dodir /usr/$(get_libdir)/lapack/reference - dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so - dosym ../../liblapack.so.3 usr/$(get_libdir)/lapack/reference/liblapack.so.3 -} - -pkg_postinst() { - use eselect-ldso || return - - local me=reference libdir=$(get_libdir) - # check eselect-blas - eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me} - local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2) - if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then - eselect blas set ${libdir} ${me} - elog "Current eselect: BLAS ($libdir) -> [${current_blas}]." - else - elog "Current eselect: BLAS ($libdir) -> [${current_blas}]." - elog "To use blas [${me}] implementation, you have to issue (as root):" - elog "\t eselect blas set ${libdir} ${me}" - fi - - # check eselect-lapack - eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me} - local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2) - if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then - eselect lapack set ${libdir} ${me} - elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]." - else - elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]." - elog "To use lapack [${me}] implementation, you have to issue (as root):" - elog "\t eselect lapack set ${libdir} ${me}" - fi -} - -pkg_postrm() { - use eselect-ldso || return - - eselect blas validate - eselect lapack validate -}