diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-01-25 15:49:19 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-01-25 15:49:19 +0100 |
commit | d4f8859f369755f968c01a809f263686e62a6981 (patch) | |
tree | 3487fa3f7792478ee20b4bfab81d8bb4cc171ca2 /sci-libs/libflame-amd | |
parent | sci-libs/libflame-amd: drop live (diff) | |
download | sci-d4f8859f369755f968c01a809f263686e62a6981.tar.gz sci-d4f8859f369755f968c01a809f263686e62a6981.tar.bz2 sci-d4f8859f369755f968c01a809f263686e62a6981.zip |
sci-libs/libflame-amd: bump to 3.1
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-libs/libflame-amd')
-rw-r--r-- | sci-libs/libflame-amd/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/libflame-amd/libflame-amd-3.1.ebuild (renamed from sci-libs/libflame-amd/libflame-amd-2.2.ebuild) | 27 |
2 files changed, 10 insertions, 19 deletions
diff --git a/sci-libs/libflame-amd/Manifest b/sci-libs/libflame-amd/Manifest index 6da475e97..422282045 100644 --- a/sci-libs/libflame-amd/Manifest +++ b/sci-libs/libflame-amd/Manifest @@ -1 +1 @@ -DIST libflame-amd-2.2.tar.gz 28327573 BLAKE2B a53bef8c08bfb5ca14c145ac9ae11e6f41f9d0ef2755cab2b69df6103b2164a6786bb2e3e709faf7a11cad2b4a58310082637c6e5516a987bb65cb599837bfff SHA512 c68a9a1e37eac649d898f25bd5f4d89abecd3fdb8ff9c9678d4d2c0761660322f270f4508f93511f3db75ef074531a1c9824cc81ed88cfcec82bc9513d274ec0 +DIST libflame-amd-3.1.tar.gz 26635219 BLAKE2B 43f5db65bb53a818259e62e01d373ba8db2052c11b5839d28805e37e2b9033e16410efc4b6ce3379f3d92067511b834ef16dbca22987945608167a90e4f31871 SHA512 b6a05dbadd169e05645bc4ae456f00b6c84f2c3eeaf1e1bd74d273e540ca1f99915bd221427bce0e4f73fed050daf2db8902891451d5b2b9273af48c8e2f4479 diff --git a/sci-libs/libflame-amd/libflame-amd-2.2.ebuild b/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 } |