# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 LLVM_MAX_SLOT=16 inherit cmake llvm DESCRIPTION="Portable Computing Language (an implementation of OpenCL)" HOMEPAGE="http://portablecl.org https://github.com/pocl/pocl" SRC_URI="https://github.com/pocl/pocl/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc64" # TODO: hsa tce IUSE="accel +conformance cuda debug examples float-conversion hardening +hwloc memmanager 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? (