diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-04-10 19:01:31 +0200 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-04-10 19:01:47 +0200 |
commit | 4bae39fee9b1f0135c08e234cb742e439ace2470 (patch) | |
tree | 63a7c4a439c0918d0935d9b67f2770a40c873dcd /dev-lang | |
parent | app-eselect/eselect-opencl: Bump, add more headers, switch to opencl1.2 as de... (diff) | |
download | gentoo-4bae39fee9b1f0135c08e234cb742e439ace2470.tar.gz gentoo-4bae39fee9b1f0135c08e234cb742e439ace2470.tar.bz2 gentoo-4bae39fee9b1f0135c08e234cb742e439ace2470.zip |
dev-lang/pocl: Bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/pocl/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/pocl/pocl-0.13.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-lang/pocl/Manifest b/dev-lang/pocl/Manifest index 2912c389d1a2..3aa905eaa34b 100644 --- a/dev-lang/pocl/Manifest +++ b/dev-lang/pocl/Manifest @@ -1,2 +1,3 @@ DIST pocl-0.11.tar.gz 1561743 SHA256 24bb801fb87d104b66faaa95d1890776fdeabb37ad1b12fb977281737c7f29bb SHA512 052cbac36a12a5b015779740c45b64adde5fa58a090f298b69de1df3ac9875d7bfc6dfe9f7ae95d14d974d7b44dc64e53ce6ad3a9b8e74708d546ef6e1032151 WHIRLPOOL 860a87904408eb7394e126bf5c8cab619d8f1d48a57440e9d73f585c5eaa1a70e53c5843f4ffbaa742447cd0e8ebf9c11fc0917357f6af203ecb1c3c48c0fa87 DIST pocl-0.12.tar.gz 1741325 SHA256 5160d7a59721e6a7d0fc85868381c0afceaa7c07b9956c9be1e3b51e80c29f76 SHA512 3c0d3377a866e8bc7e3e911598b8b50ce473e545586c8755ec22f5bf0e5cf55fdebb0eb3fa521521a7ea2919b1c985d04531fcdad18997250c02de852b80e9ee WHIRLPOOL c7ab4bde1d7a0baef8bf00ea6bd8dff5c4e4c893da918c8ed7fb84f7247d9ea6c5adb78fb560132e564a4a49cba3286790abce70723bfdcf603727e5c62ff972 +DIST pocl-0.13.tar.gz 1901208 SHA256 a17f37d8f26819c0c8efc6de2b57f67a0c8a81514fc9cd5005434e49d67499f9 SHA512 1892a6167bb5d48acaa79de4a9a76355c624e01a3bec31599947d6972eddcfd0b7523d61a3bd08018a30e34ab5a1b225a7ca2feaa2c2f6fcf03403fb887a6c0d WHIRLPOOL 5e56bff8471750a143dc735b435f8cbc111d624f732c541843e3b230f2675a089c6db4a62cfa3a0cd478abb56ba98c7a512c10f5e8f79f84e8e582248b5edfc5 diff --git a/dev-lang/pocl/pocl-0.13.ebuild b/dev-lang/pocl/pocl-0.13.ebuild new file mode 100644 index 000000000000..037505c4b8bb --- /dev/null +++ b/dev-lang/pocl/pocl-0.13.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools + +DESCRIPTION="PortableCL: opensource implementation of the OpenCL standard" +HOMEPAGE="http://portablecl.org/" +SRC_URI="http://portablecl.org/downloads/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-libs/ocl-icd + >=sys-devel/llvm-3.7[clang] + sys-apps/hwloc + >=app-eselect/eselect-opencl-1.1.0-r4" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_pretend() { + # Needs an OpenCL 1.2 ICD, mesa and nvidia are invalid + # Maybe ati works, feel free to add/fix if you can test + if [[ $(eselect opencl show) == 'ocl-icd' ]]; then + einfo "Valid OpenCL ICD set" + else + eerror "Please use a supported ICD:" + eerror "eselect opencl set ocl-icd" + die "OpenCL ICD not set to a supported value" + fi +} + +src_prepare() { + eautoreconf +} |