public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-libs/libflame-amd/
@ 2020-10-08 19:48 Aisha Tammy
  0 siblings, 0 replies; 5+ messages in thread
From: Aisha Tammy @ 2020-10-08 19:48 UTC (permalink / raw
  To: gentoo-commits

commit:     cc985769b1e45e146138bcc09aa37db82bc6c79d
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Thu Oct  8 02:35:11 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Thu Oct  8 19:47:41 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=cc985769

sci-libs/libflame-amd: fast dla computation library

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 sci-libs/libflame-amd/libflame-amd-2.2.ebuild  | 57 ++++++++++++++++++++++++++
 sci-libs/libflame-amd/libflame-amd-9999.ebuild | 57 ++++++++++++++++++++++++++
 sci-libs/libflame-amd/metadata.xml             | 19 +++++++++
 3 files changed, 133 insertions(+)

diff --git a/sci-libs/libflame-amd/libflame-amd-2.2.ebuild b/sci-libs/libflame-amd/libflame-amd-2.2.ebuild
new file mode 100644
index 000000000..26bdb2e47
--- /dev/null
+++ b/sci-libs/libflame-amd/libflame-amd-2.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools fortran-2
+FORTRAN_NEED_OPENMP=1
+
+DESCRIPTION="AMD optimized high-performance object-based library for DLA computations"
+HOMEPAGE="https://developer.amd.com/amd-aocl/"
+
+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
+
+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[@]}"
+
+DEPEND="virtual/cblas"
+RDEPEND="${DEPEND}
+	!sci-libs/libflame
+"
+BDEPEND="dev-vcs/git"
+
+src_configure() {
+	local myconf=(
+		--disable-optimizations
+		--enable-multithreading=openmp
+		--enable-verbose-make-output
+		--enable-lapack2flame
+		--enable-cblas-interfaces
+		--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
+}

diff --git a/sci-libs/libflame-amd/libflame-amd-9999.ebuild b/sci-libs/libflame-amd/libflame-amd-9999.ebuild
new file mode 100644
index 000000000..26bdb2e47
--- /dev/null
+++ b/sci-libs/libflame-amd/libflame-amd-9999.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools fortran-2
+FORTRAN_NEED_OPENMP=1
+
+DESCRIPTION="AMD optimized high-performance object-based library for DLA computations"
+HOMEPAGE="https://developer.amd.com/amd-aocl/"
+
+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
+
+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[@]}"
+
+DEPEND="virtual/cblas"
+RDEPEND="${DEPEND}
+	!sci-libs/libflame
+"
+BDEPEND="dev-vcs/git"
+
+src_configure() {
+	local myconf=(
+		--disable-optimizations
+		--enable-multithreading=openmp
+		--enable-verbose-make-output
+		--enable-lapack2flame
+		--enable-cblas-interfaces
+		--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
+}

diff --git a/sci-libs/libflame-amd/metadata.xml b/sci-libs/libflame-amd/metadata.xml
new file mode 100644
index 000000000..36ca842dd
--- /dev/null
+++ b/sci-libs/libflame-amd/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>gentoo@aisha.cc</email>
+		<name>Aisha Tammy</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">amd/libflame</remote-id>
+	</upstream>
+	<use>
+		<flag name="scc">Enable code that takes advantage of the SCC multicore architecture, recommended to use supermatrix if scc is enabled.</flag>
+		<flag name="supermatrix">Enable Ernie Chan's dependency-aware task scheduling and parallel execution system.</flag>
+	</use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/libflame-amd/
@ 2021-01-30 15:19 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2021-01-30 15:19 UTC (permalink / raw
  To: gentoo-commits

commit:     bc59a4d1023a0a619188222265b20fb71ac5e50f
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Jan 30 15:19:47 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Jan 30 15:19:47 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=bc59a4d1

sci-libs/libflame-amd: remove nonexistent blocker

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-libs/libflame-amd/libflame-amd-2.2.ebuild  | 6 ++----
 sci-libs/libflame-amd/libflame-amd-9999.ebuild | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/sci-libs/libflame-amd/libflame-amd-2.2.ebuild b/sci-libs/libflame-amd/libflame-amd-2.2.ebuild
index 26bdb2e47..45cc98a60 100644
--- a/sci-libs/libflame-amd/libflame-amd-2.2.ebuild
+++ b/sci-libs/libflame-amd/libflame-amd-2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -26,9 +26,7 @@ IUSE_CPU_FLAGS_X86="${CPU_FLAGS[@]/#/cpu_flags_x86_}"
 IUSE="scc static-libs supermatrix ${IUSE_CPU_FLAGS_X86[@]}"
 
 DEPEND="virtual/cblas"
-RDEPEND="${DEPEND}
-	!sci-libs/libflame
-"
+RDEPEND="${DEPEND}"
 BDEPEND="dev-vcs/git"
 
 src_configure() {

diff --git a/sci-libs/libflame-amd/libflame-amd-9999.ebuild b/sci-libs/libflame-amd/libflame-amd-9999.ebuild
index 26bdb2e47..45cc98a60 100644
--- a/sci-libs/libflame-amd/libflame-amd-9999.ebuild
+++ b/sci-libs/libflame-amd/libflame-amd-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -26,9 +26,7 @@ IUSE_CPU_FLAGS_X86="${CPU_FLAGS[@]/#/cpu_flags_x86_}"
 IUSE="scc static-libs supermatrix ${IUSE_CPU_FLAGS_X86[@]}"
 
 DEPEND="virtual/cblas"
-RDEPEND="${DEPEND}
-	!sci-libs/libflame
-"
+RDEPEND="${DEPEND}"
 BDEPEND="dev-vcs/git"
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/libflame-amd/
@ 2021-12-16 10:57 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2021-12-16 10:57 UTC (permalink / raw
  To: gentoo-commits

commit:     b161f181889e76fb1f04ac81c89c89dec6a25ade
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 16 10:45:48 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Dec 16 10:45:48 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b161f181

sci-libs/libflame-amd: drop UnusedInherits

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-libs/libflame-amd/libflame-amd-2.2.ebuild  | 2 +-
 sci-libs/libflame-amd/libflame-amd-9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/libflame-amd/libflame-amd-2.2.ebuild b/sci-libs/libflame-amd/libflame-amd-2.2.ebuild
index 45cc98a60..04830e5c3 100644
--- a/sci-libs/libflame-amd/libflame-amd-2.2.ebuild
+++ b/sci-libs/libflame-amd/libflame-amd-2.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools fortran-2
+inherit fortran-2
 FORTRAN_NEED_OPENMP=1
 
 DESCRIPTION="AMD optimized high-performance object-based library for DLA computations"

diff --git a/sci-libs/libflame-amd/libflame-amd-9999.ebuild b/sci-libs/libflame-amd/libflame-amd-9999.ebuild
index 45cc98a60..04830e5c3 100644
--- a/sci-libs/libflame-amd/libflame-amd-9999.ebuild
+++ b/sci-libs/libflame-amd/libflame-amd-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools fortran-2
+inherit fortran-2
 FORTRAN_NEED_OPENMP=1
 
 DESCRIPTION="AMD optimized high-performance object-based library for DLA computations"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/libflame-amd/
@ 2022-01-25 14:49 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2022-01-25 14:49 UTC (permalink / raw
  To: gentoo-commits

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
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/libflame-amd/
       [not found] <1643121128.a7bfbe4ef5dbbf9d797953a9c2e51047d2d73008.andrewammerlaan@gentoo>
@ 2022-01-25 14:49 ` Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2022-01-25 14:49 UTC (permalink / raw
  To: gentoo-commits

commit:     a7bfbe4ef5dbbf9d797953a9c2e51047d2d73008
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 25 14:32:08 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jan 25 14:32:08 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a7bfbe4e

sci-libs/libflame-amd: drop live

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-libs/libflame-amd/libflame-amd-9999.ebuild | 55 --------------------------
 1 file changed, 55 deletions(-)

diff --git a/sci-libs/libflame-amd/libflame-amd-9999.ebuild b/sci-libs/libflame-amd/libflame-amd-9999.ebuild
deleted file mode 100644
index 04830e5c3..000000000
--- a/sci-libs/libflame-amd/libflame-amd-9999.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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/"
-
-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
-
-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[@]}"
-
-DEPEND="virtual/cblas"
-RDEPEND="${DEPEND}"
-BDEPEND="dev-vcs/git"
-
-src_configure() {
-	local myconf=(
-		--disable-optimizations
-		--enable-multithreading=openmp
-		--enable-verbose-make-output
-		--enable-lapack2flame
-		--enable-cblas-interfaces
-		--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
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-25 14:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-08 19:48 [gentoo-commits] proj/sci:master commit in: sci-libs/libflame-amd/ Aisha Tammy
  -- strict thread matches above, loose matches on Subject: below --
2021-01-30 15:19 Andrew Ammerlaan
2021-12-16 10:57 Andrew Ammerlaan
2022-01-25 14:49 Andrew Ammerlaan
     [not found] <1643121128.a7bfbe4ef5dbbf9d797953a9c2e51047d2d73008.andrewammerlaan@gentoo>
2022-01-25 14:49 ` Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox