summaryrefslogtreecommitdiff
path: root/dev-util/intel-graphics-compiler
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-23 00:11:31 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-23 00:11:31 +0100
commitbff543bb632933380da922cbfc07c67157d72d42 (patch)
treedf2e5eebc3dbd8e29153ab3a869b3be8d9be9f19 /dev-util/intel-graphics-compiler
parent491d0101c89d81dec507f28215b3cb094800d600 (diff)
gentoo auto-resync : 23:06:2024 - 00:11:30
Diffstat (limited to 'dev-util/intel-graphics-compiler')
-rw-r--r--dev-util/intel-graphics-compiler/Manifest4
-rw-r--r--dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.16695.2.ebuild103
-rw-r--r--dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.16695.4.ebuild2
3 files changed, 2 insertions, 107 deletions
diff --git a/dev-util/intel-graphics-compiler/Manifest b/dev-util/intel-graphics-compiler/Manifest
index 4c46e445cc16..61d3119dbab5 100644
--- a/dev-util/intel-graphics-compiler/Manifest
+++ b/dev-util/intel-graphics-compiler/Manifest
@@ -1,8 +1,6 @@
AUX intel-graphics-compiler-1.0.8173-opencl-clang_version.patch 1807 BLAKE2B ec6aac8c78d7584e043a258585cbae6218fd8aa167d853e1eea96313298df7347ab7652ec2bf83199129e07e534d52fcd200858036e3d0af2c4f79ff249104f2 SHA512 1a0db341aab280aa205965dfc82d17b29f681bde76932f8291243afad985523f601c7279b1fb772ebc4d9197e5016941a1ad07cea2b6d7199710a7ee22fd81dc
AUX intel-graphics-compiler-1.0.8365-disable-git.patch 1140 BLAKE2B f870def1128c30c3e50a71e9eac39eccbcc9bc798be574324016c6c31ed3a3f82e1499f1aada5a2c475bd6b6c467b1b236635fdd6b5145904bc63dc53f8d75e5 SHA512 d1d53a6f4a47031ec4cdcf3f57c059536ccf571a72929da3d9070487686f91f4202d20c4d626da616250f66b31815b61fafa82b903b1f5157a226ee748097bda
AUX intel-graphics-compiler-1.0.9-no_Werror.patch 272 BLAKE2B 079fe334413dfddb7681940f2a8920a365e8e72526cfc09ea1c7d218e8b19468f80ea9a215be125b441ee5238d7856b8dec02ebfc4bfd76b1850aa9917da35ef SHA512 d3d27943e84e228b480172b4fe91ba9aed8bb1c98700eb8c8beebafb7f1cc6265279031f56181e67eff74f55e1bbc8ee24bdc4d14fc1200c5aff670ef019410d
-DIST intel-graphics-compiler-1.0.16695.2.tar.gz 9525078 BLAKE2B abfc63f5c4ec257879b3279b113bca3fe612ba4c4b2eae02a736690eedf5ed0639e86482607998fd01be0331c45abf230d65ff38aa2ea5276d23a32bed170a40 SHA512 e8146083ade89cbaf3db7bb9cb345c6a887715259821ed51f91a0aad58354bca3412c4fd22dc71cf38e668b6bceb176fc4c5fb568056823b88bd8e389cc91ca1
DIST intel-graphics-compiler-1.0.16695.4.tar.gz 9525288 BLAKE2B dcd684ab7a439febfdfddc832b4521947335a5ca9f5c9fc3a3b8478756c6dac50a7a9679a93a3d99607805d22e5f71aba0248787948a59fde5d2b87935f1ffaf SHA512 18532abc0d0675815017d03e36dd090cd35a1904ac86fbe66b169c6fa962de80ccfee29d90c8ce827b24300270c4f7bdfa4793dd11c6d79ae7b1a937217351b1
-EBUILD intel-graphics-compiler-1.0.16695.2.ebuild 2833 BLAKE2B 93cab9759e547b6ff4380116be36de3ccbfbbd86683ba7ca2ba95ff500e0cca01cc09c734bd1d308d0d18e3dd49b20dc61368d0330db96075d01939e72f83cd3 SHA512 a5e469ac2717e783c189a85467e4a88b6dfa48515e54afbc514b980b999f493e25032094e51e1bd58924f64175c8ea99958a2d0585676f0b5e473476114f80eb
-EBUILD intel-graphics-compiler-1.0.16695.4.ebuild 2834 BLAKE2B 2cd91eb6a239ec060ddef2a2339e53e23d469244ae1484e3510a20f0f481e14943fc4fa8c80778a9e00c51a5fd9088374ad7e2ec084cdf29a2fc3d864a3f5a00 SHA512 4a762c0ee8d5d9483a0e81d440750ff7d076dcd36d1af1ea35b0d5a42857d25e7d11b52f997b361c5d80caa67f600cb4f2985516d57e2f684a96742d64f81bbd
+EBUILD intel-graphics-compiler-1.0.16695.4.ebuild 2833 BLAKE2B b82f4761343efbb81129beda9ec47d2fa5c25de57d26a7f15be1aff3523af7f8702359fd252cfcef62696a56cd22174cde28b86af19ae2a34ce32fa55e603c97 SHA512 b831628dc0e19676ea44d243f9218eed0ff367f61811de9d30ea8144d5d69c5ea970dd8ef9e92af57f74ccb02d595e1e69ac730a276a0ea872242ff58dcb53b2
MISC metadata.xml 682 BLAKE2B c5e74bbb1a5aca5eed7cb75a19820dc9d78d7ef7a15687924d16863a82a535403ca67103ac458d4b86f380244e726a3bd20fb496f8048f999abdf89950a7092c SHA512 d5a35d2104e9aa5caaf903a9f61ca8a8c4f8b5bff3e993c9964dd63196e64b88e3e7bde2e0cff9dcee9c66bdda0cabb43c5ac8c121796626bb0e7f4013929fb3
diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.16695.2.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.16695.2.ebuild
deleted file mode 100644
index 90b406a314e6..000000000000
--- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.16695.2.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_BUILD_TYPE="Release"
-LLVM_COMPAT=( 15 )
-MY_PN="igc"
-MY_P="${MY_PN}-${PV}"
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit cmake flag-o-matic llvm-r1 python-any-r1
-
-DESCRIPTION="LLVM-based OpenCL compiler for OpenCL targetting Intel Gen graphics hardware"
-HOMEPAGE="https://github.com/intel/intel-graphics-compiler"
-SRC_URI="https://github.com/intel/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${MY_P}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE="debug vc"
-
-DEPEND="
- dev-libs/opencl-clang:15[${LLVM_USEDEP}]
- dev-util/spirv-tools
- $(llvm_gen_dep '
- sys-devel/lld:${LLVM_SLOT}
- sys-devel/llvm:${LLVM_SLOT}
- ')
- vc? (
- >=dev-libs/intel-vc-intrinsics-0.18.0[${LLVM_USEDEP}]
- dev-util/spirv-llvm-translator:15=
- )
-"
-
-RDEPEND="${DEPEND}"
-
-BDEPEND="
- $(python_gen_any_dep 'dev-python/mako[${PYTHON_USEDEP}]')
- $(llvm_gen_dep 'sys-devel/lld:${LLVM_SLOT}')
- ${PYTHON_DEPS}
-"
-
-python_check_deps() {
- python_has_version "dev-python/mako[${PYTHON_USEDEP}]"
-}
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.0.9-no_Werror.patch"
- "${FILESDIR}/${PN}-1.0.8173-opencl-clang_version.patch"
- "${FILESDIR}/${PN}-1.0.8365-disable-git.patch"
-)
-
-pkg_setup() {
- llvm-r1_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_prepare() {
- # Don't hardcode FORTIFY_SOURCE
- sed -e '/-D_FORTIFY_SOURCE=2/d' -i IGC/CMakeLists.txt || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- # Get LLVM version
- local llvm_version="$(best_version -d sys-devel/llvm:${LLVM_SLOT})"
- local llvm_version="${llvm_version%%-r*}"
-
- # See https://github.com/intel/intel-graphics-compiler/issues/212
- append-ldflags -Wl,-z,undefs
-
- # See bug #893370 and https://github.com/intel/intel-graphics-compiler/issues/282
- append-flags -U_GLIBCXX_ASSERTIONS
-
- # See https://bugs.gentoo.org/718824
- ! use debug && append-cppflags -DNDEBUG
-
- local mycmakeargs=(
- -DCCLANG_SONAME_VERSION="${LLVM_SLOT}"
- -DCMAKE_LIBRARY_PATH="$(get_llvm_prefix)/$(get_libdir)"
- -DIGC_BUILD__VC_ENABLED="$(usex vc)"
- -DIGC_OPTION__ARCHITECTURE_TARGET="Linux64"
- -DIGC_OPTION__CLANG_MODE="Prebuilds"
- -DIGC_OPTION__LINK_KHRONOS_SPIRV_TRANSLATOR="ON"
- -DIGC_OPTION__LLD_MODE="Prebuilds"
- -DIGC_OPTION__LLDELF_H_DIR="${EPREFIX}/usr/include/lld/Common"
- -DIGC_OPTION__LLVM_MODE="Prebuilds"
- -DIGC_OPTION__LLVM_PREFERRED_VERSION="${llvm_version##*-}"
- -DIGC_OPTION__OPENCL_HEADER_PATH="/usr/lib/clang/${llvm_version##*-}/include/opencl-c.h"
- -DIGC_OPTION__SPIRV_TOOLS_MODE="Prebuilds"
- -DIGC_OPTION__SPIRV_TRANSLATOR_MODE="Prebuilds"
- $(usex vc '-DIGC_OPTION__VC_INTRINSICS_MODE=Prebuilds' '')
- -DPYTHON_EXECUTABLE="${PYTHON}"
- -DINSTALL_GENX_IR="ON"
- -DSPIRVLLVMTranslator_INCLUDE_DIR="${EPREFIX}/usr/lib/llvm/${LLVM_SLOT}/include/LLVMSPIRVLib"
- -Wno-dev
- )
-
- cmake_src_configure
-}
diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.16695.4.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.16695.4.ebuild
index a3c00201da99..11d39cb91bbc 100644
--- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.16695.4.ebuild
+++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.16695.4.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
IUSE="debug vc"
DEPEND="