From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 11EC7138334 for ; Thu, 20 Jun 2019 11:20:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BE78E0AAC; Thu, 20 Jun 2019 11:19:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F18C2E0AAC for ; Thu, 20 Jun 2019 11:19:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 92FD334656D for ; Thu, 20 Jun 2019 11:19:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 16EFF608 for ; Thu, 20 Jun 2019 11:19:56 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1561029584.dc041c0d199c04e212f0080ff433faa91a6de4ff.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/beignet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/beignet/beignet-1.3.2-r2.ebuild X-VCS-Directories: dev-libs/beignet/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: dc041c0d199c04e212f0080ff433faa91a6de4ff X-VCS-Branch: master Date: Thu, 20 Jun 2019 11:19:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5f7f5bf9-7dd4-40f7-8e58-698f8b0fb0b7 X-Archives-Hash: 5a0f27922e8756488c3b4960f4f5be5d commit: dc041c0d199c04e212f0080ff433faa91a6de4ff Author: Marek Szuba gentoo org> AuthorDate: Thu Jun 20 11:19:25 2019 +0000 Commit: Marek Szuba gentoo org> CommitDate: Thu Jun 20 11:19:44 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc041c0d dev-libs/beignet: remove old unstable ebuild Signed-off-by: Marek Szuba gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 dev-libs/beignet/beignet-1.3.2-r2.ebuild | 115 ------------------------------- 1 file changed, 115 deletions(-) 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 661cc49ff2a..00000000000 --- 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 -}