* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2015-05-12 11:18 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2015-05-12 11:18 UTC (permalink / raw
To: gentoo-commits
commit: 6d4dab9fe9d17b609b6359300a77e2924dbfade5
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat May 9 22:16:07 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat May 9 22:16:07 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6d4dab9f
sci-libs/clblas-2.2: Replace symlink by file; New patchset
sci-libs/clblas/clblas-2.2.ebuild | 70 ++++++++++++++++++++++++++++++++++++++-
1 file changed, 69 insertions(+), 1 deletion(-)
diff --git a/sci-libs/clblas/clblas-2.2.ebuild b/sci-libs/clblas/clblas-2.2.ebuild
deleted file mode 120000
index 9729dfd..0000000
--- a/sci-libs/clblas/clblas-2.2.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-clblas-9999.ebuild
\ No newline at end of file
diff --git a/sci-libs/clblas/clblas-2.2.ebuild b/sci-libs/clblas/clblas-2.2.ebuild
new file mode 100644
index 0000000..84342eb
--- /dev/null
+++ b/sci-libs/clblas/clblas-2.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils
+
+MY_PN="clBLAS"
+
+DESCRIPTION="A software library containing BLAS routines for OpenCL"
+HOMEPAGE="https://github.com/clMathLibraries/clBLAS"
+
+if [ ${PV} == "9999" ] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/clMathLibraries/${MY_PN}.git git://github.com/clMathLibraries/${MY_PN}.git"
+ S="${WORKDIR}/${P}/src"
+else
+ SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${MY_PN}-${PV}/src"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="+client examples +ktest performance test"
+
+RDEPEND="
+ >=sys-devel/gcc-4.6:*
+ virtual/opencl
+ || ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk )
+ dev-libs/boost
+ performance? ( dev-lang/python )
+ "
+DEPEND="${RDEPEND}"
+# test? (
+# >=dev-cpp/gtest-1.6.0
+# >=sci-libs/acml-6.1.0.3
+# )"
+
+# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
+# Therefore src_test() won't execute any test.
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/${P}"-client_CMakeLists.patch
+ "${FILESDIR}/${P}"-library_tools_tune_CMakeLists.patch
+ "${FILESDIR}"/clblas-samples_CMakeLists.patch
+ "${FILESDIR}"/clblas-scripts_perf_CMakeLists.patch
+)
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then
+ die "Compilation with gcc older than 4.6 is not supported."
+ fi
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_build client CLIENT)
+ $(cmake-utils_use_build examples SAMPLE)
+ $(cmake-utils_use_build ktest KTEST)
+ $(cmake-utils_use_build performance PERFORMANCE)
+ $(cmake-utils_use_build test TEST)
+ )
+ cmake-utils_src_configure
+}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2015-05-12 11:18 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2015-05-12 11:18 UTC (permalink / raw
To: gentoo-commits
commit: 4b5df248ea0d84a91377527434f5c69e3249a9ed
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat May 9 22:17:16 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat May 9 22:17:16 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4b5df248
sci-libs/clblas: Version bump
Package-Manager: portage-2.2.14
sci-libs/clblas/ChangeLog | 5 +++++
sci-libs/clblas/clblas-2.4.ebuild | 1 +
2 files changed, 6 insertions(+)
diff --git a/sci-libs/clblas/ChangeLog b/sci-libs/clblas/ChangeLog
index 3f0fc18..19053c2 100644
--- a/sci-libs/clblas/ChangeLog
+++ b/sci-libs/clblas/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*clblas-2.4 (09 May 2015)
+
+ 09 May 2015; Marius Brehler <marbre@linux.sungazer.de> +clblas-2.4.ebuild:
+ Version bump
+
09 May 2015; Marius Brehler <marbre@linux.sungazer.de>
+files/clblas-2.2-client_CMakeLists.patch,
+files/clblas-2.2-library_tools_tune_CMakeLists.patch,
diff --git a/sci-libs/clblas/clblas-2.4.ebuild b/sci-libs/clblas/clblas-2.4.ebuild
new file mode 120000
index 0000000..9729dfd
--- /dev/null
+++ b/sci-libs/clblas/clblas-2.4.ebuild
@@ -0,0 +1 @@
+clblas-9999.ebuild
\ No newline at end of file
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2015-06-05 11:20 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2015-06-05 11:20 UTC (permalink / raw
To: gentoo-commits
commit: b66a3df1eac50b41c858a38260d5018ca49c728b
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 5 11:14:58 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 5 11:14:58 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b66a3df1
sci-libs/clblas: Add github to remote-id in metadata.xml
Package-Manager: portage-2.2.20
sci-libs/clblas/ChangeLog | 3 +++
sci-libs/clblas/metadata.xml | 3 +++
2 files changed, 6 insertions(+)
diff --git a/sci-libs/clblas/ChangeLog b/sci-libs/clblas/ChangeLog
index 19053c2..e208ddb 100644
--- a/sci-libs/clblas/ChangeLog
+++ b/sci-libs/clblas/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 05 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
+ sci-libs/clblas: Add github to remote-id in metadata.xml
+
*clblas-2.4 (09 May 2015)
09 May 2015; Marius Brehler <marbre@linux.sungazer.de> +clblas-2.4.ebuild:
diff --git a/sci-libs/clblas/metadata.xml b/sci-libs/clblas/metadata.xml
index fe45c3c..1541b5a 100644
--- a/sci-libs/clblas/metadata.xml
+++ b/sci-libs/clblas/metadata.xml
@@ -20,4 +20,7 @@
Copy performance scripts that can measure and graph performance.
</flag>
</use>
+ <upstream>
+ <remote-id type="github">clMathLibraries/clBLAS</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2015-06-05 11:20 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2015-06-05 11:20 UTC (permalink / raw
To: gentoo-commits
commit: 1ff43d68cef393778c94b6609439ff3d74d730ed
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 5 11:17:53 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 5 11:17:53 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1ff43d68
sci-libs/clblas: Move to python-single-r1.eclass
Package-Manager: portage-2.2.20
sci-libs/clblas/ChangeLog | 4 ++++
sci-libs/clblas/clblas-2.2.ebuild | 6 ++++--
sci-libs/clblas/clblas-9999.ebuild | 6 ++++--
3 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/sci-libs/clblas/ChangeLog b/sci-libs/clblas/ChangeLog
index e208ddb..1a00754 100644
--- a/sci-libs/clblas/ChangeLog
+++ b/sci-libs/clblas/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 05 Jun 2015; Justin Lecher <jlec@gentoo.org> clblas-2.2.ebuild,
+ clblas-9999.ebuild:
+ sci-libs/clblas: Move to python-single-r1.eclass
+
05 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
sci-libs/clblas: Add github to remote-id in metadata.xml
diff --git a/sci-libs/clblas/clblas-2.2.ebuild b/sci-libs/clblas/clblas-2.2.ebuild
index 84342eb..0fe40e6 100644
--- a/sci-libs/clblas/clblas-2.2.ebuild
+++ b/sci-libs/clblas/clblas-2.2.ebuild
@@ -4,7 +4,9 @@
EAPI=5
-inherit cmake-utils
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils python-single-r1
MY_PN="clBLAS"
@@ -30,7 +32,7 @@ RDEPEND="
virtual/opencl
|| ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk )
dev-libs/boost
- performance? ( dev-lang/python )
+ performance? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}"
# test? (
diff --git a/sci-libs/clblas/clblas-9999.ebuild b/sci-libs/clblas/clblas-9999.ebuild
index 34e3840..17688ba 100644
--- a/sci-libs/clblas/clblas-9999.ebuild
+++ b/sci-libs/clblas/clblas-9999.ebuild
@@ -4,7 +4,9 @@
EAPI=5
-inherit cmake-utils
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils python-single-r1
MY_PN="clBLAS"
@@ -30,7 +32,7 @@ RDEPEND="
virtual/opencl
|| ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk )
dev-libs/boost
- performance? ( dev-lang/python )
+ performance? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}"
# test? (
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2015-06-06 9:46 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2015-06-06 9:46 UTC (permalink / raw
To: gentoo-commits
commit: ede9b0df91da676a5dddcf79f50565e7cd26c7ac
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Fri Jun 5 12:28:35 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 5 12:30:20 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ede9b0df
sci-libs/clblas: Cleanup ebuilds
Package-Manager: portage-2.2.18
sci-libs/clblas/ChangeLog | 4 ++++
sci-libs/clblas/clblas-2.2.ebuild | 13 +++----------
sci-libs/clblas/clblas-2.4.ebuild | 13 +++----------
sci-libs/clblas/clblas-9999.ebuild | 14 +++-----------
4 files changed, 13 insertions(+), 31 deletions(-)
diff --git a/sci-libs/clblas/ChangeLog b/sci-libs/clblas/ChangeLog
index 1a00754..c6ea0b4 100644
--- a/sci-libs/clblas/ChangeLog
+++ b/sci-libs/clblas/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 05 Jun 2015; Marius Brehler <marbre@linux.sungazer.de> clblas-2.2.ebuild,
+ clblas-2.4.ebuild, clblas-9999.ebuild:
+ sci-libs/clblas: Cleanup ebuilds
+
05 Jun 2015; Justin Lecher <jlec@gentoo.org> clblas-2.2.ebuild,
clblas-9999.ebuild:
sci-libs/clblas: Move to python-single-r1.eclass
diff --git a/sci-libs/clblas/clblas-2.2.ebuild b/sci-libs/clblas/clblas-2.2.ebuild
index 0fe40e6..ff407df 100644
--- a/sci-libs/clblas/clblas-2.2.ebuild
+++ b/sci-libs/clblas/clblas-2.2.ebuild
@@ -12,16 +12,9 @@ MY_PN="clBLAS"
DESCRIPTION="A software library containing BLAS routines for OpenCL"
HOMEPAGE="https://github.com/clMathLibraries/clBLAS"
-
-if [ ${PV} == "9999" ] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/clMathLibraries/${MY_PN}.git git://github.com/clMathLibraries/${MY_PN}.git"
- S="${WORKDIR}/${P}/src"
-else
- SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
- S="${WORKDIR}/${MY_PN}-${PV}/src"
-fi
+SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+S="${WORKDIR}/${MY_PN}-${PV}/src"
LICENSE="Apache-2.0"
SLOT="0"
diff --git a/sci-libs/clblas/clblas-2.4.ebuild b/sci-libs/clblas/clblas-2.4.ebuild
index 17688ba..945a9a4 100644
--- a/sci-libs/clblas/clblas-2.4.ebuild
+++ b/sci-libs/clblas/clblas-2.4.ebuild
@@ -12,16 +12,9 @@ MY_PN="clBLAS"
DESCRIPTION="A software library containing BLAS routines for OpenCL"
HOMEPAGE="https://github.com/clMathLibraries/clBLAS"
-
-if [ ${PV} == "9999" ] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/clMathLibraries/${MY_PN}.git git://github.com/clMathLibraries/${MY_PN}.git"
- S="${WORKDIR}/${P}/src"
-else
- SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
- S="${WORKDIR}/${MY_PN}-${PV}/src"
-fi
+SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+S="${WORKDIR}/${MY_PN}-${PV}/src"
LICENSE="Apache-2.0"
SLOT="0"
diff --git a/sci-libs/clblas/clblas-9999.ebuild b/sci-libs/clblas/clblas-9999.ebuild
index 17688ba..8850929 100644
--- a/sci-libs/clblas/clblas-9999.ebuild
+++ b/sci-libs/clblas/clblas-9999.ebuild
@@ -6,22 +6,14 @@ EAPI=5
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils python-single-r1
+inherit cmake-utils git-r3 python-single-r1
MY_PN="clBLAS"
DESCRIPTION="A software library containing BLAS routines for OpenCL"
HOMEPAGE="https://github.com/clMathLibraries/clBLAS"
-
-if [ ${PV} == "9999" ] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/clMathLibraries/${MY_PN}.git git://github.com/clMathLibraries/${MY_PN}.git"
- S="${WORKDIR}/${P}/src"
-else
- SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
- S="${WORKDIR}/${MY_PN}-${PV}/src"
-fi
+EGIT_REPO_URI="https://github.com/clMathLibraries/${MY_PN}.git git://github.com/clMathLibraries/${MY_PN}.git"
+S="${WORKDIR}/${P}/src"
LICENSE="Apache-2.0"
SLOT="0"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2015-06-06 9:46 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2015-06-06 9:46 UTC (permalink / raw
To: gentoo-commits
commit: 0cd84717628edc3d5d5564d6c6eb09f3270474f9
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Fri Jun 5 12:25:07 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 5 12:30:13 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0cd84717
sci-libs/clblas: Fork 2.4 from 9999
sci-libs/clblas/clblas-2.4.ebuild | 70 ++++++++++++++++++++++++++++++++++++++-
1 file changed, 69 insertions(+), 1 deletion(-)
diff --git a/sci-libs/clblas/clblas-2.4.ebuild b/sci-libs/clblas/clblas-2.4.ebuild
deleted file mode 120000
index 9729dfd..0000000
--- a/sci-libs/clblas/clblas-2.4.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-clblas-9999.ebuild
\ No newline at end of file
diff --git a/sci-libs/clblas/clblas-2.4.ebuild b/sci-libs/clblas/clblas-2.4.ebuild
new file mode 100644
index 0000000..17688ba
--- /dev/null
+++ b/sci-libs/clblas/clblas-2.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils python-single-r1
+
+MY_PN="clBLAS"
+
+DESCRIPTION="A software library containing BLAS routines for OpenCL"
+HOMEPAGE="https://github.com/clMathLibraries/clBLAS"
+
+if [ ${PV} == "9999" ] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/clMathLibraries/${MY_PN}.git git://github.com/clMathLibraries/${MY_PN}.git"
+ S="${WORKDIR}/${P}/src"
+else
+ SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${MY_PN}-${PV}/src"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="+client examples +ktest performance test"
+
+RDEPEND="
+ >=sys-devel/gcc-4.6:*
+ virtual/opencl
+ || ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk )
+ dev-libs/boost
+ performance? ( ${PYTHON_DEPS} )
+ "
+DEPEND="${RDEPEND}"
+# test? (
+# >=dev-cpp/gtest-1.6.0
+# >=sci-libs/acml-6.1.0.3
+# )"
+
+# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
+# Therefore src_test() won't execute any test.
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}"/clblas-samples_CMakeLists.patch
+ "${FILESDIR}"/clblas-scripts_perf_CMakeLists.patch
+)
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then
+ die "Compilation with gcc older than 4.6 is not supported."
+ fi
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_build client CLIENT)
+ $(cmake-utils_use_build examples SAMPLE)
+ $(cmake-utils_use_build ktest KTEST)
+ $(cmake-utils_use_build performance PERFORMANCE)
+ $(cmake-utils_use_build test TEST)
+ )
+ cmake-utils_src_configure
+}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2015-09-13 18:34 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2015-09-13 18:34 UTC (permalink / raw
To: gentoo-commits
commit: 01d67b4f066fe470068ec0da85ad0d8fb70edd0d
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Sep 12 08:41:06 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Sep 12 08:41:06 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=01d67b4f
sci-libs/clblas: Version bump
Package-Manager: portage-2.2.20.1
sci-libs/clblas/ChangeLog | 5 ++++
sci-libs/clblas/clblas-2.6.ebuild | 57 +++++++++++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/sci-libs/clblas/ChangeLog b/sci-libs/clblas/ChangeLog
index 09bde59..e74dc52 100644
--- a/sci-libs/clblas/ChangeLog
+++ b/sci-libs/clblas/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Id$
+*clblas-2.6 (12 Sep 2015)
+
+ 12 Sep 2015; Marius Brehler <marbre@linux.sungazer.de> +clblas-2.6.ebuild:
+ sci-libs/clblas: Version bump
+
06 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
+files/clblas-2.4-samples_CMakeLists.patch,
+files/clblas-2.4-scripts_perf_CMakeLists.patch,
diff --git a/sci-libs/clblas/clblas-2.6.ebuild b/sci-libs/clblas/clblas-2.6.ebuild
new file mode 100644
index 0000000..2a7b07b
--- /dev/null
+++ b/sci-libs/clblas/clblas-2.6.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils python-single-r1
+
+MY_PN="clBLAS"
+
+DESCRIPTION="A software library containing BLAS routines for OpenCL"
+HOMEPAGE="https://github.com/clMathLibraries/clBLAS"
+SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+S="${WORKDIR}/${MY_PN}-${PV}/src"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="+client examples +ktest performance test"
+
+RDEPEND="
+ >=sys-devel/gcc-4.6:*
+ virtual/opencl
+ || ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk )
+ dev-libs/boost
+ performance? ( ${PYTHON_DEPS} )
+ "
+DEPEND="${RDEPEND}"
+# test? (
+# >=dev-cpp/gtest-1.6.0
+# >=sci-libs/acml-6.1.0.3
+# )"
+
+# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
+# Therefore src_test() won't execute any test.
+RESTRICT="test"
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then
+ die "Compilation with gcc older than 4.6 is not supported."
+ fi
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_build client CLIENT)
+ $(cmake-utils_use_build examples SAMPLE)
+ $(cmake-utils_use_build ktest KTEST)
+ $(cmake-utils_use_build performance PERFORMANCE)
+ $(cmake-utils_use_build test TEST)
+ )
+ cmake-utils_src_configure
+}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2015-11-30 8:13 Marius Brehler
0 siblings, 0 replies; 16+ messages in thread
From: Marius Brehler @ 2015-11-30 8:13 UTC (permalink / raw
To: gentoo-commits
commit: e81e09a9ced382302db31f37ac55948804dab28a
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Nov 30 08:12:44 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Nov 30 08:12:44 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e81e09a9
sci-libs/clblas: Build against CL-1.2, closes issue #543
Package-Manager: portage-2.2.20.1
sci-libs/clblas/ChangeLog | 6 ++++++
sci-libs/clblas/{clblas-2.6.ebuild => clblas-2.6-r1.ebuild} | 11 +++++++++++
sci-libs/clblas/clblas-9999.ebuild | 11 +++++++++++
3 files changed, 28 insertions(+)
diff --git a/sci-libs/clblas/ChangeLog b/sci-libs/clblas/ChangeLog
index e74dc52..217f674 100644
--- a/sci-libs/clblas/ChangeLog
+++ b/sci-libs/clblas/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Id$
+*clblas-2.6-r1 (30 Nov 2015)
+
+ 30 Nov 2015; Marius Brehler <marbre@linux.sungazer.de> +clblas-2.6-r1.ebuild,
+ -clblas-2.6.ebuild, clblas-9999.ebuild:
+ sci-libs/clblas: Build against CL-1.2, closes issue #543
+
*clblas-2.6 (12 Sep 2015)
12 Sep 2015; Marius Brehler <marbre@linux.sungazer.de> +clblas-2.6.ebuild:
diff --git a/sci-libs/clblas/clblas-2.6.ebuild b/sci-libs/clblas/clblas-2.6-r1.ebuild
similarity index 76%
rename from sci-libs/clblas/clblas-2.6.ebuild
rename to sci-libs/clblas/clblas-2.6-r1.ebuild
index d060857..15ca8d5 100644
--- a/sci-libs/clblas/clblas-2.6.ebuild
+++ b/sci-libs/clblas/clblas-2.6-r1.ebuild
@@ -45,6 +45,16 @@ pkg_pretend() {
die "Compilation with gcc older than 4.6 is not supported."
fi
fi
+
+ if [ ! -d "/usr/local/include/CL" ]; then
+ eerror "As a temporary workaround for Bug #521734, a symlink pointing to"
+ eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2"
+ eerror "headers, provided by the eselect-opencl package, can be created with"
+ eerror ""
+ eerror " ln -s /usr/lib64/OpenCL/global/include/CL-1.2/ /usr/local/include/CL"
+ eerror ""
+ die "/usr/local/include/CL not found"
+ fi
}
src_configure() {
@@ -54,6 +64,7 @@ src_configure() {
$(cmake-utils_use_build ktest KTEST)
$(cmake-utils_use_build performance PERFORMANCE)
$(cmake-utils_use_build test TEST)
+ -DOPENCL_ROOT="/usr/local/include"
)
cmake-utils_src_configure
}
diff --git a/sci-libs/clblas/clblas-9999.ebuild b/sci-libs/clblas/clblas-9999.ebuild
index 4a25302..84404a9 100644
--- a/sci-libs/clblas/clblas-9999.ebuild
+++ b/sci-libs/clblas/clblas-9999.ebuild
@@ -45,6 +45,16 @@ pkg_pretend() {
die "Compilation with gcc older than 4.6 is not supported."
fi
fi
+
+ if [ ! -d "/usr/local/include/CL" ]; then
+ eerror "As a temporary workaround for Bug #521734, a symlink pointing to"
+ eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2"
+ eerror "headers, provided by the eselect-opencl package, can be created with"
+ eerror ""
+ eerror " ln -s /usr/lib64/OpenCL/global/include/CL-1.2/ /usr/local/include/CL"
+ eerror ""
+ die "/usr/local/include/CL not found"
+ fi
}
src_configure() {
@@ -54,6 +64,7 @@ src_configure() {
$(cmake-utils_use_build ktest KTEST)
$(cmake-utils_use_build performance PERFORMANCE)
$(cmake-utils_use_build test TEST)
+ -DOPENCL_ROOT="/usr/local/include"
)
cmake-utils_src_configure
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2015-11-30 8:13 Marius Brehler
0 siblings, 0 replies; 16+ messages in thread
From: Marius Brehler @ 2015-11-30 8:13 UTC (permalink / raw
To: gentoo-commits
commit: 25909571b9c4b4aea360274ffc2d5709a2080513
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Nov 30 08:13:22 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Nov 30 08:13:22 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=25909571
sci-libs/clblas: Version bump
Package-Manager: portage-2.2.20.1
sci-libs/clblas/ChangeLog | 5 +++
sci-libs/clblas/clblas-2.8.ebuild | 70 +++++++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
diff --git a/sci-libs/clblas/ChangeLog b/sci-libs/clblas/ChangeLog
index 217f674..81be8c6 100644
--- a/sci-libs/clblas/ChangeLog
+++ b/sci-libs/clblas/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Id$
+*clblas-2.8 (30 Nov 2015)
+
+ 30 Nov 2015; Marius Brehler <marbre@linux.sungazer.de> +clblas-2.8.ebuild:
+ sci-libs/clblas: Version bump
+
*clblas-2.6-r1 (30 Nov 2015)
30 Nov 2015; Marius Brehler <marbre@linux.sungazer.de> +clblas-2.6-r1.ebuild,
diff --git a/sci-libs/clblas/clblas-2.8.ebuild b/sci-libs/clblas/clblas-2.8.ebuild
new file mode 100644
index 0000000..15ca8d5
--- /dev/null
+++ b/sci-libs/clblas/clblas-2.8.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils python-single-r1
+
+MY_PN="clBLAS"
+
+DESCRIPTION="A software library containing BLAS routines for OpenCL"
+HOMEPAGE="https://github.com/clMathLibraries/clBLAS"
+SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+client examples +ktest performance test"
+
+REQUIRED_USE="performance? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ dev-libs/boost
+ virtual/opencl
+ || ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk )
+ performance? ( ${PYTHON_DEPS} )
+ "
+DEPEND="${RDEPEND}"
+# test? (
+# >=dev-cpp/gtest-1.6.0
+# >=sci-libs/acml-6.1.0.3
+# )"
+
+# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
+# Therefore src_test() won't execute any test.
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_PN}-${PV}/src"
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then
+ die "Compilation with gcc older than 4.6 is not supported."
+ fi
+ fi
+
+ if [ ! -d "/usr/local/include/CL" ]; then
+ eerror "As a temporary workaround for Bug #521734, a symlink pointing to"
+ eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2"
+ eerror "headers, provided by the eselect-opencl package, can be created with"
+ eerror ""
+ eerror " ln -s /usr/lib64/OpenCL/global/include/CL-1.2/ /usr/local/include/CL"
+ eerror ""
+ die "/usr/local/include/CL not found"
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_build client CLIENT)
+ $(cmake-utils_use_build examples SAMPLE)
+ $(cmake-utils_use_build ktest KTEST)
+ $(cmake-utils_use_build performance PERFORMANCE)
+ $(cmake-utils_use_build test TEST)
+ -DOPENCL_ROOT="/usr/local/include"
+ )
+ cmake-utils_src_configure
+}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2016-01-21 8:20 Marius Brehler
0 siblings, 0 replies; 16+ messages in thread
From: Marius Brehler @ 2016-01-21 8:20 UTC (permalink / raw
To: gentoo-commits
commit: 57ba5f30b949dba5a74dfe40f9989a263a0be7ed
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Thu Jan 21 08:20:30 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Thu Jan 21 08:20:30 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=57ba5f30
sci-libs/clblas: Version bump to 2.10
Package-Manager: portage-2.2.26
sci-libs/clblas/clblas-2.10.ebuild | 70 ++++++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+)
diff --git a/sci-libs/clblas/clblas-2.10.ebuild b/sci-libs/clblas/clblas-2.10.ebuild
new file mode 100644
index 0000000..da92999
--- /dev/null
+++ b/sci-libs/clblas/clblas-2.10.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils python-single-r1
+
+MY_PN="clBLAS"
+
+DESCRIPTION="A software library containing BLAS routines for OpenCL"
+HOMEPAGE="https://github.com/clMathLibraries/clBLAS"
+SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+client examples +ktest performance test"
+
+REQUIRED_USE="performance? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ dev-libs/boost
+ virtual/opencl
+ || ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk )
+ performance? ( ${PYTHON_DEPS} )
+ "
+DEPEND="${RDEPEND}"
+# test? (
+# >=dev-cpp/gtest-1.6.0
+# >=sci-libs/acml-6.1.0.3
+# )"
+
+# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
+# Therefore src_test() won't execute any test.
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_PN}-${PV}/src"
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then
+ die "Compilation with gcc older than 4.6 is not supported."
+ fi
+ fi
+
+ if [ ! -d "/usr/local/include/CL" ]; then
+ eerror "As a temporary workaround for Bug #521734, a symlink pointing to"
+ eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2"
+ eerror "headers, provided by the eselect-opencl package, can be created with"
+ eerror ""
+ eerror " ln -s /usr/lib64/OpenCL/global/include/CL-1.2/ /usr/local/include/CL"
+ eerror ""
+ die "/usr/local/include/CL not found"
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_build client CLIENT)
+ $(cmake-utils_use_build examples SAMPLE)
+ $(cmake-utils_use_build ktest KTEST)
+ $(cmake-utils_use_build performance PERFORMANCE)
+ $(cmake-utils_use_build test TEST)
+ -DOPENCL_ROOT="/usr/local/include"
+ )
+ cmake-utils_src_configure
+}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2016-04-25 8:52 Marius Brehler
0 siblings, 0 replies; 16+ messages in thread
From: Marius Brehler @ 2016-04-25 8:52 UTC (permalink / raw
To: gentoo-commits
commit: e6e7792e71292e2fe9e6276b6fb638401e2e5905
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Apr 25 08:48:42 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Apr 25 08:48:42 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e6e7792e
sci-libs/clblas: Drop old
Package-Manager: portage-2.2.26
sci-libs/clblas/clblas-2.6-r1.ebuild | 70 ------------------------------------
1 file changed, 70 deletions(-)
diff --git a/sci-libs/clblas/clblas-2.6-r1.ebuild b/sci-libs/clblas/clblas-2.6-r1.ebuild
deleted file mode 100644
index 15ca8d5..0000000
--- a/sci-libs/clblas/clblas-2.6-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils python-single-r1
-
-MY_PN="clBLAS"
-
-DESCRIPTION="A software library containing BLAS routines for OpenCL"
-HOMEPAGE="https://github.com/clMathLibraries/clBLAS"
-SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+client examples +ktest performance test"
-
-REQUIRED_USE="performance? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- dev-libs/boost
- virtual/opencl
- || ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk )
- performance? ( ${PYTHON_DEPS} )
- "
-DEPEND="${RDEPEND}"
-# test? (
-# >=dev-cpp/gtest-1.6.0
-# >=sci-libs/acml-6.1.0.3
-# )"
-
-# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
-# Therefore src_test() won't execute any test.
-RESTRICT="test"
-
-S="${WORKDIR}/${MY_PN}-${PV}/src"
-
-pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then
- die "Compilation with gcc older than 4.6 is not supported."
- fi
- fi
-
- if [ ! -d "/usr/local/include/CL" ]; then
- eerror "As a temporary workaround for Bug #521734, a symlink pointing to"
- eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2"
- eerror "headers, provided by the eselect-opencl package, can be created with"
- eerror ""
- eerror " ln -s /usr/lib64/OpenCL/global/include/CL-1.2/ /usr/local/include/CL"
- eerror ""
- die "/usr/local/include/CL not found"
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use_build client CLIENT)
- $(cmake-utils_use_build examples SAMPLE)
- $(cmake-utils_use_build ktest KTEST)
- $(cmake-utils_use_build performance PERFORMANCE)
- $(cmake-utils_use_build test TEST)
- -DOPENCL_ROOT="/usr/local/include"
- )
- cmake-utils_src_configure
-}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2016-05-21 9:32 Marius Brehler
0 siblings, 0 replies; 16+ messages in thread
From: Marius Brehler @ 2016-05-21 9:32 UTC (permalink / raw
To: gentoo-commits
commit: 17eb01ee6ae85de20a06d4568a2062c2abddfdca
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat May 21 09:30:45 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Sat May 21 09:30:45 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=17eb01ee
sci-libs/clblas: Bump to EAPI=6
Package-Manager: portage-2.2.28
sci-libs/clblas/clblas-2.10.ebuild | 12 ++++++------
sci-libs/clblas/clblas-2.8.ebuild | 14 +++++++-------
sci-libs/clblas/clblas-9999.ebuild | 14 +++++++-------
3 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/sci-libs/clblas/clblas-2.10.ebuild b/sci-libs/clblas/clblas-2.10.ebuild
index da92999..d37fe5d 100644
--- a/sci-libs/clblas/clblas-2.10.ebuild
+++ b/sci-libs/clblas/clblas-2.10.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 )
@@ -59,11 +59,11 @@ pkg_pretend() {
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_build client CLIENT)
- $(cmake-utils_use_build examples SAMPLE)
- $(cmake-utils_use_build ktest KTEST)
- $(cmake-utils_use_build performance PERFORMANCE)
- $(cmake-utils_use_build test TEST)
+ -DBUILD_CLIENT="$(usex client)"
+ -DBUILD_SAMPLE="$(usex examples)"
+ -DBUILD_KTEST="$(usex ktest)"
+ -DBUILD_PERFORMANCE="$(usex performance)"
+ -DBUILD_TEST="$(usex test)"
-DOPENCL_ROOT="/usr/local/include"
)
cmake-utils_src_configure
diff --git a/sci-libs/clblas/clblas-2.8.ebuild b/sci-libs/clblas/clblas-2.8.ebuild
index 15ca8d5..d37fe5d 100644
--- a/sci-libs/clblas/clblas-2.8.ebuild
+++ b/sci-libs/clblas/clblas-2.8.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 )
@@ -59,11 +59,11 @@ pkg_pretend() {
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_build client CLIENT)
- $(cmake-utils_use_build examples SAMPLE)
- $(cmake-utils_use_build ktest KTEST)
- $(cmake-utils_use_build performance PERFORMANCE)
- $(cmake-utils_use_build test TEST)
+ -DBUILD_CLIENT="$(usex client)"
+ -DBUILD_SAMPLE="$(usex examples)"
+ -DBUILD_KTEST="$(usex ktest)"
+ -DBUILD_PERFORMANCE="$(usex performance)"
+ -DBUILD_TEST="$(usex test)"
-DOPENCL_ROOT="/usr/local/include"
)
cmake-utils_src_configure
diff --git a/sci-libs/clblas/clblas-9999.ebuild b/sci-libs/clblas/clblas-9999.ebuild
index 84404a9..3a663af 100644
--- a/sci-libs/clblas/clblas-9999.ebuild
+++ b/sci-libs/clblas/clblas-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 )
@@ -59,11 +59,11 @@ pkg_pretend() {
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_build client CLIENT)
- $(cmake-utils_use_build examples SAMPLE)
- $(cmake-utils_use_build ktest KTEST)
- $(cmake-utils_use_build performance PERFORMANCE)
- $(cmake-utils_use_build test TEST)
+ -DBUILD_CLIENT="$(usex client)"
+ -DBUILD_SAMPLE="$(usex examples)"
+ -DBUILD_KTEST="$(usex ktest)"
+ -DBUILD_PERFORMANCE="$(usex performance)"
+ -DBUILD_TEST="$(usex test)"
-DOPENCL_ROOT="/usr/local/include"
)
cmake-utils_src_configure
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2017-01-26 19:40 Martin Mokrejs
0 siblings, 0 replies; 16+ messages in thread
From: Martin Mokrejs @ 2017-01-26 19:40 UTC (permalink / raw
To: gentoo-commits
commit: 615239e113d022a9298ed25b566fc4e74053c9a1
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Thu Jan 26 19:38:23 2017 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Thu Jan 26 19:38:23 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=615239e1
sci-libs/clblas-2.10: fix broken symlink presence checks, github science issue #726
This fixes broken check on EPREFIX-ed installations and IMHO clarifies that
most people do not need to do the symlink magic if tehy installed eselect-cblas
already.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
sci-libs/clblas/clblas-2.10.ebuild | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/sci-libs/clblas/clblas-2.10.ebuild b/sci-libs/clblas/clblas-2.10.ebuild
index d37fe5d..2cbb911 100644
--- a/sci-libs/clblas/clblas-2.10.ebuild
+++ b/sci-libs/clblas/clblas-2.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -46,14 +46,15 @@ pkg_pretend() {
fi
fi
- if [ ! -d "/usr/local/include/CL" ]; then
+ if [ ! -d "${EPREFIX}/usr/include/CL" ]; then
eerror "As a temporary workaround for Bug #521734, a symlink pointing to"
eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2"
- eerror "headers, provided by the eselect-opencl package, can be created with"
+ eerror "headers, normally provided by the eselect-opencl package, can be"
+ eerror "manually created with"
eerror ""
- eerror " ln -s /usr/lib64/OpenCL/global/include/CL-1.2/ /usr/local/include/CL"
+ eerror " ln -s ${EPREFIX}/usr/lib64/OpenCL/global/include/CL-1.2/ ${EPREFIX}/usr/include/CL"
eerror ""
- die "/usr/local/include/CL not found"
+ die "${EPREFIX}/usr/include/CL not found"
fi
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2017-01-26 19:40 Martin Mokrejs
0 siblings, 0 replies; 16+ messages in thread
From: Martin Mokrejs @ 2017-01-26 19:40 UTC (permalink / raw
To: gentoo-commits
commit: c6e174240bd956a16b04f89328e53630f066fc14
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Thu Jan 26 19:40:35 2017 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Thu Jan 26 19:40:35 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c6e17424
sci-libs/clblas: apply previous fix also to the other ebuilds
Package-Manager: Portage-2.3.3, Repoman-2.3.1
sci-libs/clblas/clblas-2.8.ebuild | 11 ++++++-----
sci-libs/clblas/clblas-9999.ebuild | 11 ++++++-----
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/sci-libs/clblas/clblas-2.8.ebuild b/sci-libs/clblas/clblas-2.8.ebuild
index d37fe5d..2cbb911 100644
--- a/sci-libs/clblas/clblas-2.8.ebuild
+++ b/sci-libs/clblas/clblas-2.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -46,14 +46,15 @@ pkg_pretend() {
fi
fi
- if [ ! -d "/usr/local/include/CL" ]; then
+ if [ ! -d "${EPREFIX}/usr/include/CL" ]; then
eerror "As a temporary workaround for Bug #521734, a symlink pointing to"
eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2"
- eerror "headers, provided by the eselect-opencl package, can be created with"
+ eerror "headers, normally provided by the eselect-opencl package, can be"
+ eerror "manually created with"
eerror ""
- eerror " ln -s /usr/lib64/OpenCL/global/include/CL-1.2/ /usr/local/include/CL"
+ eerror " ln -s ${EPREFIX}/usr/lib64/OpenCL/global/include/CL-1.2/ ${EPREFIX}/usr/include/CL"
eerror ""
- die "/usr/local/include/CL not found"
+ die "${EPREFIX}/usr/include/CL not found"
fi
}
diff --git a/sci-libs/clblas/clblas-9999.ebuild b/sci-libs/clblas/clblas-9999.ebuild
index 3a663af..f5fc36e 100644
--- a/sci-libs/clblas/clblas-9999.ebuild
+++ b/sci-libs/clblas/clblas-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -46,14 +46,15 @@ pkg_pretend() {
fi
fi
- if [ ! -d "/usr/local/include/CL" ]; then
+ if [ ! -d "${EPREFIX}/usr/include/CL" ]; then
eerror "As a temporary workaround for Bug #521734, a symlink pointing to"
eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2"
- eerror "headers, provided by the eselect-opencl package, can be created with"
+ eerror "headers, normally provided by the eselect-opencl package, can be"
+ eerror "manually created with"
eerror ""
- eerror " ln -s /usr/lib64/OpenCL/global/include/CL-1.2/ /usr/local/include/CL"
+ eerror " ln -s ${EPREFIX}/usr/lib64/OpenCL/global/include/CL-1.2/ ${EPREFIX}/usr/include/CL"
eerror ""
- die "/usr/local/include/CL not found"
+ die "${EPREFIX}/usr/include/CL not found"
fi
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2017-09-02 11:39 David Seifert
0 siblings, 0 replies; 16+ messages in thread
From: David Seifert @ 2017-09-02 11:39 UTC (permalink / raw
To: gentoo-commits
commit: f961d29421a95ced410118e4a524e536e2794a88
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 2 11:38:42 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Sep 2 11:38:42 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f961d294
sci-libs/clblas: Remove last mentions of sci-libs/acml
Package-Manager: Portage-2.3.8, Repoman-2.3.3
sci-libs/clblas/clblas-2.10.ebuild | 1 -
sci-libs/clblas/clblas-2.8.ebuild | 1 -
sci-libs/clblas/clblas-9999.ebuild | 1 -
3 files changed, 3 deletions(-)
diff --git a/sci-libs/clblas/clblas-2.10.ebuild b/sci-libs/clblas/clblas-2.10.ebuild
index 1d020cd40..01d8a1825 100644
--- a/sci-libs/clblas/clblas-2.10.ebuild
+++ b/sci-libs/clblas/clblas-2.10.ebuild
@@ -29,7 +29,6 @@ RDEPEND="
DEPEND="${RDEPEND}"
# test? (
# >=dev-cpp/gtest-1.6.0
-# >=sci-libs/acml-6.1.0.3
# )"
# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
diff --git a/sci-libs/clblas/clblas-2.8.ebuild b/sci-libs/clblas/clblas-2.8.ebuild
index 1d020cd40..01d8a1825 100644
--- a/sci-libs/clblas/clblas-2.8.ebuild
+++ b/sci-libs/clblas/clblas-2.8.ebuild
@@ -29,7 +29,6 @@ RDEPEND="
DEPEND="${RDEPEND}"
# test? (
# >=dev-cpp/gtest-1.6.0
-# >=sci-libs/acml-6.1.0.3
# )"
# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
diff --git a/sci-libs/clblas/clblas-9999.ebuild b/sci-libs/clblas/clblas-9999.ebuild
index 1836c884f..5371921f7 100644
--- a/sci-libs/clblas/clblas-9999.ebuild
+++ b/sci-libs/clblas/clblas-9999.ebuild
@@ -29,7 +29,6 @@ RDEPEND="
DEPEND="${RDEPEND}"
# test? (
# >=dev-cpp/gtest-1.6.0
-# >=sci-libs/acml-6.1.0.3
# )"
# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
@ 2020-09-22 12:14 Aisha Tammy
0 siblings, 0 replies; 16+ messages in thread
From: Aisha Tammy @ 2020-09-22 12:14 UTC (permalink / raw
To: gentoo-commits
commit: 59054408e06cdae7fbbab8b9ef5916d0ff516ee5
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Tue Sep 22 12:09:50 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Sep 22 12:09:50 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=59054408
sci-libs/clblas: drop package
present in ::gentoo
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sci-libs/clblas/clblas-2.10.ebuild | 69 --------------------------------------
sci-libs/clblas/clblas-2.8.ebuild | 69 --------------------------------------
sci-libs/clblas/clblas-9999.ebuild | 69 --------------------------------------
sci-libs/clblas/metadata.xml | 29 ----------------
4 files changed, 236 deletions(-)
diff --git a/sci-libs/clblas/clblas-2.10.ebuild b/sci-libs/clblas/clblas-2.10.ebuild
deleted file mode 100644
index 01d8a1825..000000000
--- a/sci-libs/clblas/clblas-2.10.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils python-single-r1
-
-MY_PN="clBLAS"
-
-DESCRIPTION="A software library containing BLAS routines for OpenCL"
-HOMEPAGE="https://github.com/clMathLibraries/clBLAS"
-SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+client examples +ktest performance test"
-
-REQUIRED_USE="performance? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- dev-libs/boost
- virtual/opencl
- || ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk )
- performance? ( ${PYTHON_DEPS} )
- "
-DEPEND="${RDEPEND}"
-# test? (
-# >=dev-cpp/gtest-1.6.0
-# )"
-
-# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
-# Therefore src_test() won't execute any test.
-RESTRICT="test"
-
-S="${WORKDIR}/${MY_PN}-${PV}/src"
-
-pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then
- die "Compilation with gcc older than 4.6 is not supported."
- fi
- fi
-
- if [ ! -d "${EPREFIX}/usr/include/CL" ]; then
- eerror "As a temporary workaround for Bug #521734, a symlink pointing to"
- eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2"
- eerror "headers, normally provided by the eselect-opencl package, can be"
- eerror "manually created with"
- eerror ""
- eerror " ln -s ${EPREFIX}/usr/lib64/OpenCL/global/include/CL-1.2/ ${EPREFIX}/usr/include/CL"
- eerror ""
- die "${EPREFIX}/usr/include/CL not found"
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_CLIENT="$(usex client)"
- -DBUILD_SAMPLE="$(usex examples)"
- -DBUILD_KTEST="$(usex ktest)"
- -DBUILD_PERFORMANCE="$(usex performance)"
- -DBUILD_TEST="$(usex test)"
- -DOPENCL_ROOT="/usr/local/include"
- )
- cmake-utils_src_configure
-}
diff --git a/sci-libs/clblas/clblas-2.8.ebuild b/sci-libs/clblas/clblas-2.8.ebuild
deleted file mode 100644
index 01d8a1825..000000000
--- a/sci-libs/clblas/clblas-2.8.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils python-single-r1
-
-MY_PN="clBLAS"
-
-DESCRIPTION="A software library containing BLAS routines for OpenCL"
-HOMEPAGE="https://github.com/clMathLibraries/clBLAS"
-SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+client examples +ktest performance test"
-
-REQUIRED_USE="performance? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- dev-libs/boost
- virtual/opencl
- || ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk )
- performance? ( ${PYTHON_DEPS} )
- "
-DEPEND="${RDEPEND}"
-# test? (
-# >=dev-cpp/gtest-1.6.0
-# )"
-
-# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
-# Therefore src_test() won't execute any test.
-RESTRICT="test"
-
-S="${WORKDIR}/${MY_PN}-${PV}/src"
-
-pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then
- die "Compilation with gcc older than 4.6 is not supported."
- fi
- fi
-
- if [ ! -d "${EPREFIX}/usr/include/CL" ]; then
- eerror "As a temporary workaround for Bug #521734, a symlink pointing to"
- eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2"
- eerror "headers, normally provided by the eselect-opencl package, can be"
- eerror "manually created with"
- eerror ""
- eerror " ln -s ${EPREFIX}/usr/lib64/OpenCL/global/include/CL-1.2/ ${EPREFIX}/usr/include/CL"
- eerror ""
- die "${EPREFIX}/usr/include/CL not found"
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_CLIENT="$(usex client)"
- -DBUILD_SAMPLE="$(usex examples)"
- -DBUILD_KTEST="$(usex ktest)"
- -DBUILD_PERFORMANCE="$(usex performance)"
- -DBUILD_TEST="$(usex test)"
- -DOPENCL_ROOT="/usr/local/include"
- )
- cmake-utils_src_configure
-}
diff --git a/sci-libs/clblas/clblas-9999.ebuild b/sci-libs/clblas/clblas-9999.ebuild
deleted file mode 100644
index 5371921f7..000000000
--- a/sci-libs/clblas/clblas-9999.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils git-r3 python-single-r1
-
-MY_PN="clBLAS"
-
-DESCRIPTION="A software library containing BLAS routines for OpenCL"
-HOMEPAGE="https://github.com/clMathLibraries/clBLAS"
-EGIT_REPO_URI="https://github.com/clMathLibraries/${MY_PN}.git"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS=""
-IUSE="+client examples +ktest performance test"
-
-REQUIRED_USE="performance? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- dev-libs/boost
- virtual/opencl
- || ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk )
- performance? ( ${PYTHON_DEPS} )
- "
-DEPEND="${RDEPEND}"
-# test? (
-# >=dev-cpp/gtest-1.6.0
-# )"
-
-# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
-# Therefore src_test() won't execute any test.
-RESTRICT="test"
-
-S="${WORKDIR}/${P}/src"
-
-pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then
- die "Compilation with gcc older than 4.6 is not supported."
- fi
- fi
-
- if [ ! -d "${EPREFIX}/usr/include/CL" ]; then
- eerror "As a temporary workaround for Bug #521734, a symlink pointing to"
- eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2"
- eerror "headers, normally provided by the eselect-opencl package, can be"
- eerror "manually created with"
- eerror ""
- eerror " ln -s ${EPREFIX}/usr/lib64/OpenCL/global/include/CL-1.2/ ${EPREFIX}/usr/include/CL"
- eerror ""
- die "${EPREFIX}/usr/include/CL not found"
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_CLIENT="$(usex client)"
- -DBUILD_SAMPLE="$(usex examples)"
- -DBUILD_KTEST="$(usex ktest)"
- -DBUILD_PERFORMANCE="$(usex performance)"
- -DBUILD_TEST="$(usex test)"
- -DOPENCL_ROOT="/usr/local/include"
- )
- cmake-utils_src_configure
-}
diff --git a/sci-libs/clblas/metadata.xml b/sci-libs/clblas/metadata.xml
deleted file mode 100644
index 3aec2f51f..000000000
--- a/sci-libs/clblas/metadata.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?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>
-clBLAS is the code for the OpenCL BLAS portion of clMath. The
-complete set of BLAS level 1, 2 and 3 routines is implemented. See
-Netlib BLAS for the list of supported routines. In addition to GPU
-devices, the library also supports running on CPU devices to
-facilitate debugging and multicore programming.
-</longdescription>
- <use>
- <flag name="client">
-Build a command line clBLAS client program.
-</flag>
- <flag name="ktest">
-A command line tool for testing single clBLAS kernel.
-</flag>
- <flag name="performance">
-Copy performance scripts that can measure and graph performance.
-</flag>
- </use>
- <upstream>
- <remote-id type="github">clMathLibraries/clBLAS</remote-id>
- </upstream>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 16+ messages in thread
end of thread, other threads:[~2020-09-22 12:14 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-30 8:13 [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/ Marius Brehler
-- strict thread matches above, loose matches on Subject: below --
2020-09-22 12:14 Aisha Tammy
2017-09-02 11:39 David Seifert
2017-01-26 19:40 Martin Mokrejs
2017-01-26 19:40 Martin Mokrejs
2016-05-21 9:32 Marius Brehler
2016-04-25 8:52 Marius Brehler
2016-01-21 8:20 Marius Brehler
2015-11-30 8:13 Marius Brehler
2015-09-13 18:34 Justin Lecher
2015-06-06 9:46 Justin Lecher
2015-06-06 9:46 Justin Lecher
2015-06-05 11:20 Justin Lecher
2015-06-05 11:20 Justin Lecher
2015-05-12 11:18 Justin Lecher
2015-05-12 11:18 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox