From d36c5f9e59f92a021c987989cd79d44460e0da42 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 31 Jan 2023 21:02:55 +0000 Subject: gentoo auto-resync : 31:01:2023 - 21:02:55 --- dev-libs/intel-compute-runtime/Manifest | 7 +- ...ute-runtime-22.49.25018.24-level-zero-1.9.patch | 22 ++++++ .../intel-compute-runtime-22.43.24558.ebuild | 79 --------------------- .../intel-compute-runtime-22.43.24595.35.ebuild | 4 +- .../intel-compute-runtime-22.49.25018.24.ebuild | 82 ++++++++++++++++++++++ 5 files changed, 110 insertions(+), 84 deletions(-) create mode 100644 dev-libs/intel-compute-runtime/files/intel-compute-runtime-22.49.25018.24-level-zero-1.9.patch delete mode 100644 dev-libs/intel-compute-runtime/intel-compute-runtime-22.43.24558.ebuild create mode 100644 dev-libs/intel-compute-runtime/intel-compute-runtime-22.49.25018.24.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 9220dbdafa89..c45d06812ef3 100644 --- a/dev-libs/intel-compute-runtime/Manifest +++ b/dev-libs/intel-compute-runtime/Manifest @@ -1,6 +1,7 @@ AUX intel-compute-runtime-22.24.23453-remove-fortify-sources.patch 1078 BLAKE2B 933cd6b5b3f9aefde4b416960151458eb7845f422e493ab40257330c88b55e1866cf0ff59338ec708d705750ca88c87d54014d51d9492c3dadba7525b523ab56 SHA512 ee831418acb9ba5deba95dc2e013119a0cfe7db533710108063dc67cd0a4030a4419bbad0a007fdab445eba14036fdcae26ea0b4ce675ebb20f402620b880de8 -DIST intel-compute-runtime-22.43.24558.tar.gz 5858180 BLAKE2B bed2ccd84424f8b4b76483d1cbffa9f587e666b8a24555d51de1edcfa23651a54b7d6b219fb27512cd8438127aa46945b181b3e94699444f36a05976b0b1206d SHA512 130849d1c3ef6586abbec3a3eb96397e6b5e861d17576b68b75d18023a4864938f82067079ea0d5475a8ac4f02cd0056d74d6b634894cbb5d0e23bef1c12fae0 +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 -EBUILD intel-compute-runtime-22.43.24558.ebuild 1986 BLAKE2B 8e3b2936e6d18d9500b482132ea7cb265a61dd830259102308329417fb6afb8da0e2c9ca880ff47607b4e31f7f33b4fabcf7c8152952b34111ce05bcd9947a54 SHA512 30f16a3121e1213831f1ef1174b3539351c8bae26557ebebfe042d16a98f5979d4fe7e3b0653d399ed489feba86e08a929819dc11e29a4ca587183a1a676c892 -EBUILD intel-compute-runtime-22.43.24595.35.ebuild 1987 BLAKE2B d54af1a72e4e5880ba146dbbe12724dc861ee00fd0fe298677e8002ebfa99fcd21e370928c5d6870b6c96f8231d275776758e0eb458f3c650e17bf7508680075 SHA512 bad792ba07d7aed8df118b3f417a4e6789ea866ce1064c200045a902ca4c1619b6cb9b12d5a4c8e416094c12900b76c44d425d27b9b2adf3b54080d52efc2ce7 +DIST intel-compute-runtime-22.49.25018.24.tar.gz 5991968 BLAKE2B 06589bd63d3cfe35ed0a1af3a94c9e12cc2588143dcf52a371b71f827ca006989a74edabb58b6ecc0a08cfa850f582e47e441ee8d9bffdf672653e8a7809375e SHA512 9c0cc541cd635063ed49e8f807c0a81035abd46367deb43fe7187c00c017f2609cd9c5e55d0b40bb3cb54d05f01306df3a843f3b35683b0ab732881b5192182f +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 MISC metadata.xml 1429 BLAKE2B 6c2fde2fda8cd6b9d707c400c5b4d38e3d74dd73617faa9dd80f84100d499182ea959e695a473d32307914e76a26bae531a92677f0e4bedbdf05fc1cbd3095ff SHA512 ac61568ad36df6f6c8470b43f32d048930e4a569ec86d58ff563a86ae748f6bddb8700de487e4967da4998160f1c01517be0817cccc445a821984aff36617b6d diff --git a/dev-libs/intel-compute-runtime/files/intel-compute-runtime-22.49.25018.24-level-zero-1.9.patch b/dev-libs/intel-compute-runtime/files/intel-compute-runtime-22.49.25018.24-level-zero-1.9.patch new file mode 100644 index 000000000000..7527117ca032 --- /dev/null +++ b/dev-libs/intel-compute-runtime/files/intel-compute-runtime-22.49.25018.24-level-zero-1.9.patch @@ -0,0 +1,22 @@ +--- a/level_zero/core/test/unit_tests/sources/fabric/test_fabric.cpp ++++ b/level_zero/core/test/unit_tests/sources/fabric/test_fabric.cpp +@@ -110,7 +110,7 @@ + const ze_pci_ext_properties_t &pciProperties) { + EXPECT_TRUE(0 == std::memcmp(vertexProperties.uuid.id, deviceProperties.uuid.id, sizeof(vertexProperties.uuid.id))); + if (deviceProperties.flags & ZE_DEVICE_PROPERTY_FLAG_SUBDEVICE) { +- EXPECT_EQ(vertexProperties.type, ZE_FABRIC_VERTEX_EXP_TYPE_SUBEVICE); ++ EXPECT_EQ(vertexProperties.type, ZE_FABRIC_VERTEX_EXP_TYPE_SUBDEVICE); + } else { + EXPECT_EQ(vertexProperties.type, ZE_FABRIC_VERTEX_EXP_TYPE_DEVICE); + } +--- a/level_zero/core/source/fabric/fabric.cpp ++++ b/level_zero/core/source/fabric/fabric.cpp +@@ -56,7 +56,7 @@ + memcpy_s(fabricVertex->properties.uuid.id, ZE_MAX_UUID_SIZE, deviceProperties.uuid.id, ZE_MAX_DEVICE_UUID_SIZE); + + if (deviceProperties.flags & ZE_DEVICE_PROPERTY_FLAG_SUBDEVICE) { +- fabricVertex->properties.type = ZE_FABRIC_VERTEX_EXP_TYPE_SUBEVICE; ++ fabricVertex->properties.type = ZE_FABRIC_VERTEX_EXP_TYPE_SUBDEVICE; + } else { + fabricVertex->properties.type = ZE_FABRIC_VERTEX_EXP_TYPE_DEVICE; + } diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.43.24558.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.43.24558.ebuild deleted file mode 100644 index 46508e658896..000000000000 --- a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.43.24558.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2022 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.12149.1 - >=dev-util/intel-graphics-system-controller-0.8.4:= - media-libs/mesa - >=virtual/opencl-3 - l0? ( >=dev-libs/level-zero-1.8.5:= ) - 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" ) - -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 -} diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.43.24595.35.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.43.24595.35.ebuild index c6ac6ec0d546..cda27132f096 100644 --- a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.43.24595.35.ebuild +++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.43.24595.35.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="+l0 +vaapi" RDEPEND=">=media-libs/gmmlib-22.1.7:=" diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.49.25018.24.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.49.25018.24.ebuild new file mode 100644 index 000000000000..0af0d80dab75 --- /dev/null +++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.49.25018.24.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