From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/beignet/
Date: Fri, 24 May 2019 14:20:52 +0000 (UTC) [thread overview]
Message-ID: <1558707633.eea9efcfa429c1964096473f5cbc33ed40f0707f.marecki@gentoo> (raw)
commit: eea9efcfa429c1964096473f5cbc33ed40f0707f
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri May 24 14:19:40 2019 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri May 24 14:20:33 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eea9efcf
dev-libs/beignet: remove old
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
dev-libs/beignet/beignet-1.3.2-r1.ebuild | 106 -------------------------------
1 file changed, 106 deletions(-)
diff --git a/dev-libs/beignet/beignet-1.3.2-r1.ebuild b/dev-libs/beignet/beignet-1.3.2-r1.ebuild
deleted file mode 100644
index c7cc20e5302..00000000000
--- a/dev-libs/beignet/beignet-1.3.2-r1.ebuild
+++ /dev/null
@@ -1,106 +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="media-libs/mesa[${MULTILIB_USEDEP}]
- <sys-devel/clang-6.0.9999:=[${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=6
-
-PATCHES=(
- "${FILESDIR}"/no-debian-multiarch.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
-}
next reply other threads:[~2019-05-24 14:20 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-24 14:20 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-07-03 11:24 [gentoo-commits] repo/gentoo:master commit in: dev-libs/beignet/ Marek Szuba
2019-06-20 11:19 Marek Szuba
2019-06-20 11:19 Marek Szuba
2019-06-20 9:33 Mikle Kolyada
2019-06-05 23:13 Marek Szuba
2019-05-24 14:35 Marek Szuba
2018-09-27 9:49 Marek Szuba
2018-08-31 13:08 Marek Szuba
2018-08-08 10:21 Guilherme Amadio
2018-04-11 16:19 Michał Górny
2018-03-20 10:01 Agostino Sarubbo
2018-03-17 9:29 Marek Szuba
2018-03-13 10:29 Marek Szuba
2017-12-10 10:17 Pacho Ramos
2017-12-01 11:45 Marek Szuba
2017-11-06 11:54 Marek Szuba
2017-08-17 17:06 Michał Górny
2017-06-30 13:19 Marek Szuba
2017-06-30 13:09 Alexis Ballier
2017-06-30 12:58 Marek Szuba
2017-06-14 8:19 Marek Szuba
2017-06-14 7:49 Agostino Sarubbo
2017-04-20 11:24 Marek Szuba
2017-04-20 10:33 Marek Szuba
2017-03-20 12:44 Marek Szuba
2017-03-19 11:32 Justin Lecher
2017-02-19 17:46 Marek Szuba
2016-11-10 14:28 Marek Szuba
2016-10-07 7:25 Marek Szuba
2016-09-19 12:00 Marek Szuba
2016-09-19 10:40 Marek Szuba
2016-09-19 10:40 Marek Szuba
2016-09-02 8:52 Marek Szuba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1558707633.eea9efcfa429c1964096473f5cbc33ed40f0707f.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox