From 770d63f36dbe1722e0ff9ab55eeca49986f01527 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 15 Feb 2025 00:13:03 +0000 Subject: gentoo auto-resync : 15:02:2025 - 00:13:02 --- dev-util/Manifest.gz | Bin 65135 -> 65143 bytes dev-util/android-studio/Manifest | 3 +- .../android-studio-2024.2.1.12.ebuild | 142 --------------------- .../android-studio-2024.2.2.14.ebuild | 141 ++++++++++++++++++++ dev-util/clinfo/Manifest | 2 + dev-util/clinfo/clinfo-3.0.25.02.14.ebuild | 26 ++++ dev-util/intel-graphics-compiler/Manifest | 4 +- .../intel-graphics-compiler-2.7.3.ebuild | 104 --------------- .../intel-graphics-compiler-2.7.8.ebuild | 104 +++++++++++++++ 9 files changed, 277 insertions(+), 249 deletions(-) delete mode 100644 dev-util/android-studio/android-studio-2024.2.1.12.ebuild create mode 100644 dev-util/android-studio/android-studio-2024.2.2.14.ebuild create mode 100644 dev-util/clinfo/clinfo-3.0.25.02.14.ebuild delete mode 100644 dev-util/intel-graphics-compiler/intel-graphics-compiler-2.7.3.ebuild create mode 100644 dev-util/intel-graphics-compiler/intel-graphics-compiler-2.7.8.ebuild (limited to 'dev-util') diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz index 2e13283cdd40..a7626a8059db 100644 Binary files a/dev-util/Manifest.gz and b/dev-util/Manifest.gz differ diff --git a/dev-util/android-studio/Manifest b/dev-util/android-studio/Manifest index 8fcb50fd757d..b1aac407d4dd 100644 --- a/dev-util/android-studio/Manifest +++ b/dev-util/android-studio/Manifest @@ -1,4 +1,5 @@ DIST android-studio-2024.2.1.12-linux.tar.gz 1255741216 BLAKE2B 2e24c94a14370c60547569ad6ec95d1017957696adb4d71a29fefb063413d2be08c03f15ac354e4535fcbfb44c06d9fb1b8d8ef5d4129ad2caa55f636cf94993 SHA512 98f4d8c184d0184fa81dc267fc3bd7e7cc74edff9bf26a45fbe7c2a9b7bb9c25f94b86f17e0f2b94d8519d9b351cb9fdc0d07e90adfabf2afc1bbd13c3822ee8 +DIST android-studio-2024.2.2.14-linux.tar.gz 1268721586 BLAKE2B 3d1f51b1f77ac9f5142ec6c16fae3f4de6512920a0fdc0c78f9cb7ce4f16d8b3b2c79e4878cec768e22e2554b880930d2167b61997c06281d7c9c69661607537 SHA512 ae7d50906574bec2eb21473b94788d859670e009e453514976ce22838b497537f25c1676892657211edc99ac279885fc3aa27b890ac6ff799eea95f6c154f5a5 EBUILD android-studio-2024.2.1.12-r1.ebuild 5116 BLAKE2B 94da363303ace9009ef3352c40f783aa17d982920cdcae5e985a63ee0af2eb38f36c9e6162f5cf2d39c28608f92281a331259b7f64d46f3f1615cddf65141f45 SHA512 44ab4e6185ac07630b283c5659ad9136a856810c9c86f7d3e0cfda70c2cd065a271043fdc2bd86418e461dde516dbb7da5b4fede1489f804a5142a35049a34c3 -EBUILD android-studio-2024.2.1.12.ebuild 5204 BLAKE2B 86d7da4dc7b10f781002626fb07de632123975e2a9f9a56a6503a59738ab4a2ec63d899deb5639aaa4eab80cf6e873cdfbed57051d574700f9bbeb7852436306 SHA512 6c11ac52f52eb3f2236092f7177c7de4bbe790f0697459fd77b0fdbf3580c34bee3093cdb40aa3836f8e91ab5390f4f8fe9fdfe092046048b725c0c7b5f76222 +EBUILD android-studio-2024.2.2.14.ebuild 5120 BLAKE2B 3214bd7e9376feb01aed5f888c163cc30332d532a94287652920cca1d677901c0a186ccbc5f3004c4af0346c880e3f0e684c38bb89fc02f81747c2ddb66b43f7 SHA512 7c00feca189ac7cded09807c8345190139504e9513027d227e6e3eabdf1c364b7ea281c687ddbbdff216280bb5153cb10d405cb579717b022e3da2e8312bc45e MISC metadata.xml 298 BLAKE2B 8f13e01e8c5a24c9af764e8882e2d5677ebf485cad143f35720ede0d491f2c09fd009ce48433cd33f863fb618d6413eac97e07a6d3526f5c8e679d9e51995908 SHA512 2c9d3c5d14e2499fac58df1d3cb2844172833f371fe4d557791efc0848b879191bca36aa772792cea6edd8f6e3be83452a188c0db043906a46c87af0dcacd4e2 diff --git a/dev-util/android-studio/android-studio-2024.2.1.12.ebuild b/dev-util/android-studio/android-studio-2024.2.1.12.ebuild deleted file mode 100644 index 1cbca7761fd1..000000000000 --- a/dev-util/android-studio/android-studio-2024.2.1.12.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop wrapper - -QA_PREBUILT=" - opt/${PN}/bin/* - opt/${PN}/jbr/bin/* - opt/${PN}/jbr/lib/* - opt/${PN}/jbr/lib/jli/* - opt/${PN}/jbr/lib/server/* - opt/${PN}/lib/pty4j-native/linux/*/* - opt/${PN}/plugins/android/resources/installer/*/* - opt/${PN}/plugins/android/resources/native/* - opt/${PN}/plugins/android/resources/perfetto/*/* - opt/${PN}/plugins/android/resources/screen-sharing-agent/*/* - opt/${PN}/plugins/android/resources/simpleperf/*/* - opt/${PN}/plugins/android/resources/trace_processor_daemon/* - opt/${PN}/plugins/android/resources/transport/*/* - opt/${PN}/plugins/android/resources/transport/native/agent/*/* - opt/${PN}/plugins/android-ndk/resources/lldb/android/*/* - opt/${PN}/plugins/android-ndk/resources/lldb/bin/* - opt/${PN}/plugins/android-ndk/resources/lldb/lib/python3.9/lib-dynload/* - opt/${PN}/plugins/android-ndk/resources/lldb/lib64/* - opt/${PN}/plugins/design-tools/resources/layoutlib/data/linux/lib64/* - opt/${PN}/plugins/c-clangd/bin/clang/linux/*/* - opt/${PN}/plugins/webp/lib/libwebp/linux/* -" - -DESCRIPTION="Android development environment based on IntelliJ IDEA" -HOMEPAGE="https://developer.android.com/studio" -SRC_URI="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${PV}/${P}-linux.tar.gz" -S=${WORKDIR}/${PN} -LICENSE="Apache-2.0 android BSD BSD-2 CDDL-1.1 CPL-0.5 - EPL-1.0 GPL-2 GPL-2+ JDOM IJG LGPL-2.1 MIT - MPL-1.1 MPL-2.0 NPL-1.1 OFL-1.1 ZLIB" -SLOT="0" -KEYWORDS="~amd64" -IUSE="selinux" -RESTRICT="bindist mirror strip" - -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-android ) - >=app-arch/bzip2-1.0.8-r4 - >=dev-libs/expat-2.5.0 - >=dev-libs/libffi-3.4.4 - >=media-libs/fontconfig-2.14.0-r1 - >=media-libs/freetype-2.12.1-r1 - >=media-libs/libpng-1.6.39 - >=media-libs/mesa-22.2.5[X(+)] - || ( gnome-extra/zenity kde-apps/kdialog x11-apps/xmessage x11-libs/libnotify ) - sys-libs/ncurses-compat:5[tinfo] - >=sys-libs/zlib-1.2.13-r1 - >=x11-libs/libX11-1.8.1 - >=x11-libs/libXau-1.0.11 - >=x11-libs/libXdamage-1.1.6 - >=x11-libs/libXdmcp-1.1.4-r2 - >=x11-libs/libXext-1.3.5 - >=x11-libs/libXfixes-6.0.0 - >=x11-libs/libXrender-0.9.11 - >=x11-libs/libXxf86vm-1.1.5 - >=x11-libs/libdrm-2.4.114 - >=x11-libs/libxcb-1.15-r1 - >=x11-libs/libxshmfence-1.3.2 - virtual/libcrypt:= -" - -src_prepare() { - - default - - rm "${S}"/plugins/android/resources/installer/{arm64-v8a,armeabi-v7a,x86}/* - rm "${S}"/plugins/android/resources/perfetto/{arm64-v8a,armeabi-v7a,x86}/* - rm "${S}"/plugins/android/resources/process-tracker-agent/native/{arm64-v8a,armeabi-v7a,x86}/* - rm "${S}"/plugins/android/resources/screen-sharing-agent/{arm64-v8a,armeabi-v7a,x86}/* - rm "${S}"/plugins/android/resources/transport/{arm64-v8a,armeabi-v7a,x86}/* - rm "${S}"/plugins/android/resources/transport/native/agent/{arm64-v8a,armeabi-v7a,x86}/* - - cat <<-EOF >> bin/idea.properties || die - #----------------------------------------------------------------------- - # Disable automatic updates as these are handled through Gentoo's - # package manager. - #----------------------------------------------------------------------- - ide.no.platform.update=Gentoo - EOF -} - -src_compile() { - :; -} - -src_install() { - local dir="/opt/${PN}" - insinto "${dir}" - doins -r * - - fperms 755 "${dir}"/bin/{fsnotifier,format.sh,game-tools.sh,inspect.sh,ltedit.sh,profiler.sh,studio.sh,studio_safe.sh} - fperms -R 755 "${dir}"/bin/{helpers,lldb} - fperms -R 755 "${dir}"/jbr/bin - fperms 755 "${dir}"/jbr/lib/{jexec,jspawnhelper} - fperms -R 755 "${dir}"/plugins/Kotlin/kotlinc/bin - fperms -R 755 "${dir}"/plugins/android/resources/installer - fperms -R 755 "${dir}"/plugins/android/resources/perfetto - fperms -R 755 "${dir}"/plugins/android/resources/simpleperf - fperms -R 755 "${dir}"/plugins/android/resources/trace_processor_daemon - fperms -R 755 "${dir}"/plugins/android/resources/transport/{arm64-v8a,armeabi-v7a,x86,x86_64} - fperms -R 755 "${dir}"/plugins/android-ndk/resources/lldb/{android,bin,lib,shared} - fperms 755 "${dir}"/plugins/c-clangd-plugin/bin/clang/linux/x64/clangd - fperms -R 755 "${dir}"/plugins/terminal/shell-integrations/{,fish} - - newicon "bin/studio.png" "${PN}.png" - make_wrapper ${PN} ${dir}/bin/studio.sh - make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE" "StartupWMClass=jetbrains-studio" - - # https://developer.android.com/studio/command-line/variables - newenvd - 99android-studio <<-EOF - # Configuration file android-studio - STUDIO_JDK="${dir}/jbr" - EOF - - # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit - mkdir -p "${D}/etc/sysctl.d/" || die - echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-android-studio-inotify-watches.conf" || die -} - -pkg_postrm() { - elog "Android Studio data files were not removed." - elog "If there will be no other programs using them anymore" - elog "(especially another flavor of Android Studio)" - elog "remove manually following folders:" - elog "" - elog " ~/.android/" - elog " ~/.config/Google/AndroidStudio*/" - elog " ~/.local/share/Google/AndroidStudio*/" - elog " ~/Android/" - elog "" - elog "Also, if there are no other programs using Gradle, remove:" - elog "" - elog " ~/.gradle/" -} diff --git a/dev-util/android-studio/android-studio-2024.2.2.14.ebuild b/dev-util/android-studio/android-studio-2024.2.2.14.ebuild new file mode 100644 index 000000000000..f494cd292071 --- /dev/null +++ b/dev-util/android-studio/android-studio-2024.2.2.14.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop wrapper + +QA_PREBUILT=" + opt/${PN}/bin/* + opt/${PN}/jbr/bin/* + opt/${PN}/jbr/lib/* + opt/${PN}/jbr/lib/jli/* + opt/${PN}/jbr/lib/server/* + opt/${PN}/lib/pty4j-native/linux/*/* + opt/${PN}/plugins/android/resources/installer/*/* + opt/${PN}/plugins/android/resources/native/* + opt/${PN}/plugins/android/resources/perfetto/*/* + opt/${PN}/plugins/android/resources/screen-sharing-agent/*/* + opt/${PN}/plugins/android/resources/simpleperf/*/* + opt/${PN}/plugins/android/resources/trace_processor_daemon/* + opt/${PN}/plugins/android/resources/transport/*/* + opt/${PN}/plugins/android/resources/transport/native/agent/*/* + opt/${PN}/plugins/android-ndk/resources/lldb/android/*/* + opt/${PN}/plugins/android-ndk/resources/lldb/bin/* + opt/${PN}/plugins/android-ndk/resources/lldb/lib/python3.9/lib-dynload/* + opt/${PN}/plugins/android-ndk/resources/lldb/lib64/* + opt/${PN}/plugins/design-tools/resources/layoutlib/data/linux/lib64/* + opt/${PN}/plugins/c-clangd/bin/clang/linux/*/* + opt/${PN}/plugins/webp/lib/libwebp/linux/* +" + +DESCRIPTION="Android development environment based on IntelliJ IDEA" +HOMEPAGE="https://developer.android.com/studio" +SRC_URI="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${PV}/${P}-linux.tar.gz" +S=${WORKDIR}/${PN} +LICENSE="Apache-2.0 android BSD BSD-2 CDDL-1.1 CPL-0.5 + EPL-1.0 GPL-2 GPL-2+ JDOM IJG LGPL-2.1 MIT + MPL-1.1 MPL-2.0 NPL-1.1 OFL-1.1 ZLIB" +SLOT="0" +KEYWORDS="~amd64" +IUSE="selinux" +RESTRICT="bindist mirror strip" + +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-android ) + >=app-arch/bzip2-1.0.8-r4 + >=dev-libs/expat-2.5.0 + >=dev-libs/libffi-3.4.4 + >=media-libs/fontconfig-2.14.0-r1 + >=media-libs/freetype-2.12.1-r1 + >=media-libs/libpng-1.6.39 + >=media-libs/mesa-22.2.5[X(+)] + || ( gnome-extra/zenity kde-apps/kdialog x11-apps/xmessage x11-libs/libnotify ) + sys-libs/ncurses-compat:5[tinfo] + >=sys-libs/zlib-1.2.13-r1 + >=x11-libs/libX11-1.8.1 + >=x11-libs/libXau-1.0.11 + >=x11-libs/libXdamage-1.1.6 + >=x11-libs/libXdmcp-1.1.4-r2 + >=x11-libs/libXext-1.3.5 + >=x11-libs/libXfixes-6.0.0 + >=x11-libs/libXrender-0.9.11 + >=x11-libs/libXxf86vm-1.1.5 + >=x11-libs/libdrm-2.4.114 + >=x11-libs/libxcb-1.15-r1 + >=x11-libs/libxshmfence-1.3.2 + virtual/libcrypt:= +" + +src_prepare() { + + default + + rm "${S}"/plugins/android/resources/installer/{arm64-v8a,armeabi-v7a,x86}/* + rm "${S}"/plugins/android/resources/perfetto/{arm64-v8a,armeabi-v7a,x86}/* + rm "${S}"/plugins/android/resources/process-tracker-agent/native/{arm64-v8a,armeabi-v7a,x86}/* + rm "${S}"/plugins/android/resources/transport/{arm64-v8a,armeabi-v7a,x86}/* + rm "${S}"/plugins/android/resources/transport/native/agent/{arm64-v8a,armeabi-v7a,x86}/* + + cat <<-EOF >> bin/idea.properties || die + #----------------------------------------------------------------------- + # Disable automatic updates as these are handled through Gentoo's + # package manager. + #----------------------------------------------------------------------- + ide.no.platform.update=Gentoo + EOF +} + +src_compile() { + :; +} + +src_install() { + local dir="/opt/${PN}" + insinto "${dir}" + doins -r * + + fperms 755 "${dir}"/bin/{fsnotifier,format.sh,game-tools.sh,inspect.sh,ltedit.sh,profiler.sh,studio,studio.sh,studio_safe.sh} + fperms -R 755 "${dir}"/bin/{helpers,lldb} + fperms -R 755 "${dir}"/jbr/bin + fperms 755 "${dir}"/jbr/lib/{jexec,jspawnhelper} + fperms -R 755 "${dir}"/plugins/Kotlin/kotlinc/bin + fperms -R 755 "${dir}"/plugins/android/resources/installer + fperms -R 755 "${dir}"/plugins/android/resources/perfetto + fperms -R 755 "${dir}"/plugins/android/resources/simpleperf + fperms -R 755 "${dir}"/plugins/android/resources/trace_processor_daemon + fperms -R 755 "${dir}"/plugins/android/resources/transport/{arm64-v8a,armeabi-v7a,x86,x86_64} + fperms -R 755 "${dir}"/plugins/android-ndk/resources/lldb/{android,bin,lib,shared} + fperms 755 "${dir}"/plugins/c-clangd-plugin/bin/clang/linux/x64/clangd + fperms -R 755 "${dir}"/plugins/terminal/shell-integrations/{,fish} + + newicon "bin/studio.png" "${PN}.png" + make_wrapper ${PN} ${dir}/bin/studio + make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE" "StartupWMClass=jetbrains-studio" + + # https://developer.android.com/studio/command-line/variables + newenvd - 99android-studio <<-EOF + # Configuration file android-studio + STUDIO_JDK="${dir}/jbr" + EOF + + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit + mkdir -p "${D}/etc/sysctl.d/" || die + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-android-studio-inotify-watches.conf" || die +} + +pkg_postrm() { + elog "Android Studio data files were not removed." + elog "If there will be no other programs using them anymore" + elog "(especially another flavor of Android Studio)" + elog "remove manually following folders:" + elog "" + elog " ~/.android/" + elog " ~/.config/Google/AndroidStudio*/" + elog " ~/.local/share/Google/AndroidStudio*/" + elog " ~/Android/" + elog "" + elog "Also, if there are no other programs using Gradle, remove:" + elog "" + elog " ~/.gradle/" +} diff --git a/dev-util/clinfo/Manifest b/dev-util/clinfo/Manifest index cfeaf8e522b1..0586c4665bf4 100644 --- a/dev-util/clinfo/Manifest +++ b/dev-util/clinfo/Manifest @@ -1,4 +1,6 @@ DIST clinfo-3.0.23.01.25.tar.gz 58325 BLAKE2B 20c6379c9fd22edd0d8938baa52fcec54f2d70687bd0ef21d153f4c29d54cf024be35f650f44c02b0a6cd340aa6aeeda93a198f51ec59847227b6de83adf7ad1 SHA512 c8e0f33a304a64f1fb4b4ffecb2a62bc10fb5e9777cc8d0cd44bf551e5c94141f04d4cafd28fe6e796bc365e356027297fc9c91359b23b152b1c98d9a128515c +DIST clinfo-3.0.25.02.14.tar.gz 60699 BLAKE2B 98e005b5dad1daa09a53bc26ed4d1c52194b55f3166e82c6b8689dac00fde174e7803ac6b10195983bd347c08b3590f7e9ffc61837fcffd138df2f1092866892 SHA512 d45997ebb85e91f38168f36dd383d9442886ec6ebe043cb87e23f21584bae34360bc09a00256738dabd58bf19a74d1d2e11f1c8b2abaf3a0173e03f07f830ec3 EBUILD clinfo-3.0.23.01.25.ebuild 669 BLAKE2B 49b116f59c13d2d3f18e59e3529a5687fc4a707eaebe194ac0b8f7bcfaf53c8620784ecd759f710ae17b6ad3b1cdabe3f8a4b26b7210626545121399ce0b0694 SHA512 f58b4bf4910a0621aec6bfaddf38da797c0fff7a5e5a0f93b62d9d542cac73da441ea3b219313d8b36d42db1f58eede951a0e3c1955f5bae2486fa18ff3227be +EBUILD clinfo-3.0.25.02.14.ebuild 669 BLAKE2B 49b116f59c13d2d3f18e59e3529a5687fc4a707eaebe194ac0b8f7bcfaf53c8620784ecd759f710ae17b6ad3b1cdabe3f8a4b26b7210626545121399ce0b0694 SHA512 f58b4bf4910a0621aec6bfaddf38da797c0fff7a5e5a0f93b62d9d542cac73da441ea3b219313d8b36d42db1f58eede951a0e3c1955f5bae2486fa18ff3227be EBUILD clinfo-9999.ebuild 662 BLAKE2B b8d4416bb826c1a33f0a35fc7cc374ca97e9c3b4c6cf7e3407bbee78ad1024d7cedc55248dbdaf3b7ed66cf4d8cfd8d3a0f00c62d38e768fc1bb051da4b85bcd SHA512 e7e6d9ed4a5c33f9a6d0556d7291a42fa985399c1ba7d17926c8b079457ff0bd11caa14439c2bfba65e6fd8f6eb13fcfba229f575fdd514845ed2f44835b3355 MISC metadata.xml 328 BLAKE2B 21eff79ce1cc3c5088a2ad5d13d88fac9554f3f8d111651cd047682c66758d07469a63283d138b39e77c7dbc69cd5de70eed3be2816fbf8c51a7627741a5030d SHA512 c720305e388992ea76eb6b5924e997f84449a76a6c8d99ac73fc19a1fddb0970de2ec6596aafc7aad560122fe1cc26ed6dacf364fe6475984d01f30c8be4c2c0 diff --git a/dev-util/clinfo/clinfo-3.0.25.02.14.ebuild b/dev-util/clinfo/clinfo-3.0.25.02.14.ebuild new file mode 100644 index 000000000000..91ed3d5fd933 --- /dev/null +++ b/dev-util/clinfo/clinfo-3.0.25.02.14.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/Oblomov/clinfo.git" + inherit git-r3 + SRC_URI="" +else + SRC_URI="https://github.com/Oblomov/clinfo/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv" +fi + +DESCRIPTION="A tool to display info about the system's OpenCL capabilities" +HOMEPAGE="https://github.com/Oblomov/clinfo" +LICENSE="CC0-1.0" +SLOT="0" + +DEPEND=">=virtual/opencl-3 + dev-util/opencl-headers" +RDEPEND="${DEPEND}" + +src_install() { + emake MANDIR="${ED}"/usr/share/man PREFIX="${ED}"/usr install +} diff --git a/dev-util/intel-graphics-compiler/Manifest b/dev-util/intel-graphics-compiler/Manifest index ea9f55dffcbe..5ffb3c9fa1a9 100644 --- a/dev-util/intel-graphics-compiler/Manifest +++ b/dev-util/intel-graphics-compiler/Manifest @@ -2,7 +2,7 @@ AUX intel-graphics-compiler-1.0.8173-opencl-clang_version.patch 1807 BLAKE2B ec6 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.17791.18.tar.gz 10746999 BLAKE2B d85c7888e4be962fc90ba6e2686aeba14d7ebe32c7dececdfddb0ba3726df82e43167dfc1bd0a2c4a0f72a6de481a270a4dcb6b4d5a40d785dac6c4628a27e2d SHA512 c814f667c558eebfbe1af68614c4eff7259b2d3626e317eb936e185b33b4aba7b225f33276ab09e9582164e5573b6cc52c230ab82e4689db41b3b2f4368367ec -DIST intel-graphics-compiler-2.7.3.tar.gz 11039124 BLAKE2B 8888dc2b924f8f585dbdef712eb1a72bd3d8a130482cdad1371a8a2643709df30ff25a2c0fa00727b59a3f7f6e8de1c3215c31e79124cebb1c54cbea32f7929b SHA512 8a88a0bef69ed7a46643a6687317521ca1366f6ceccc13154a0515c450671fda71a344ee9051e94ca40da877cceff4a492fb970d9b015beb0ba88e37309e2c7d +DIST intel-graphics-compiler-2.7.8.tar.gz 11044562 BLAKE2B ab1b3fc35cfc668a3e7e9c6a8eb772d0f8a6c04b842ad543044d3d210e832482cc9e8092cc0ceaabd4245f7795530c16fb607cc304c0b4cf8abfabfb2f67f911 SHA512 ab663ce9c715e14cb61f7a442ed5c7e68167f18c3116d2c78cb08d8ae1f7f6a47e16ac8c5fd191c51ef03692117c31881fbae84bd5a353fe95698bcb278fd26f EBUILD intel-graphics-compiler-1.0.17791.18.ebuild 3136 BLAKE2B 7685b032c7d0baa9c0251482dfe0357b102cb3ae9c5e3585108149f5b3309f24629a82532c830c85a6763231d81c367e271aeffb3cdd806f18e0f170ad3e0099 SHA512 5ed0241c0ce45157ef9e6534bb3876bb9bac2c25cb15a2895a9fd55c53ec3367b05b7ceee0f9e89b0b529d0624a47c4eaae3d609f4598947f1d3f7dba42bb2cc -EBUILD intel-graphics-compiler-2.7.3.ebuild 2991 BLAKE2B e0848decbbacc55a6a48ba3a9fe0b485c053f9fa1e46e6f9bfdcceeb3877b348e767b380ad5756425419ca43b40c8015060fca34b57bfb7d7844274e372c4222 SHA512 193b916cf69359b24ed2b706437fa23813f015e140f7e28a4dbdb37e3960c22351a015c6133c0971db108dd80e242db96acdb8d818c7a89e2486dfe151842ab7 +EBUILD intel-graphics-compiler-2.7.8.ebuild 2991 BLAKE2B 1b6c8c7851567f5cbaa2a8a2d71ae9ba76c679a5856201629cf111ab4e63c2460387db151f84f24bccc4a5a590729622813019b37c703c2550659d273641cfa7 SHA512 3f8f64e1e2af27dff49aa5a2ef4dc5882e0ac881c356460fb2ab676f5a81d72386b316c4dcc5fc74c072a326891c24323f3004f5dd3a2259c92f0b85db1ce5a9 MISC metadata.xml 682 BLAKE2B c5e74bbb1a5aca5eed7cb75a19820dc9d78d7ef7a15687924d16863a82a535403ca67103ac458d4b86f380244e726a3bd20fb496f8048f999abdf89950a7092c SHA512 d5a35d2104e9aa5caaf903a9f61ca8a8c4f8b5bff3e993c9964dd63196e64b88e3e7bde2e0cff9dcee9c66bdda0cabb43c5ac8c121796626bb0e7f4013929fb3 diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-2.7.3.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-2.7.3.ebuild deleted file mode 100644 index fec7fad0e8b5..000000000000 --- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-2.7.3.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_BUILD_TYPE="Release" -LLVM_COMPAT=( 15 ) -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" -HOMEPAGE="https://github.com/intel/intel-graphics-compiler" -SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/2.5.0" -KEYWORDS="~amd64" -IUSE="debug vc" - -DEPEND=" - dev-libs/opencl-clang:15[${LLVM_USEDEP}] - dev-util/spirv-tools - $(llvm_gen_dep ' - llvm-core/lld:${LLVM_SLOT} - llvm-core/llvm:${LLVM_SLOT} - ') - vc? ( - >=dev-libs/intel-vc-intrinsics-0.21.0[${LLVM_USEDEP}] - dev-util/spirv-llvm-translator:15= - ) -" - -RDEPEND="${DEPEND}" - -BDEPEND=" - $(python_gen_any_dep 'dev-python/mako[${PYTHON_USEDEP}]') - $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') - $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}') - ${PYTHON_DEPS} -" - -python_check_deps() { - python_has_version "dev-python/mako[${PYTHON_USEDEP}]" - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" -} - -PATCHES=( - "${FILESDIR}/${PN}-1.0.9-no_Werror.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 llvm-core/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=( - -DBUILD_SHARED_LIBS="OFF" - -DCCLANG_FROM_SYSTEM="ON" - -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="$(get_llvm_prefix)/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" - -DIGC_OPTION__USE_KHRONOS_SPIRV_TRANSLATOR_IN_SC="ON" - -DIGC_OPTION__USE_PREINSTALLED_SPIRV_HEADERS="ON" - $(usex vc '-DIGC_OPTION__VC_INTRINSICS_MODE=Prebuilds' '') - -DPYTHON_EXECUTABLE="${PYTHON}" - -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-2.7.8.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-2.7.8.ebuild new file mode 100644 index 000000000000..fd0b5696f416 --- /dev/null +++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-2.7.8.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_BUILD_TYPE="Release" +LLVM_COMPAT=( 15 ) +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" +HOMEPAGE="https://github.com/intel/intel-graphics-compiler" +SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/2.5.0" +KEYWORDS="~amd64" +IUSE="debug vc" + +DEPEND=" + dev-libs/opencl-clang:15[${LLVM_USEDEP}] + dev-util/spirv-tools + $(llvm_gen_dep ' + llvm-core/lld:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} + ') + vc? ( + >=dev-libs/intel-vc-intrinsics-0.22.0[${LLVM_USEDEP}] + dev-util/spirv-llvm-translator:15= + ) +" + +RDEPEND="${DEPEND}" + +BDEPEND=" + $(python_gen_any_dep 'dev-python/mako[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') + $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}') + ${PYTHON_DEPS} +" + +python_check_deps() { + python_has_version "dev-python/mako[${PYTHON_USEDEP}]" + python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" +} + +PATCHES=( + "${FILESDIR}/${PN}-1.0.9-no_Werror.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 llvm-core/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=( + -DBUILD_SHARED_LIBS="OFF" + -DCCLANG_FROM_SYSTEM="ON" + -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="$(get_llvm_prefix)/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" + -DIGC_OPTION__USE_KHRONOS_SPIRV_TRANSLATOR_IN_SC="ON" + -DIGC_OPTION__USE_PREINSTALLED_SPIRV_HEADERS="ON" + $(usex vc '-DIGC_OPTION__VC_INTRINSICS_MODE=Prebuilds' '') + -DPYTHON_EXECUTABLE="${PYTHON}" + -DSPIRVLLVMTranslator_INCLUDE_DIR="${EPREFIX}/usr/lib/llvm/${LLVM_SLOT}/include/LLVMSPIRVLib" + -Wno-dev + ) + + cmake_src_configure +} -- cgit v1.2.3