commit: d4f8859f369755f968c01a809f263686e62a6981 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Tue Jan 25 14:49:19 2022 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Tue Jan 25 14:49:19 2022 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d4f8859f
sci-libs/libflame-amd: bump to 3.1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> ...lame-amd-2.2.ebuild => libflame-amd-3.1.ebuild} | 27 ++++++++-------------- 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/sci-libs/libflame-amd/libflame-amd-2.2.ebuild b/sci-libs/libflame-amd/libflame-amd-3.1.ebuild similarity index 64% rename from sci-libs/libflame-amd/libflame-amd-2.2.ebuild rename to sci-libs/libflame-amd/libflame-amd-3.1.ebuild index 04830e5c3..cdadccb5c 100644 --- a/sci-libs/libflame-amd/libflame-amd-2.2.ebuild +++ b/sci-libs/libflame-amd/libflame-amd-3.1.ebuild @@ -1,29 +1,23 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit fortran-2 FORTRAN_NEED_OPENMP=1 DESCRIPTION="AMD optimized high-performance object-based library for DLA computations" HOMEPAGE="https://developer.amd.com/amd-aocl/" +SRC_URI="https://github.com/amd/libflame/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/libflame-${PV}" -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/amd/libflame" -else - SRC_URI="https://github.com/amd/libflame/archive/${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}"/libflame-"${PV}" - KEYWORDS="~amd64" -fi - +KEYWORDS="~amd64" LICENSE="BSD" SLOT="0" CPU_FLAGS=( sse3 ) IUSE_CPU_FLAGS_X86="${CPU_FLAGS[@]/#/cpu_flags_x86_}" -IUSE="scc static-libs supermatrix ${IUSE_CPU_FLAGS_X86[@]}" +IUSE="scc supermatrix ${IUSE_CPU_FLAGS_X86[@]}" DEPEND="virtual/cblas" RDEPEND="${DEPEND}" @@ -39,17 +33,14 @@ src_configure() { --enable-max-arg-list-hack --enable-dynamic-build --enable-vector-intrinsics=$(usex cpu_flags_x86_sse3 sse none) - $(use_enable static-libs static-build) $(use_enable scc) $(use_enable supermatrix) ) econf "${myconf[@]}" } -src_compile() { - default -} - src_install() { - emake -j1 DESTDIR="${D}" install + # -j1 because otherwise cannot create file that already exists + DESTDIR="${ED}" emake -j1 install + einstalldocs }
