diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-25 03:04:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-25 03:04:18 +0100 |
commit | 4bc145ba9c79d57abcafc9b97c72bd5addd3e833 (patch) | |
tree | 6d3232c40367527f41a16208e51be62072e72efc /dev-libs/intel-compute-runtime | |
parent | cc6fb501ef0f4c443ce79d017dbfbd95072b14f4 (diff) |
gentoo auto-resync : 25:05:2023 - 03:04:17
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-23.17.26241.15.ebuild | 82 |
2 files changed, 84 insertions, 0 deletions
diff --git a/dev-libs/intel-compute-runtime/Manifest b/dev-libs/intel-compute-runtime/Manifest index c83e0a1df39d..6bd9a34391b0 100644 --- a/dev-libs/intel-compute-runtime/Manifest +++ b/dev-libs/intel-compute-runtime/Manifest @@ -1,4 +1,6 @@ AUX intel-compute-runtime-22.24.23453-remove-fortify-sources.patch 1078 BLAKE2B 933cd6b5b3f9aefde4b416960151458eb7845f422e493ab40257330c88b55e1866cf0ff59338ec708d705750ca88c87d54014d51d9492c3dadba7525b523ab56 SHA512 ee831418acb9ba5deba95dc2e013119a0cfe7db533710108063dc67cd0a4030a4419bbad0a007fdab445eba14036fdcae26ea0b4ce675ebb20f402620b880de8 DIST intel-compute-runtime-23.13.26032.26.tar.gz 6487863 BLAKE2B a483ea321f905fe61bbefed52b7c1505c5e00b82625092066800cd7064d635b667da31938c9d2ae2e4627ec2332732f6cff2feb1187c1773d96b38a8ae9bc341 SHA512 c552ddceac5385883949c0e3f58ea27cfa766a6fafdf8928775ae1bc601cf8dc8274fddbd98ffc36d3fcf61bfdd40bac5a51d07d072dc313cdcfc49382dbcc66 +DIST intel-compute-runtime-23.17.26241.15.tar.gz 6556461 BLAKE2B 3814d5d24b0a79ebadda0f3ee5d1d3b414e9fb26e8c693ba66449a9f0500c8ec2e11533aa02142757e5177ad4c5efc5dd61a9c7db5a883a2cf4e9faab599ab4b SHA512 bd648fa964a15df76d1694af138f7c383239ccc5061cdd7faac0c45da3cffe95441614026b9bddfb86790446042ccc1d4abc3ecc023c50a036835598076a77bb EBUILD intel-compute-runtime-23.13.26032.26.ebuild 1992 BLAKE2B 710c91a1b51d4a0f246ec4295986d924f864e4daa7b651600923a2e8e6b93339b26b93e33a99f7e349d9aa56d0760c271f5d1b3e2958831f46fa359a7d109629 SHA512 6c074a2a11fbc6af08d267fcdcfb418ccdd1a8e1e481bda18ac6f7342882cbcb21cd98f5e0fbfa264a553d9482e15918464a0e8b590cfe42b781f02d5dd81ec4 +EBUILD intel-compute-runtime-23.17.26241.15.ebuild 1993 BLAKE2B 5f7b0faf7eee4a339d869f8e0867d570199478a536414e17c646a25769cb71fda583d2e45f1cd5803c88c1f83b711c02c2a451bc9d4ccedaed2b965a0c4583ad SHA512 d2738477c1f628c0990fc74d86fc534fe57fac0822c8ae3f84693ee38e4e37caff0a947b318d1f1a87baa6ea48349526b5c125eeeff2d6960dfb793e552904ac MISC metadata.xml 1429 BLAKE2B 6c2fde2fda8cd6b9d707c400c5b4d38e3d74dd73617faa9dd80f84100d499182ea959e695a473d32307914e76a26bae531a92677f0e4bedbdf05fc1cbd3095ff SHA512 ac61568ad36df6f6c8470b43f32d048930e4a569ec86d58ff563a86ae748f6bddb8700de487e4967da4998160f1c01517be0817cccc445a821984aff36617b6d diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-23.17.26241.15.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-23.17.26241.15.ebuild new file mode 100644 index 000000000000..fadfb30dc042 --- /dev/null +++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-23.17.26241.15.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.3.5:=" + +DEPEND=" + ${DEPEND} + dev-libs/intel-metrics-discovery:= + dev-libs/intel-metrics-library:= + dev-libs/libnl:3 + dev-libs/libxml2:2 + >=dev-util/intel-graphics-compiler-1.0.13860.4 + >=dev-util/intel-graphics-system-controller-0.8.7:= + media-libs/mesa + >=virtual/opencl-3 + l0? ( >=dev-libs/level-zero-1.11.0:= ) + 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-lto + + 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 +} |