commit: 4b447e6c5ec3357238646ec9caffe1fa700ff044 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Sun Mar 30 13:23:10 2025 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Apr 6 15:02:00 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b447e6c
dev-util/intel-graphics-compiler-legacy: split into legacy Bug: https://bugs.gentoo.org/943189 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> dev-util/intel-graphics-compiler-legacy/Manifest | 1 + ...ler-legacy-1.0.8173-opencl-clang_version.patch} | 0 ...hics-compiler-legacy-1.0.8365-disable-git.patch | 37 ++++++++++++++++++++++ ...-graphics-compiler-legacy-1.0.9-no_Werror.patch | 10 ++++++ ...l-graphics-compiler-legacy-1.0.17791.18.ebuild} | 11 ++++--- .../metadata.xml | 6 ++++ dev-util/intel-graphics-compiler/Manifest | 1 - dev-util/intel-graphics-compiler/metadata.xml | 6 ++++ 8 files changed, 67 insertions(+), 5 deletions(-) diff --git a/dev-util/intel-graphics-compiler-legacy/Manifest b/dev-util/intel-graphics-compiler-legacy/Manifest new file mode 100644 index 000000000000..f54872639d35 --- /dev/null +++ b/dev-util/intel-graphics-compiler-legacy/Manifest @@ -0,0 +1 @@ +DIST intel-graphics-compiler-legacy-1.0.17791.18.tar.gz 10746999 BLAKE2B d85c7888e4be962fc90ba6e2686aeba14d7ebe32c7dececdfddb0ba3726df82e43167dfc1bd0a2c4a0f72a6de481a270a4dcb6b4d5a40d785dac6c4628a27e2d SHA512 c814f667c558eebfbe1af68614c4eff7259b2d3626e317eb936e185b33b4aba7b225f33276ab09e9582164e5573b6cc52c230ab82e4689db41b3b2f4368367ec diff --git a/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8173-opencl-clang_version.patch b/dev-util/intel-graphics-compiler-legacy/files/intel-graphics-compiler-legacy-1.0.8173-opencl-clang_version.patch similarity index 100% rename from dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8173-opencl-clang_version.patch rename to dev-util/intel-graphics-compiler-legacy/files/intel-graphics-compiler-legacy-1.0.8173-opencl-clang_version.patch diff --git a/dev-util/intel-graphics-compiler-legacy/files/intel-graphics-compiler-legacy-1.0.8365-disable-git.patch b/dev-util/intel-graphics-compiler-legacy/files/intel-graphics-compiler-legacy-1.0.8365-disable-git.patch new file mode 100644 index 000000000000..4a9a8988c5b4 --- /dev/null +++ b/dev-util/intel-graphics-compiler-legacy/files/intel-graphics-compiler-legacy-1.0.8365-disable-git.patch @@ -0,0 +1,37 @@ +From d0f801a178755504c2f8956841823b2aa6a124c4 Mon Sep 17 00:00:00 2001 +From: Conrad Kostecki <[email protected]> +Date: Sat, 28 Aug 2021 00:57:59 +0200 +Subject: [PATCH] IGC: CMakeLists: drop git + +Dropping git, as we don't have any git release. + +Signed-off-by: Conrad Kostecki <[email protected]> +--- + visa/iga/IGALibrary/CMakeLists.txt | 11 ----------- + 1 file changed, 11 deletions(-) + +diff --git a/visa/iga/IGALibrary/CMakeLists.txt b/visa/iga/IGALibrary/CMakeLists.txt +index 061476d94..2fd44807c 100644 +--- a/visa/iga/IGALibrary/CMakeLists.txt ++++ b/visa/iga/IGALibrary/CMakeLists.txt +@@ -14,17 +14,6 @@ set(CMAKE_CXX_STANDARD 14) + + ############################################## + # compute the version string from the git repo +-execute_process( +- COMMAND git rev-parse --short HEAD +- OUTPUT_VARIABLE GIT_COMMIT +- OUTPUT_STRIP_TRAILING_WHITESPACE +- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) +-# +-execute_process( +- COMMAND git diff-index --quiet HEAD -- +- RESULT_VARIABLE GIT_DIRTY +- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) +- + set(IGA_VERSION_SUFFIX "") + if(GIT_COMMIT) + set(IGA_VERSION_DIRTY_TAG "") +-- +2.33.0 + diff --git a/dev-util/intel-graphics-compiler-legacy/files/intel-graphics-compiler-legacy-1.0.9-no_Werror.patch b/dev-util/intel-graphics-compiler-legacy/files/intel-graphics-compiler-legacy-1.0.9-no_Werror.patch new file mode 100644 index 000000000000..433b0e9caaed --- /dev/null +++ b/dev-util/intel-graphics-compiler-legacy/files/intel-graphics-compiler-legacy-1.0.9-no_Werror.patch @@ -0,0 +1,10 @@ +--- a/IGC/CMakeLists.txt ++++ b/IGC/CMakeLists.txt +@@ -2769,7 +2769,6 @@ + -march=corei7 + -mstackrealign + -fms-extensions +- -Werror + -Wno-unused-parameter + -Wno-missing-field-initializers + -Wwrite-strings diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.17791.18.ebuild b/dev-util/intel-graphics-compiler-legacy/intel-graphics-compiler-legacy-1.0.17791.18.ebuild similarity index 92% rename from dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.17791.18.ebuild rename to dev-util/intel-graphics-compiler-legacy/intel-graphics-compiler-legacy-1.0.17791.18.ebuild index 6c7109555242..4c83f4390983 100644 --- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.17791.18.ebuild +++ b/dev-util/intel-graphics-compiler-legacy/intel-graphics-compiler-legacy-1.0.17791.18.ebuild @@ -11,10 +11,10 @@ PYTHON_COMPAT=( python3_{10..13} ) inherit cmake flag-o-matic llvm-r1 python-any-r1 -DESCRIPTION="LLVM-based OpenCL compiler for OpenCL targetting Intel Gen graphics hardware" +DESCRIPTION="LLVM-based OpenCL compiler for OpenCL targetting Intel legacy graphics hardware" HOMEPAGE="https://github.com/intel/intel-graphics-compiler" -SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/${MY_P}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${MY_P}" +SRC_URI="https://github.com/intel/${PN/-legacy/}/archive/refs/tags/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN/-legacy/}-${MY_P}" LICENSE="MIT" SLOT="0/1.0.1" @@ -34,7 +34,10 @@ DEPEND=" ) " -RDEPEND="${DEPEND}" +RDEPEND=" + !dev-util/intel-graphics-compiler + ${DEPEND} +" BDEPEND=" $(python_gen_any_dep 'dev-python/mako[${PYTHON_USEDEP}]') diff --git a/dev-util/intel-graphics-compiler/metadata.xml b/dev-util/intel-graphics-compiler-legacy/metadata.xml similarity index 72% copy from dev-util/intel-graphics-compiler/metadata.xml copy to dev-util/intel-graphics-compiler-legacy/metadata.xml index 35c67387290c..570345e03a01 100644 --- a/dev-util/intel-graphics-compiler/metadata.xml +++ b/dev-util/intel-graphics-compiler-legacy/metadata.xml @@ -13,6 +13,12 @@ <email>[email protected]</email> <name>Conrad Kostecki</name> </maintainer> + <longdescription> + This is the legacy version of intel-graphics-compiler, + which works for all Intel GPUs from Gen5 up to Gen11. + For newer Intel GPUs starting with Gen12, please use + <pkg>dev-util/intel-graphics-compiler</pkg> instead. + </longdescription> <use> <flag name="vc">Enable VectorCompiler for a better performance.</flag> </use> diff --git a/dev-util/intel-graphics-compiler/Manifest b/dev-util/intel-graphics-compiler/Manifest index f6f2a2cb543f..638137aa0f12 100644 --- a/dev-util/intel-graphics-compiler/Manifest +++ b/dev-util/intel-graphics-compiler/Manifest @@ -1,2 +1 @@ -DIST intel-graphics-compiler-1.0.17791.18.tar.gz 10746999 BLAKE2B d85c7888e4be962fc90ba6e2686aeba14d7ebe32c7dececdfddb0ba3726df82e43167dfc1bd0a2c4a0f72a6de481a270a4dcb6b4d5a40d785dac6c4628a27e2d SHA512 c814f667c558eebfbe1af68614c4eff7259b2d3626e317eb936e185b33b4aba7b225f33276ab09e9582164e5573b6cc52c230ab82e4689db41b3b2f4368367ec DIST intel-graphics-compiler-2.10.2.tar.gz 10962136 BLAKE2B f92dda1c9ff9c8aa636287fe72494f752900468c60c5b65c2d8547a7f2292b124e3dfdf6e9eea6bf3f64751a3b09d9e96679ef63bea7c832e43e07f6a28c889f SHA512 4cd1799e5bb06ff26045545a1640484a08dd79caf0a5d05856878aa9da65237a0b3aa64cad28d843d426ba89dc85cf8622d88886805aac36fa79dc63b59e8167 diff --git a/dev-util/intel-graphics-compiler/metadata.xml b/dev-util/intel-graphics-compiler/metadata.xml index 35c67387290c..5e408167abef 100644 --- a/dev-util/intel-graphics-compiler/metadata.xml +++ b/dev-util/intel-graphics-compiler/metadata.xml @@ -13,6 +13,12 @@ <email>[email protected]</email> <name>Conrad Kostecki</name> </maintainer> + <longdescription> + This is the current version of intel-graphics-compiler, + which works for all Intel GPUs from Gen12 and newer. + For older Intel GPUs from Gen5 up to Gen11, please use + <pkg>dev-util/intel-graphics-compiler-legacy</pkg> instead. + </longdescription> <use> <flag name="vc">Enable VectorCompiler for a better performance.</flag> </use>
