* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpuarray/
@ 2017-01-04 6:02 Sebastien Fabbro
0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Fabbro @ 2017-01-04 6:02 UTC (permalink / raw
To: gentoo-commits
commit: 7308d22d1c50252d43ed746463f63b47f4b8a7c1
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 4 05:32:45 2017 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed Jan 4 06:02:05 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7308d22d
dev-libs/libgpuarray: initial import
Package-Manager: Portage-2.3.3, Repoman-2.3.1
dev-libs/libgpuarray/Manifest | 1 +
dev-libs/libgpuarray/libgpuarray-0.6.0_rc1.ebuild | 61 +++++++++++++++++++++++
dev-libs/libgpuarray/metadata.xml | 19 +++++++
3 files changed, 81 insertions(+)
diff --git a/dev-libs/libgpuarray/Manifest b/dev-libs/libgpuarray/Manifest
new file mode 100644
index 00000000..259cd45
--- /dev/null
+++ b/dev-libs/libgpuarray/Manifest
@@ -0,0 +1 @@
+DIST libgpuarray-0.6.0_rc1.tar.gz 228152 SHA256 c49655af200920e539597f26f975388b02af2f3971567d7e713e1a4ccd0b2a58 SHA512 90b2d31ebe38c08610643b28262375ed093b6587d4fff0bff2b1bbe249de3ec1ff01893cce67401dfec2946095cf83545d5093e8e49d86cded332eb7063d5e2e WHIRLPOOL 44471721d6a75f6dbeac313fd6de9778db3f98bc48904f6333e18b7e24792d62c0def57d05d984908be5ea5241645fcab4d7c537d2dff1fad73e2883e42c8673
diff --git a/dev-libs/libgpuarray/libgpuarray-0.6.0_rc1.ebuild b/dev-libs/libgpuarray/libgpuarray-0.6.0_rc1.ebuild
new file mode 100644
index 00000000..6ef1c71
--- /dev/null
+++ b/dev-libs/libgpuarray/libgpuarray-0.6.0_rc1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils cuda
+
+MYPV=${PV/_/-}
+
+DESCRIPTION="Library to manipulate tensors on the GPU"
+HOMEPAGE="http://deeplearning.net/software/libgpuarray/"
+SRC_URI="https://github.com/Theano/${PN}/archive/v${MYPV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="cuda doc opencl static-libs test"
+
+# cuda/opencl loaded dynamically at runtime, no compile time dep
+RDEPEND="
+ cuda? ( amd64? ( >=dev-util/nvidia-cuda-toolkit-7 ) )
+ opencl? (
+ virtual/opencl
+ || ( sci-libs/clblast sci-libs/clblas )
+ )
+"
+DEPEND="
+ doc? ( app-doc/doxygen )
+ test? ( ${RDEPEND}
+ dev-libs/check
+ virtual/pkgconfig
+ )
+"
+S="${WORKDIR}/${PN}-${MYPV}"
+
+src_prepare() {
+ sed -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/g' \
+ -i src/CMakeLists.txt || die
+ use cuda && cuda_src_prepare
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=()
+ cmake-utils_src_configure
+ use doc && emake -C doc doxy
+}
+
+src_test() {
+ local dev=cuda
+ use opencl && dev=opencl
+ DEVICE=${dev} cmake-utils_src_test
+ # if !cuda or !opencl: no testing because tests fail
+}
+
+src_install() {
+ use doc && HTML_DOCS=( doc/_doxybuild/html/. )
+ cmake-utils_src_install
+ use static-libs || rm "${ED}/usr/$(get_libdir)/libgpuarray-static.a"
+}
diff --git a/dev-libs/libgpuarray/metadata.xml b/dev-libs/libgpuarray/metadata.xml
new file mode 100644
index 00000000..81c8daf
--- /dev/null
+++ b/dev-libs/libgpuarray/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="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription>
+ Multi data-types, N-dimensional array library for the GPU, and
+ with python numpy and theano workflow in mind.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">Theano/libgpuarray</remote-id>
+ </upstream>
+ <use>
+ <flag name="cuda">Enable NVIDIA CUDA toolkit support</flag>
+ <flag name="opencl">Enable OpenCL support</flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpuarray/
@ 2017-01-27 9:34 Patrick Lauer
0 siblings, 0 replies; 3+ messages in thread
From: Patrick Lauer @ 2017-01-27 9:34 UTC (permalink / raw
To: gentoo-commits
commit: 167d6685719e79d0e982bb4fef55c647a8ac9be0
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 09:30:09 2017 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 09:30:09 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=167d6685
dev-libs/libgpuarray: Whitespace
Package-Manager: Portage-2.3.3, Repoman-2.3.1
dev-libs/libgpuarray/libgpuarray-0.6.0_rc1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/libgpuarray/libgpuarray-0.6.0_rc1.ebuild b/dev-libs/libgpuarray/libgpuarray-0.6.0_rc1.ebuild
index 6ef1c71..1c16317 100644
--- a/dev-libs/libgpuarray/libgpuarray-0.6.0_rc1.ebuild
+++ b/dev-libs/libgpuarray/libgpuarray-0.6.0_rc1.ebuild
@@ -30,7 +30,7 @@ DEPEND="
test? ( ${RDEPEND}
dev-libs/check
virtual/pkgconfig
- )
+ )
"
S="${WORKDIR}/${PN}-${MYPV}"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpuarray/
@ 2017-02-26 18:02 Sebastien Fabbro
0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Fabbro @ 2017-02-26 18:02 UTC (permalink / raw
To: gentoo-commits
commit: 28d072f3119f7e9eacf591591df6224b7331fe02
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 19 06:30:30 2017 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 18:02:03 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d072f3
dev-libs/libgpuarray: version bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
dev-libs/libgpuarray/Manifest | 2 +-
.../{libgpuarray-0.6.0_rc1.ebuild => libgpuarray-0.6.0.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/libgpuarray/Manifest b/dev-libs/libgpuarray/Manifest
index 259cd4561b..bbc04ddce0 100644
--- a/dev-libs/libgpuarray/Manifest
+++ b/dev-libs/libgpuarray/Manifest
@@ -1 +1 @@
-DIST libgpuarray-0.6.0_rc1.tar.gz 228152 SHA256 c49655af200920e539597f26f975388b02af2f3971567d7e713e1a4ccd0b2a58 SHA512 90b2d31ebe38c08610643b28262375ed093b6587d4fff0bff2b1bbe249de3ec1ff01893cce67401dfec2946095cf83545d5093e8e49d86cded332eb7063d5e2e WHIRLPOOL 44471721d6a75f6dbeac313fd6de9778db3f98bc48904f6333e18b7e24792d62c0def57d05d984908be5ea5241645fcab4d7c537d2dff1fad73e2883e42c8673
+DIST libgpuarray-0.6.0.tar.gz 232281 SHA256 a58a0624e894475a4955aaea25e82261c69b4d22c8f15ec07041a4ba176d35af SHA512 ef2b37d7752d7b19e6034ca1992dfa0c82806bae7a15ce54aad785f5abbe06e57a77b804699c55b3b7dc94496afb22acaf3a43cfc15148c150f2c93085c23080 WHIRLPOOL bf702ac1a6f7dd38e59bfc3af3854055730f0ac005ef03b206daf43bab90e930fbe04c8c2765bd673ed3d78b501a5c01f0ba93c22565c99e8aedd6a8049873ac
diff --git a/dev-libs/libgpuarray/libgpuarray-0.6.0_rc1.ebuild b/dev-libs/libgpuarray/libgpuarray-0.6.0.ebuild
similarity index 100%
rename from dev-libs/libgpuarray/libgpuarray-0.6.0_rc1.ebuild
rename to dev-libs/libgpuarray/libgpuarray-0.6.0.ebuild
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-26 18:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-27 9:34 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpuarray/ Patrick Lauer
-- strict thread matches above, loose matches on Subject: below --
2017-02-26 18:02 Sebastien Fabbro
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