From d56d144655e3785864da43c9acb6c228ef9360ae Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 Jun 2019 11:30:24 +0100 Subject: gentoo resync : 22.06.2019 --- dev-libs/beignet/Manifest | 4 +- dev-libs/beignet/beignet-1.3.2-r2.ebuild | 115 ------------------------------- dev-libs/beignet/beignet-1.3.2-r3.ebuild | 2 +- dev-libs/beignet/beignet-1.3.2.ebuild | 105 ---------------------------- 4 files changed, 2 insertions(+), 224 deletions(-) delete mode 100644 dev-libs/beignet/beignet-1.3.2-r2.ebuild delete mode 100644 dev-libs/beignet/beignet-1.3.2.ebuild (limited to 'dev-libs/beignet') diff --git a/dev-libs/beignet/Manifest b/dev-libs/beignet/Manifest index 92d54856ad63..a639814ca656 100644 --- a/dev-libs/beignet/Manifest +++ b/dev-libs/beignet/Manifest @@ -7,7 +7,5 @@ AUX beignet-1.3.2_llvm7.patch 4805 BLAKE2B df959c8e482e1810b2257419088a4cd283bfe AUX llvm-terminfo.patch 788 BLAKE2B cb652c28aac1cca566cb801b9e7f2b6ea8a9ff9457896a50b3323b41a009e039085d2d4aeff14d9d8cf35fca3e4a23bacb3078451c4981b6f806cec4146aec83 SHA512 63706376f086b02be067ab54e818afab55cddb34668bc67c2c3f546142e4ca50f5536be4c15f359b3c1c6f62f36b90b3e76d67095d4bba452cf5b5a2c8891312 AUX no-debian-multiarch.patch 1652 BLAKE2B 4d112429412a7ada957228aa8e6beb145fbaf04065d6f816b0f13513631211894c57e9999157db5f22d7044f231be65396040efe450d090e3774bd24c9c93482 SHA512 c77dd485d22e61e558f002a18103bd8dd8091ac51e702335e8713fe7f8fef24e44607744165cf0997e10941b1044d96a4876f251e8e32ffd82781e5c303f0383 DIST beignet-1.3.2-source.tar.gz 1143573 BLAKE2B e95e9ad352e7e695a0c56a8cea7bff312d7e1e811e17da6c744f16833130ca5339c163504afff3ed61947e752b94dc0465f6702317feb7662fb9676939838f20 SHA512 ed09a895c2f7e9b6e18687a899f1303dfda95e505c3c2d54bf7598cc4eba6c2fb5926589b19dd294384a4ff3f832c43235b1f03f8b7fd295cd558e78bda1400a -EBUILD beignet-1.3.2-r2.ebuild 2959 BLAKE2B bd67d958a8ab72669c924c28fcd487d677098370c357045cad33b4fc627a182c41bc8037388255d16215a9ad7d73663f36d91bc4ad1bef32fffcdbce29de551a SHA512 64ebc3b96c4a9e41fa36f1c5260a9ef47779c11f9d8dac83deab2777ad8a9cdf5259348d67b2ce2fa8e41e2a093dac85b073580b70827729498fa4febcffd56c -EBUILD beignet-1.3.2-r3.ebuild 2852 BLAKE2B db92e4701e1d3e5504d77af1452a4c3b7d0b13c7a4c9d9a3789716f1feae192d393eba47fa7ee1ee6bbc683b7931d9a04a3a476bf115772124fe0ca88d1e55d5 SHA512 60b22f9c06163767cc7b3c696171f10d7b16703dc30e2ef649cd50d41c6ced8eb013f4eb093b11980713ec39afba06ca828a56549b99f8ecbf4bda792a5b8812 -EBUILD beignet-1.3.2.ebuild 2673 BLAKE2B 8edf3cb1b0dfe6201405afe50117e79172e20f9d5aafdecaba72cd85301c01c472a9be024d0b3a8a2c723b84bfd4a72c631d76bec3f08dc8412aa9d6ebd8f2dc SHA512 bf959b3ce52019d83e4a8bd3871155386c2e3c5de4f241044d77a1282c56c9837be6f12a78ca648833b2e21b533f42ba85de31d16027cb66cb47d52a985ac8b2 +EBUILD beignet-1.3.2-r3.ebuild 2851 BLAKE2B 02f77460a32eed4a28941bb655c5392166360a64b47a92eb9a31490ac65b304a2bd7291154b0d51d50598c29ecdceca7b7275803acfa6d6c7b3d2133b15b8b24 SHA512 015e0ce25db7878edcc509b81bc4dcbb4cd525f84358d427f44e4ada39e9b3f01f258748332017f387bea897d4ab55d10d5fc19ede72e93d4bce95235d0a6b8c MISC metadata.xml 473 BLAKE2B e805dfe8af6753bfd30bc46d81637c28106320d8a149a41adb893b3fbe6deb54ef16589f78223153ae9446110b9b905267724034664896f9970bd6fd200c52fc SHA512 79c6f3d28b6c15b05616af2b5224f7b6e79642ae6e6b3579ac510c0935f288940d015258b1c2d07820fcbdca117eca66f25a5a4dc7df3af92c771e9ff9243186 diff --git a/dev-libs/beignet/beignet-1.3.2-r2.ebuild b/dev-libs/beignet/beignet-1.3.2-r2.ebuild deleted file mode 100644 index 661cc49ff2a7..000000000000 --- a/dev-libs/beignet/beignet-1.3.2-r2.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_5,3_6} ) -CMAKE_BUILD_TYPE="Release" - -inherit python-any-r1 cmake-multilib flag-o-matic llvm toolchain-funcs - -DESCRIPTION="OpenCL implementation for Intel GPUs" -HOMEPAGE="https://01.org/beignet https://gitlab.freedesktop.org/beignet/beignet" - -LICENSE="LGPL-2.1+" -SLOT="0" -IUSE="ocl-icd ocl20" - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.freedesktop.org/beignet/beignet.git" - KEYWORDS="" -else - KEYWORDS="~amd64" - SRC_URI="https://01.org/sites/default/files/${P}-source.tar.gz" - S=${WORKDIR}/Beignet-${PV}-Source -fi - -COMMON="app-eselect/eselect-opencl - media-libs/mesa[${MULTILIB_USEDEP}] - =x11-libs/libdrm-2.4.70[video_cards_intel,${MULTILIB_USEDEP}] - x11-libs/libXext[${MULTILIB_USEDEP}] - x11-libs/libXfixes[${MULTILIB_USEDEP}] - ocl-icd? ( dev-libs/ocl-icd )" -RDEPEND="${COMMON}" -DEPEND="${COMMON} - ${PYTHON_DEPS} - virtual/pkgconfig" - -LLVM_MAX_SLOT=6 - -PATCHES=( - "${FILESDIR}"/no-debian-multiarch.patch - "${FILESDIR}"/${PN}-1.3.2_disable-doNegAddOptimization.patch - "${FILESDIR}"/${PN}-1.3.2_cmake-llvm-config-multilib.patch - "${FILESDIR}"/${PN}-1.3.2_llvm6.patch - "${FILESDIR}"/${PN}-1.3.1-oclicd_no_upstream_icdfile.patch - "${FILESDIR}"/${PN}-1.2.0_no-hardcoded-cflags.patch - "${FILESDIR}"/llvm-terminfo.patch -) - -DOCS=( - docs/. -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]]; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -eq 4 ]] && [[ $(gcc-minor-version) -lt 6 ]]; then - eerror "Compilation with gcc older than 4.6 is not supported" - die "Too old gcc found." - fi - fi - fi -} - -pkg_setup() { - llvm_pkg_setup - python_setup -} - -src_prepare() { - # See Bug #593968 - append-flags -fPIC - - cmake-utils_src_prepare - # We cannot run tests because they require permissions to access - # the hardware, and building them is very time-consuming. - cmake_comment_add_subdirectory utests -} - -multilib_src_configure() { - VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}" - - local mycmakeargs=( - -DCMAKE_INSTALL_PREFIX="${EPREFIX}${VENDOR_DIR}" - -DOCLICD_COMPAT=$(usex ocl-icd) - $(usex ocl20 "" "-DENABLE_OPENCL_20=OFF") - ) - - cmake-utils_src_configure -} - -multilib_src_install() { - VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}" - - cmake-utils_src_install - - insinto /etc/OpenCL/vendors/ - echo "${EPREFIX}${VENDOR_DIR}/lib/${PN}/libcl.so" > "${PN}-${ABI}.icd" || die "Failed to generate ICD file" - doins "${PN}-${ABI}.icd" - - dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so.1 - dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so - dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so.1 - dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so -} - -pkg_postinst() { - if use ocl-icd; then - "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd - else - "${ROOT}"/usr/bin/eselect opencl set --use-old beignet - fi -} diff --git a/dev-libs/beignet/beignet-1.3.2-r3.ebuild b/dev-libs/beignet/beignet-1.3.2-r3.ebuild index babcfaac9b4d..0d0b8a6bae77 100644 --- a/dev-libs/beignet/beignet-1.3.2-r3.ebuild +++ b/dev-libs/beignet/beignet-1.3.2-r3.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://01.org/sites/default/files/${P}-source.tar.gz" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="ocl-icd ocl20" BDEPEND="${PYTHON_DEPS} diff --git a/dev-libs/beignet/beignet-1.3.2.ebuild b/dev-libs/beignet/beignet-1.3.2.ebuild deleted file mode 100644 index da0b9d27ffe9..000000000000 --- a/dev-libs/beignet/beignet-1.3.2.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_5,3_6} ) -CMAKE_BUILD_TYPE="Release" - -inherit python-any-r1 cmake-multilib flag-o-matic llvm toolchain-funcs - -DESCRIPTION="OpenCL implementation for Intel GPUs" -HOMEPAGE="https://01.org/beignet https://gitlab.freedesktop.org/beignet/beignet" - -LICENSE="LGPL-2.1+" -SLOT="0" -IUSE="ocl-icd ocl20" - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.freedesktop.org/beignet/beignet.git" - KEYWORDS="amd64" -else - KEYWORDS="amd64" - SRC_URI="https://01.org/sites/default/files/${P}-source.tar.gz" - S=${WORKDIR}/Beignet-${PV}-Source -fi - -COMMON="media-libs/mesa[${MULTILIB_USEDEP}] - =x11-libs/libdrm-2.4.70[video_cards_intel,${MULTILIB_USEDEP}] - x11-libs/libXext[${MULTILIB_USEDEP}] - x11-libs/libXfixes[${MULTILIB_USEDEP}]" -RDEPEND="${COMMON} - app-eselect/eselect-opencl" -DEPEND="${COMMON} - ${PYTHON_DEPS} - ocl-icd? ( dev-libs/ocl-icd ) - virtual/pkgconfig" - -LLVM_MAX_SLOT=5 - -PATCHES=( - "${FILESDIR}"/no-debian-multiarch.patch - "${FILESDIR}"/${PN}-1.3.2_cmake-llvm-config-multilib.patch - "${FILESDIR}"/${PN}-1.3.1-oclicd_no_upstream_icdfile.patch - "${FILESDIR}"/${PN}-1.2.0_no-hardcoded-cflags.patch - "${FILESDIR}"/llvm-terminfo.patch -) - -DOCS=( - docs/. -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]]; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -eq 4 ]] && [[ $(gcc-minor-version) -lt 6 ]]; then - eerror "Compilation with gcc older than 4.6 is not supported" - die "Too old gcc found." - fi - fi - fi -} - -pkg_setup() { - llvm_pkg_setup - python_setup -} - -src_prepare() { - # See Bug #593968 - append-flags -fPIC - - cmake-utils_src_prepare - # We cannot run tests because they require permissions to access - # the hardware, and building them is very time-consuming. - cmake_comment_add_subdirectory utests -} - -multilib_src_configure() { - VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}" - - local mycmakeargs=( - -DCMAKE_INSTALL_PREFIX="${VENDOR_DIR}" - -DOCLICD_COMPAT=$(usex ocl-icd) - $(usex ocl20 "" "-DENABLE_OPENCL_20=OFF") - ) - - cmake-utils_src_configure -} - -multilib_src_install() { - VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}" - - cmake-utils_src_install - - insinto /etc/OpenCL/vendors/ - echo "${VENDOR_DIR}/lib/${PN}/libcl.so" > "${PN}-${ABI}.icd" || die "Failed to generate ICD file" - doins "${PN}-${ABI}.icd" - - dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so.1 - dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so - dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so.1 - dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so -} -- cgit v1.2.3