# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DOCS_AUTODOC=0 DOCS_BUILDER="sphinx" DOCS_DIR="doc/sphinx/source" PYTHON_COMPAT=( python3_{8..10} pypy3 ) LLVM_MAX_SLOT=14 inherit cmake llvm python-any-r1 docs DESCRIPTION="Portable Computing Language (an implementation of OpenCL)" HOMEPAGE="http://portablecl.org https://github.com/pocl/pocl" if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/pocl/${PN}" else SRC_URI="https://github.com/pocl/pocl/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="amd64 ppc64" fi LICENSE="GPL-2" SLOT="0" # TODO: hsa tce IUSE="accel +conformance cuda debug examples float-conversion hardening +hwloc memmanager lto test" # Tests not yet passing, fragile in Portage environment(?) RESTRICT="!test? ( test ) test" # TODO: add dependencies for cuda # Note: No := on LLVM because it pulls in Clang # see llvm.eclass for why CLANG_DEPS="!cuda? (