diff options
author | Patrick Lauer <patrick@gentoo.org> | 2015-12-21 13:40:50 +0100 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2015-12-21 13:41:26 +0100 |
commit | 8cfb7fca12032dd84da9fd800dd9b816bad760be (patch) | |
tree | 89c091438bfad465aa7f5044383ec1b818bb537e /dev-lang | |
parent | net-analyzer/snort: Bump (diff) | |
download | gentoo-8cfb7fca12032dd84da9fd800dd9b816bad760be.tar.gz gentoo-8cfb7fca12032dd84da9fd800dd9b816bad760be.tar.bz2 gentoo-8cfb7fca12032dd84da9fd800dd9b816bad760be.zip |
dev-lang/pocl: Bump
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/pocl/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/pocl/pocl-0.12.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-lang/pocl/Manifest b/dev-lang/pocl/Manifest index 56f3cbe787f5..2912c389d1a2 100644 --- a/dev-lang/pocl/Manifest +++ b/dev-lang/pocl/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-lang/pocl/pocl-0.12.ebuild b/dev-lang/pocl/pocl-0.12.ebuild new file mode 100644 index 000000000000..24f24a31016f --- /dev/null +++ b/dev-lang/pocl/pocl-0.12.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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[clang] + sys-apps/hwloc" +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 +} |