diff options
Diffstat (limited to 'dev-libs/intel-compute-runtime')
-rw-r--r-- | dev-libs/intel-compute-runtime/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/intel-compute-runtime/intel-compute-runtime-22.35.24055.ebuild | 79 |
2 files changed, 81 insertions, 0 deletions
diff --git a/dev-libs/intel-compute-runtime/Manifest b/dev-libs/intel-compute-runtime/Manifest index fdb7f5776cdc..b3ecd0525b64 100644 --- a/dev-libs/intel-compute-runtime/Manifest +++ b/dev-libs/intel-compute-runtime/Manifest @@ -3,8 +3,10 @@ DIST intel-compute-runtime-22.30.23789.tar.gz 5625283 BLAKE2B 0a59926453ae8a58af DIST intel-compute-runtime-22.31.23852.tar.gz 5644386 BLAKE2B 90eb629187d0aba7a713c600234f18a5472d7ad4e9a7c1130e61011970a9247165f17dab936abb875ee4dd9b4ba167135d158a1b19fce9f20d2bd1c23c9d065b SHA512 66fae1c0e3173f45f0565906d455d4511d40bc392a966625f60315e6a72daa30c741dddc799c50b8e020092577af6aa03810cd5a5e3e729ab19815cdb5e6a27a DIST intel-compute-runtime-22.32.23937.tar.gz 5656306 BLAKE2B 82cc631b69d24d2b845d6c9abc0525f06de8314c7915e651db3c800527244c94104eea6083acdde194cc51f9a68bdfcd39f3f4d296c96338e9f05c05d71cc21c SHA512 729d29c09624ae81ca1e8a455d4e3665fcb31cac87e9776730c038a3393e91e1a00e2079e2587adf4b9ab1797179f49fafd48ac5b855dab722837f1f3b77e0f0 DIST intel-compute-runtime-22.34.24023.tar.gz 5696775 BLAKE2B 8a70751b54e2aaea51eb69d45ef1bed09198023b72b34354cbd87f73a91481f4c7c5a4e5d23815b8ab3d05d4525cb08136929c4b9c0c69b6bcb917b560d88c49 SHA512 592dbf4bad4898c2a5d7a95cd7f41d23cf2f7ab97a33d55f2322b8243a88a3b61ea28d0af1d853324456c5919082fa236fee5fa9cbfcebf248a791617e1533ad +DIST intel-compute-runtime-22.35.24055.tar.gz 5710106 BLAKE2B a8efab3ab078b2bc3bc85110fc13f5f68cecd8e9e6978a0f6298d37eb470264303579a66a2bc840b8a8719ef03d67474f4d8959e6bf9442ffb997de1ad1af43b SHA512 c6a238a238647ff79c8ac7a38ebba3e1913f3b6f2ec1adbdde9b8eb9536078de12eac8b35ba45e77eea156b3ec1bd55d8b1279b1fbe729be23429b88de5a757f EBUILD intel-compute-runtime-22.30.23789.ebuild 1982 BLAKE2B 20c0fda1c683d65e213d3f492b392a1826cb6f3eeca283819edc68eccea16530812ab6d636dc876cd4d3f814c76bd51baa97f64c979e04a430f6e04478170842 SHA512 9216c791966c11977c4f9ab3d7a280158f620c28fefbd2e0ab8c4086bbc09d93f331e090bd2a6e64b7f6f1af1154c0f25279b32e82b6a6e02e09bddaf2d3ac94 EBUILD intel-compute-runtime-22.31.23852.ebuild 1983 BLAKE2B 3099d855a211d6893f216fec029f7aa78ca31460dedcfb19f1a1449549ad4ceae714b179b893a2b47b5d501dfa754cbb9d244a393cfccc5a0badffa069a2e423 SHA512 b24d315de1ddacb1a2999ec5f7e0971ab6313b5dd84a1ac5fefcf1827f5ccc054eb3a6ab10ca40d807445e13c981a0ad5269804523f3051d83bc5000f9f5245f EBUILD intel-compute-runtime-22.32.23937.ebuild 1983 BLAKE2B 3099d855a211d6893f216fec029f7aa78ca31460dedcfb19f1a1449549ad4ceae714b179b893a2b47b5d501dfa754cbb9d244a393cfccc5a0badffa069a2e423 SHA512 b24d315de1ddacb1a2999ec5f7e0971ab6313b5dd84a1ac5fefcf1827f5ccc054eb3a6ab10ca40d807445e13c981a0ad5269804523f3051d83bc5000f9f5245f EBUILD intel-compute-runtime-22.34.24023.ebuild 1983 BLAKE2B 3099d855a211d6893f216fec029f7aa78ca31460dedcfb19f1a1449549ad4ceae714b179b893a2b47b5d501dfa754cbb9d244a393cfccc5a0badffa069a2e423 SHA512 b24d315de1ddacb1a2999ec5f7e0971ab6313b5dd84a1ac5fefcf1827f5ccc054eb3a6ab10ca40d807445e13c981a0ad5269804523f3051d83bc5000f9f5245f +EBUILD intel-compute-runtime-22.35.24055.ebuild 1983 BLAKE2B 3099d855a211d6893f216fec029f7aa78ca31460dedcfb19f1a1449549ad4ceae714b179b893a2b47b5d501dfa754cbb9d244a393cfccc5a0badffa069a2e423 SHA512 b24d315de1ddacb1a2999ec5f7e0971ab6313b5dd84a1ac5fefcf1827f5ccc054eb3a6ab10ca40d807445e13c981a0ad5269804523f3051d83bc5000f9f5245f MISC metadata.xml 1429 BLAKE2B 6c2fde2fda8cd6b9d707c400c5b4d38e3d74dd73617faa9dd80f84100d499182ea959e695a473d32307914e76a26bae531a92677f0e4bedbdf05fc1cbd3095ff SHA512 ac61568ad36df6f6c8470b43f32d048930e4a569ec86d58ff563a86ae748f6bddb8700de487e4967da4998160f1c01517be0817cccc445a821984aff36617b6d diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.35.24055.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.35.24055.ebuild new file mode 100644 index 000000000000..af9f16456a1e --- /dev/null +++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.35.24055.ebuild @@ -0,0 +1,79 @@ +# 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_pre20220526:= + dev-libs/libnl:3 + dev-libs/libxml2:2 + >=dev-util/intel-graphics-compiler-1.0.11485 + >=dev-util/intel-graphics-system-controller-0.8.0:= + media-libs/mesa + >=virtual/opencl-3 + l0? ( >=dev-libs/level-zero-1.8.5:= ) + vaapi? ( + x11-libs/libdrm[video_cards_intel] + x11-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 +} |