public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/clblast/
@ 2017-01-04  6:02 Sebastien Fabbro
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastien Fabbro @ 2017-01-04  6:02 UTC (permalink / raw
  To: gentoo-commits

commit:     a1682e3b6493bce90306930a9e71f63f52ca919b
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  4 04:45:16 2017 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed Jan  4 06:02:04 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1682e3b

sci-libs/clblast: initial import

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-libs/clblast/Manifest              |  1 +
 sci-libs/clblast/clblast-0.10.0.ebuild | 68 ++++++++++++++++++++++++++++++++++
 sci-libs/clblast/metadata.xml          | 25 +++++++++++++
 3 files changed, 94 insertions(+)

diff --git a/sci-libs/clblast/Manifest b/sci-libs/clblast/Manifest
new file mode 100644
index 00000000..b4fd58c
--- /dev/null
+++ b/sci-libs/clblast/Manifest
@@ -0,0 +1 @@
+DIST clblast-0.10.0.tar.gz 508763 SHA256 29914462155dba3f5e4f858f6b36601eb77880e4c04bb7ade48e30afb9bf729b SHA512 da1fc659dd470c02c25be0a009b7f5e2333bc590715ac6b90e09e57a25d764479d7e4ecf398f17d0ac0e6bb2eaf24c09082c7f047fb7b3044f4a987e294494ee WHIRLPOOL 115687fae11cb7586993d0f336bf60644ec3ed8eb3566c8e28921779ee7cf66617259f85cb612638ed888391c7d49209f409dbb0dc4b51aa210388a7c42f3dce

diff --git a/sci-libs/clblast/clblast-0.10.0.ebuild b/sci-libs/clblast/clblast-0.10.0.ebuild
new file mode 100644
index 00000000..fdd45d8
--- /dev/null
+++ b/sci-libs/clblast/clblast-0.10.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils toolchain-funcs
+
+MYPN="CLBlast"
+
+DESCRIPTION="Tuned OpenCL BLAS"
+HOMEPAGE="https://github.com/CNugteren/CLBlast"
+SRC_URI="https://github.com/CNugteren/${MYPN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="client doc examples test"
+
+RDEPEND="virtual/opencl"
+DEPEND="${RDEPEND}
+	test? (
+	  virtual/cblas
+	  virtual/pkgconfig
+	)
+"
+S="${WORKDIR}/${MYPN}-${PV}"
+
+src_prepare() {
+	# no forced optimisation, libdir
+	sed -e 's/-O3//g' \
+		-e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/g' \
+		-i CMakeLists.txt || die
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	mycmakeargs+=(
+		-DBUILD_SHARED_LIBS=ON
+		-DSAMPLES=OFF
+		-DCLIENTS="$(usex client)"
+		-DTESTS="$(usex test)"
+	)
+	if use test || use client; then
+		mycmakeargs+=(
+			-DNETLIB=ON
+			-DCBLAS_INCLUDE_DIRS="$($(tc-getPKG_CONFIG) --cflags-only-I cblas| awk '{print $1}' | sed 's/-I//')"
+			-DCBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs cblas)"
+			-DREF_LIBRARIES="$($(tc-getPKG_CONFIG) --libs cblas)"
+		)
+	fi
+	cmake-utils_src_configure
+}
+
+src_test() {
+	cmake-utils_src_test alltests
+}
+
+src_install(){
+	cmake-utils_src_install
+	dodoc README.md CONTRIBUTING.md CHANGELOG
+	use doc && dodoc -r doc
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		doins -r samples/*
+		docompress -x /usr/share/doc/${PF}/examples
+	fi
+}

diff --git a/sci-libs/clblast/metadata.xml b/sci-libs/clblast/metadata.xml
new file mode 100644
index 00000000..d5ff3a6
--- /dev/null
+++ b/sci-libs/clblast/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="project">
+    <email>sci@gentoo.org</email>
+    <name>Gentoo Science Project</name>
+  </maintainer>
+  <longdescription>
+    CLBlast is a modern, lightweight, performant and tunable OpenCL
+    BLAS library written in C++11. It is designed to leverage the full
+    performance potential of a wide variety of OpenCL devices from
+    different vendors, including desktop and laptop GPUs, embedded
+    GPUs, and other accelerators. CLBlast implements BLAS routines:
+    basic linear algebra subprograms operating on vectors and
+    matrices.
+  </longdescription>
+  <use>
+    <flag name="client">
+      Enable compilation of the clients to test and compare performance with reference libraries
+    </flag>
+  </use>
+  <upstream>
+    <remote-id type="github">CNugteren/CLBlast</remote-id>
+  </upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/clblast/
@ 2022-02-13 21:08 Conrad Kostecki
  0 siblings, 0 replies; 5+ messages in thread
From: Conrad Kostecki @ 2022-02-13 21:08 UTC (permalink / raw
  To: gentoo-commits

commit:     22c9999c3d1ec853efe1dd3444421ae886085b70
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 13 00:09:57 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Feb 13 21:07:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c9999c

sci-libs/clblast: fix DeprecatedInsinto

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 sci-libs/clblast/clblast-0.10.0.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-libs/clblast/clblast-0.10.0.ebuild b/sci-libs/clblast/clblast-0.10.0.ebuild
index d3ef4a3ebb03..70341627123f 100644
--- a/sci-libs/clblast/clblast-0.10.0.ebuild
+++ b/sci-libs/clblast/clblast-0.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,6 +10,7 @@ MYPN="CLBlast"
 DESCRIPTION="Tuned OpenCL BLAS"
 HOMEPAGE="https://github.com/CNugteren/CLBlast"
 SRC_URI="https://github.com/CNugteren/${MYPN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MYPN}-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="0"
@@ -24,7 +25,6 @@ DEPEND="${RDEPEND}
 	  virtual/pkgconfig
 	)
 "
-S="${WORKDIR}/${MYPN}-${PV}"
 
 src_prepare() {
 	# no forced optimisation, libdir
@@ -61,8 +61,8 @@ src_install() {
 	dodoc README.md CONTRIBUTING.md CHANGELOG
 	use doc && dodoc -r doc
 	if use examples; then
-		insinto /usr/share/doc/${PF}/examples
-		doins -r samples/*
+		docinto examples
+		dodoc -r samples/.
 		docompress -x /usr/share/doc/${PF}/examples
 	fi
 }


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

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/clblast/
@ 2022-03-04 17:38 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2022-03-04 17:38 UTC (permalink / raw
  To: gentoo-commits

commit:     870b2648439ad1b6414148d2225d933fa1466ad6
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  4 14:15:21 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Mar  4 17:38:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=870b2648

sci-libs/clblast: add version 1.5.2

Closes: https://bugs.gentoo.org/834294
Bug: https://bugs.gentoo.org/711990
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-libs/clblast/Manifest             |  1 +
 sci-libs/clblast/clblast-1.5.2.ebuild | 61 +++++++++++++++++++++++++++++++++++
 sci-libs/clblast/metadata.xml         |  6 ++++
 3 files changed, 68 insertions(+)

diff --git a/sci-libs/clblast/Manifest b/sci-libs/clblast/Manifest
index 3dd579ca4a42..dde558544c12 100644
--- a/sci-libs/clblast/Manifest
+++ b/sci-libs/clblast/Manifest
@@ -1 +1,2 @@
 DIST clblast-0.10.0.tar.gz 508763 BLAKE2B 9b0089963e41b0d0f193ec05d3ba31a2b8b1cb70a38fcbf2fb6240d96cfb81d566068a35a9e35014f84196edd4e622befac76d9ba5d49660eda8992be14d622e SHA512 da1fc659dd470c02c25be0a009b7f5e2333bc590715ac6b90e09e57a25d764479d7e4ecf398f17d0ac0e6bb2eaf24c09082c7f047fb7b3044f4a987e294494ee
+DIST clblast-1.5.2.tar.gz 419730 BLAKE2B 9954e39b490b75f3d989969260146ff9e9f5311865f13779e0ee8bc70578d6c51fd7c5e27af777a9d6c9703992d5acb164211aec39568f2f0ba1cf10db211b24 SHA512 6693704321bb7623a632ebfc71dcf07bbe4ba6c6f03a2ecf52bc10b401ae546bf82cdd3f6cc28aa9ea10f40dc7b2e86a6530f32cfbd522e24d4cf6a75c8c1100

diff --git a/sci-libs/clblast/clblast-1.5.2.ebuild b/sci-libs/clblast/clblast-1.5.2.ebuild
new file mode 100644
index 000000000000..59f05f82ded7
--- /dev/null
+++ b/sci-libs/clblast/clblast-1.5.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MYPN="CLBlast"
+
+DESCRIPTION="Tuned OpenCL BLAS"
+HOMEPAGE="https://github.com/CNugteren/CLBlast"
+SRC_URI="https://github.com/CNugteren/${MYPN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MYPN}-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+# Cuda is still beta, default to opencl
+IUSE="client cuda examples +opencl test"
+REQUIRED_USE="
+	^^ ( cuda opencl )
+	test? ( client )
+"
+# Tests require write access to /dev/dri/renderD...
+RESTRICT="test"
+# RESTRICT="!test? ( test )"
+
+RDEPEND="
+	cuda? ( dev-util/nvidia-cuda-toolkit:= )
+	client? ( virtual/cblas )
+	opencl? ( virtual/opencl )
+"
+
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	# no forced optimisation, libdir
+	sed -e 's/-O3//g' \
+		-e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/g' \
+		-i CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	mycmakeargs+=(
+		-DBUILD_SHARED_LIBS=ON
+		-DSAMPLES="$(usex examples)"
+		-DCLIENTS="$(usex client)"
+		-DNETLIB="$(usex client)"
+		-DTESTS="$(usex test)"
+		-DOPENCL="$(usex opencl)"
+		-DCUDA="$(usex cuda)"
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	dodoc README.md ROADMAP.md CONTRIBUTING.md CHANGELOG
+	dodoc -r doc
+}

diff --git a/sci-libs/clblast/metadata.xml b/sci-libs/clblast/metadata.xml
index e02c949bf653..8525f0a2541e 100644
--- a/sci-libs/clblast/metadata.xml
+++ b/sci-libs/clblast/metadata.xml
@@ -18,6 +18,12 @@
     <flag name="client">
       Enable compilation of the clients to test and compare performance with reference libraries
     </flag>
+    <flag name="cuda">
+      Build with support for cuda instead of opencl (beta!)
+    </flag>
+    <flag name="opencl">
+      Build with support for opencl
+    </flag>
   </use>
   <upstream>
     <remote-id type="github">CNugteren/CLBlast</remote-id>


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

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/clblast/
@ 2022-03-05 20:45 Andreas Sturmlechner
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Sturmlechner @ 2022-03-05 20:45 UTC (permalink / raw
  To: gentoo-commits

commit:     218dd408e5ae5b0528def37172b631b388fd5aa0
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  5 20:05:16 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Mar  5 20:05:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=218dd408

sci-libs/clblast: Drop 0.10.0, EAPI-6--

Closes: https://bugs.gentoo.org/834294
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/clblast/Manifest              |  1 -
 sci-libs/clblast/clblast-0.10.0.ebuild | 68 ----------------------------------
 2 files changed, 69 deletions(-)

diff --git a/sci-libs/clblast/Manifest b/sci-libs/clblast/Manifest
index dde558544c12..cc9ab979afc8 100644
--- a/sci-libs/clblast/Manifest
+++ b/sci-libs/clblast/Manifest
@@ -1,2 +1 @@
-DIST clblast-0.10.0.tar.gz 508763 BLAKE2B 9b0089963e41b0d0f193ec05d3ba31a2b8b1cb70a38fcbf2fb6240d96cfb81d566068a35a9e35014f84196edd4e622befac76d9ba5d49660eda8992be14d622e SHA512 da1fc659dd470c02c25be0a009b7f5e2333bc590715ac6b90e09e57a25d764479d7e4ecf398f17d0ac0e6bb2eaf24c09082c7f047fb7b3044f4a987e294494ee
 DIST clblast-1.5.2.tar.gz 419730 BLAKE2B 9954e39b490b75f3d989969260146ff9e9f5311865f13779e0ee8bc70578d6c51fd7c5e27af777a9d6c9703992d5acb164211aec39568f2f0ba1cf10db211b24 SHA512 6693704321bb7623a632ebfc71dcf07bbe4ba6c6f03a2ecf52bc10b401ae546bf82cdd3f6cc28aa9ea10f40dc7b2e86a6530f32cfbd522e24d4cf6a75c8c1100

diff --git a/sci-libs/clblast/clblast-0.10.0.ebuild b/sci-libs/clblast/clblast-0.10.0.ebuild
deleted file mode 100644
index 70341627123f..000000000000
--- a/sci-libs/clblast/clblast-0.10.0.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils toolchain-funcs
-
-MYPN="CLBlast"
-
-DESCRIPTION="Tuned OpenCL BLAS"
-HOMEPAGE="https://github.com/CNugteren/CLBlast"
-SRC_URI="https://github.com/CNugteren/${MYPN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MYPN}-${PV}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="client doc examples test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="virtual/opencl"
-DEPEND="${RDEPEND}
-	test? (
-	  virtual/cblas
-	  virtual/pkgconfig
-	)
-"
-
-src_prepare() {
-	# no forced optimisation, libdir
-	sed -e 's/-O3//g' \
-		-e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/g' \
-		-i CMakeLists.txt || die
-	cmake-utils_src_prepare
-}
-
-src_configure() {
-	mycmakeargs+=(
-		-DBUILD_SHARED_LIBS=ON
-		-DSAMPLES=OFF
-		-DCLIENTS="$(usex client)"
-		-DTESTS="$(usex test)"
-	)
-	if use test || use client; then
-		mycmakeargs+=(
-			-DNETLIB=ON
-			-DCBLAS_INCLUDE_DIRS="$($(tc-getPKG_CONFIG) --cflags-only-I cblas| awk '{print $1}' | sed 's/-I//')"
-			-DCBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs cblas)"
-			-DREF_LIBRARIES="$($(tc-getPKG_CONFIG) --libs cblas)"
-		)
-	fi
-	cmake-utils_src_configure
-}
-
-src_test() {
-	cmake-utils_src_test alltests
-}
-
-src_install() {
-	cmake-utils_src_install
-	dodoc README.md CONTRIBUTING.md CHANGELOG
-	use doc && dodoc -r doc
-	if use examples; then
-		docinto examples
-		dodoc -r samples/.
-		docompress -x /usr/share/doc/${PF}/examples
-	fi
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/clblast/
@ 2023-07-24 12:30 Jakov Smolić
  0 siblings, 0 replies; 5+ messages in thread
From: Jakov Smolić @ 2023-07-24 12:30 UTC (permalink / raw
  To: gentoo-commits

commit:     2156e6d4beda6709008a98746276ac300bd2967f
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 24 12:30:02 2023 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 12:30:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2156e6d4

sci-libs/clblast: Keyword 1.5.2-r1 riscv, #906025

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 sci-libs/clblast/clblast-1.5.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/clblast/clblast-1.5.2-r1.ebuild b/sci-libs/clblast/clblast-1.5.2-r1.ebuild
index 604dd3d840e1..ae12ba33513e 100644
--- a/sci-libs/clblast/clblast-1.5.2-r1.ebuild
+++ b/sci-libs/clblast/clblast-1.5.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MYPN}-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 # Cuda is still beta, default to opencl
 IUSE="client cuda examples +opencl test"
 REQUIRED_USE="


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

end of thread, other threads:[~2023-07-24 12:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-24 12:30 [gentoo-commits] repo/gentoo:master commit in: sci-libs/clblast/ Jakov Smolić
  -- strict thread matches above, loose matches on Subject: below --
2022-03-05 20:45 Andreas Sturmlechner
2022-03-04 17:38 Andrew Ammerlaan
2022-02-13 21:08 Conrad Kostecki
2017-01-04  6:02 Sebastien Fabbro

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