diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /dev-libs/pocl | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-libs/pocl')
-rw-r--r-- | dev-libs/pocl/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/pocl/pocl-1.7-r3.ebuild | 120 |
2 files changed, 0 insertions, 122 deletions
diff --git a/dev-libs/pocl/Manifest b/dev-libs/pocl/Manifest index 8690352f0123..862179626371 100644 --- a/dev-libs/pocl/Manifest +++ b/dev-libs/pocl/Manifest @@ -1,6 +1,4 @@ AUX vendor_opencl_libs_location.patch 962 BLAKE2B 6d0e3f070fa2022d95d35fb1563f72f5dc1b544c7f83417dbb5e3d100dad07bdf3365a48ee92e856de4edc4b7c25674b45efd6d0ace1ac559273641ca175a269 SHA512 2ae144e7590049cc1eac8fa30e360cd511331abba0dfe683867d6a089742ea12cc3bc48dafe41a1c1c9b891fdf35aaac8b14cc1e10a78d2ab49b5e14635bb258 -DIST pocl-1.7.tar.gz 1577676 BLAKE2B 50d4f50236b1c81f319b5559ca2b1df529209f07899acf51c487820d97cc6766c5130a55afca910517c7db63d8041ac8306062880c3a821cbc1bf9108bf13d65 SHA512 23bb82b25a222186c001b2ed413f26253e1e0e16518e98c95173f51491e15d107e6ab1b334ffd490b41199743267d9ad64882a22fea327e17ec9604f9847fc38 DIST pocl-1.8.tar.gz 1614545 BLAKE2B b0ccc08d1f899719f5def731c61727440035a879ebeebae89dd406423eba6c12b866f34cd47dd0e0f944b7f0c4569c57c44a9a62bf02552de5c4c3b8c9fb3b48 SHA512 bcbb3fa3d2234d4c5b0c17863eba0bc4c8f13f863cc58cfd1de49e21fa7bf0aec82b81aec143c81885e3a39274c8ae783b2f03b9a12846e024204d6ed0e59a9d -EBUILD pocl-1.7-r3.ebuild 2866 BLAKE2B a97ac72e8b80f981ef4f17d8b51012cae7304e5a1c81dbddd38f0c96675cf25e63bdc23a96d83ec2c1ee669da464c77b6e1b064005010e08b36bdd18da14ea4d SHA512 be4081ff151745fda690067e92259a4c1480336547cbef2b420704356332d95a884259995cd1ab583930a05b97b20cbec6115049b86734ce690168a4ba562e3e EBUILD pocl-1.8-r2.ebuild 3121 BLAKE2B 23434ed062197c4e656febf58cb286deb8e14b3f98eb99c4b624d09545117203171378b954fa25557313b1fc22288aa4fde435b3d4e900aad83e499b2bf27469 SHA512 68a4ae0feb2e6e3e87b25ce8ef7064ec428bb1fd4fbffd2dc6b78dd79e6146b31b617c6ff1fa2e9236e6c38ce5c472a585d2178be30202efe348c9ba2a2f70f0 MISC metadata.xml 1199 BLAKE2B 90d31048bcc33a76837977547ba818b2d2a268c408e7ad40eb157864d7c561d0bbc8ad40a013e28c74092f27f7fc3d23ae52322a2ca2d681c109ace154e29214 SHA512 98341aa0795cf9439ed4c0b8e2575657eaa5898e21b64d7d73592badac0b2a82fe061005a6adcf4e9d3318a4f20b80c62bd379f587dd4fcf993a95017f8ce867 diff --git a/dev-libs/pocl/pocl-1.7-r3.ebuild b/dev-libs/pocl/pocl-1.7-r3.ebuild deleted file mode 100644 index 1bdb29346d53..000000000000 --- a/dev-libs/pocl/pocl-1.7-r3.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DOCS_AUTODOC=0 -DOCS_BUILDER="sphinx" -DOCS_DIR="doc/sphinx/source" -PYTHON_COMPAT=( python3_{8..10} pypy3 ) - -inherit cmake llvm python-any-r1 docs - -LLVM_MAX_SLOT=12 - -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" -IUSE="accel cl20 +conformance cuda debug examples float-conversion hardening +hwloc memmanager test" #hsa tce - -RESTRICT="!test? ( test ) mirror" - -# TODO: add dependencies for cuda -# Note: No := on LLVM because it pulls in Clang -# see llvm.eclass for why -CLANG_DEPS="!cuda? ( <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):= ) - cuda? ( <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=[llvm_targets_NVPTX] )" -RDEPEND=" - dev-libs/libltdl - <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):* - virtual/opencl - - ${CLANG_DEPS} - debug? ( dev-util/lttng-ust:= ) - hwloc? ( sys-apps/hwloc:=[cuda?] ) -" -DEPEND="${RDEPEND}" -BDEPEND="${CLANG_DEPS} - virtual/pkgconfig - doc? ( - $(python_gen_any_dep '<dev-python/markupsafe-2.0[${PYTHON_USEDEP}]') - )" - -PATCHES=( - "${FILESDIR}/vendor_opencl_libs_location.patch" -) - -python_check_deps() { - has_version -b "<dev-python/markupsafe-2.0[${PYTHON_USEDEP}]" -} - -llvm_check_deps() { - local usedep=$(usex cuda "[llvm_targets_NVPTX]" '') - - # Clang is used at both build time (executed) and runtime - has_version -r "sys-devel/llvm:${LLVM_SLOT}${usedep}" && \ - has_version -r "sys-devel/clang:${LLVM_SLOT}${usedep}" && \ - has_version -b "sys-devel/clang:${LLVM_SLOT}${usedep}" -} - -pkg_setup() { - use doc && python-any-r1_pkg_setup - - llvm_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DENABLE_HSA=OFF - -DENABLE_ICD=ON - -DENABLE_POCL_BUILDING=ON - -DKERNELLIB_HOST_CPU_VARIANTS=native - -DPOCL_ICD_ABSOLUTE_PATH=ON - -DSTATIC_LLVM=OFF - -DWITH_LLVM_CONFIG=$(get_llvm_prefix -d "${LLVM_MAX_SLOT}")/bin/llvm-config - - -DENABLE_ACCEL_DEVICE=$(usex accel) - -DENABLE_CONFORMANCE=$(usex conformance) - -DENABLE_CUDA=$(usex cuda) - -DENABLE_HOST_CPU_DEVICE_CL20=$(usex cl20) - -DENABLE_HWLOC=$(usex hwloc) - -DENABLE_POCL_FLOAT_CONVERSION=$(usex float-conversion) - -DHARDENING_ENABLE=$(usex hardening) - -DPOCL_DEBUG_MESSAGES=$(usex debug) - -DUSE_POCL_MEMMANAGER=$(usex memmanager) - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - docs_compile -} - -src_test() { - export POCL_BUILDING=1 - export CTEST_OUTPUT_ON_FAILURE=1 - cmake_src_test -} - -src_install() { - cmake_src_install - - dodoc CREDITS README CHANGES - - if use doc; then - dodoc -r _build/html - docompress -x /usr/share/doc/${P}/html - fi - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${P}/examples - fi -} |