From 1b013d9d13c304bf66a4a6c16d272d25bc480b83 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Feb 2023 02:26:51 +0000 Subject: gentoo auto-resync : 22:02:2023 - 02:26:50 --- dev-libs/intel-compute-runtime/Manifest | 2 + .../intel-compute-runtime-22.53.25242.13.ebuild | 82 ++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 dev-libs/intel-compute-runtime/intel-compute-runtime-22.53.25242.13.ebuild (limited to 'dev-libs/intel-compute-runtime') diff --git a/dev-libs/intel-compute-runtime/Manifest b/dev-libs/intel-compute-runtime/Manifest index c45d06812ef3..aea4ed4633a3 100644 --- a/dev-libs/intel-compute-runtime/Manifest +++ b/dev-libs/intel-compute-runtime/Manifest @@ -2,6 +2,8 @@ AUX intel-compute-runtime-22.24.23453-remove-fortify-sources.patch 1078 BLAKE2B AUX intel-compute-runtime-22.49.25018.24-level-zero-1.9.patch 1270 BLAKE2B c9de2d20620757a66d6c37472acb40514f60656feab7697d9d68836add67c3761a9372b47f4933c2e9017f9d666f87354f62d42c772ab22968d2bf3762d71b80 SHA512 d729d2cb3974733f358429ef1057cfff83facd23fe3fa8494ed2047a6effaafb45b50c66bf3de73d334a647014249d6f4f0f9842daf535392c0f9f7e2321d472 DIST intel-compute-runtime-22.43.24595.35.tar.gz 5880869 BLAKE2B c9d4a16e9908427b69154a5a6550e4eec47bcce4fa811a9121c54de75bcd3e17e1d4cff8b1fa7486b2ffe0dd01f7fae06e5fd3b1d241378dcf521d1f8822bedb SHA512 0aab6cc16f7d523819c9a9eb58fba916c3b06c4be450c94cfc30b36038c768d6ddb79937ded7d9df68b7bdc97679756450c1c54844caed1655ddc688a6ae8a54 DIST intel-compute-runtime-22.49.25018.24.tar.gz 5991968 BLAKE2B 06589bd63d3cfe35ed0a1af3a94c9e12cc2588143dcf52a371b71f827ca006989a74edabb58b6ecc0a08cfa850f582e47e441ee8d9bffdf672653e8a7809375e SHA512 9c0cc541cd635063ed49e8f807c0a81035abd46367deb43fe7187c00c017f2609cd9c5e55d0b40bb3cb54d05f01306df3a843f3b35683b0ab732881b5192182f +DIST intel-compute-runtime-22.53.25242.13.tar.gz 6084532 BLAKE2B a32adbe173ae49f5ac45968319475a7c23590ffd138a09ebb4f899971cdbabe0bccd1919364e7518f9a15cd9123274272929d7f5fc2053287376ded621c105c0 SHA512 48a69ec8c7f5f7a713c4389af167c11aaf780506950fee4e5ab47b6cc9f80bf6de3408d3dfca3d6141067a6d6ce76a1c6a3a9ba1caaa11c70b216ef2dfe7a07f EBUILD intel-compute-runtime-22.43.24595.35.ebuild 1986 BLAKE2B 2e18bd0d798e7bd1964527c3615acfcf1c20b8aeb2a5facedd3ae9290d5c578360f1d559135ac4fc331bc066b4f4d3e26fde435d3f202b4065429a0f6864df99 SHA512 7f010d5304600556d734f4b341a737564cbf8977bedc6f4511aa7f8d14efca297e52b3933586e1b85869dd13780d43c733231804476b2ddc561038eb4e10deb9 EBUILD intel-compute-runtime-22.49.25018.24.ebuild 2046 BLAKE2B ab08c4316bf52a05becd1e79e078e4862c042d93920c381b47504897e18971ff66a3b43eefb4ff993fcd31db436be114420d98acb9ab7a90920e6f630a743e0e SHA512 b67df070661f2b58028a0bca6ccb409729430eebeac54e41a764bde53fcbac328acd4aa092dd8699715b26ec01f40b4ebb3e4b74ab8a97a54ef7a9b3934b2f56 +EBUILD intel-compute-runtime-22.53.25242.13.ebuild 2046 BLAKE2B ab08c4316bf52a05becd1e79e078e4862c042d93920c381b47504897e18971ff66a3b43eefb4ff993fcd31db436be114420d98acb9ab7a90920e6f630a743e0e SHA512 b67df070661f2b58028a0bca6ccb409729430eebeac54e41a764bde53fcbac328acd4aa092dd8699715b26ec01f40b4ebb3e4b74ab8a97a54ef7a9b3934b2f56 MISC metadata.xml 1429 BLAKE2B 6c2fde2fda8cd6b9d707c400c5b4d38e3d74dd73617faa9dd80f84100d499182ea959e695a473d32307914e76a26bae531a92677f0e4bedbdf05fc1cbd3095ff SHA512 ac61568ad36df6f6c8470b43f32d048930e4a569ec86d58ff563a86ae748f6bddb8700de487e4967da4998160f1c01517be0817cccc445a821984aff36617b6d diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.53.25242.13.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.53.25242.13.ebuild new file mode 100644 index 000000000000..0af0d80dab75 --- /dev/null +++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.53.25242.13.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_BUILD_TYPE="Release" +MY_PN="${PN/intel-/}" +MY_P="${MY_PN}-${PV}" + +inherit cmake flag-o-matic + +DESCRIPTION="Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL Driver" +HOMEPAGE="https://github.com/intel/compute-runtime" +SRC_URI="https://github.com/intel/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+l0 +vaapi" + +RDEPEND=">=media-libs/gmmlib-22.1.7:=" + +DEPEND=" + ${DEPEND} + >=dev-libs/intel-metrics-library-0_pre20220930:= + dev-libs/libnl:3 + dev-libs/libxml2:2 + >=dev-util/intel-graphics-compiler-1.0.12812.26 + >=dev-util/intel-graphics-system-controller-0.8.7:= + media-libs/mesa + >=virtual/opencl-3 + l0? ( >=dev-libs/level-zero-1.9.4:= ) + vaapi? ( + x11-libs/libdrm[video_cards_intel] + media-libs/libva + ) +" + +BDEPEND="virtual/pkgconfig" + +DOCS=( "README.md" "FAQ.md" ) + +PATCHES=( + "${FILESDIR}/${PN}-22.24.23453-remove-fortify-sources.patch" + "${FILESDIR}/${PN}-22.49.25018.24-level-zero-1.9.patch" +) + +src_prepare() { + # Remove '-Werror' from default + sed -e '/Werror/d' -i CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + # See https://github.com/intel/compute-runtime/issues/531 + filter-flags -flto=* -flto + + local mycmakeargs=( + -DCCACHE_ALLOWED="OFF" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DCMAKE_INSTALL_LIBDIR="$(get_libdir)" + -DBUILD_WITH_L0="$(usex l0)" + -DDISABLE_LIBVA="$(usex !vaapi)" + -DNEO__METRICS_LIBRARY_INCLUDE_DIR="${ESYSROOT}/usr/include" + -DKHRONOS_GL_HEADERS_DIR="${ESYSROOT}/usr/include" + -DOCL_ICD_VENDORDIR="${EPREFIX}/etc/OpenCL/vendors" + -DSUPPORT_DG1="ON" + -Wno-dev + + # See https://github.com/intel/intel-graphics-compiler/issues/204 + # -DNEO_DISABLE_BUILTINS_COMPILATION="ON" + + # If enabled, tests are automatically run during + # the compile phase and we cannot run them because + # they require permissions to access the hardware. + -DSKIP_UNIT_TESTS="1" + ) + + cmake_src_configure +} -- cgit v1.2.3