summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/Manifest.gzbin69601 -> 69608 bytes
-rw-r--r--dev-util/difftastic/Manifest5
-rw-r--r--dev-util/difftastic/difftastic-0.52.0.ebuild (renamed from dev-util/difftastic/difftastic-0.51.1.ebuild)8
-rw-r--r--dev-util/intel-graphics-compiler/Manifest2
-rw-r--r--dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.15368.3.ebuild102
5 files changed, 114 insertions, 3 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz
index cf1f075c433f..e49c441a6c46 100644
--- a/dev-util/Manifest.gz
+++ b/dev-util/Manifest.gz
Binary files differ
diff --git a/dev-util/difftastic/Manifest b/dev-util/difftastic/Manifest
index 51383f97ad5e..63d916d3b075 100644
--- a/dev-util/difftastic/Manifest
+++ b/dev-util/difftastic/Manifest
@@ -22,7 +22,7 @@ DIST crossterm_winapi-0.9.0.crate 15561 BLAKE2B f84604f1da9cfdd0fc69742eef8088e7
DIST ctor-0.1.22.crate 9311 BLAKE2B a13fb97cf767fae19486ca8b970f1712bfcf4ec9edda40c01add4bdb7a81e9136acb1208c79763cd612160bf39b342460fecc334c6e421e7f7ff610c4bc44e2f SHA512 cd7c60dae8fb19c3b10e0bf1ffbcedac90cbbd147d564335e4da2d5483f64ea3dc10ad17d7573b00958db0a72cce45f8b7bc10c32864dd943fe64df8d22aaaab
DIST diff-0.1.12.crate 10223 BLAKE2B 369f305661f1da31207f3801ed1841dbce12451ac9c3e9d3736f7158ece433af9b2e42c29063e5d93bb86b1d300e503caa9c3ce7dd0b25553f91d72a9eea5298 SHA512 0e81331c0424e9369963e23894a6412b65a3ed4f3154ccc184fc84cf1c5985b81c586a6b34e8c6c0e5c3afba38fb15277cfd89e7f50c85bd5d8d4d24ba670d16
DIST difflib-0.4.0.crate 7638 BLAKE2B 57c703de0d467c997bcbedc4d6577569b3d72c612d3ccd929025a98f4bf8f72f2a0d43f3cd3bc616676c2569aed176b3c1362cfa868a4bb1197e05fe4dbce32f SHA512 fcb57859424fea6958a4407061c421599fbca111357b1fe72faa65d8fb0b74425c993a24484e8414f475fa146cd8368c4f82e1ceb4e8dd9f95741149345b37a9
-DIST difftastic-0.51.1.gh.tar.gz 57440531 BLAKE2B 610d663f8fcfceb78566ceb22c9141abd4f3d64615576a4140a4659d6c6b71d2be10384ab65994adc9ac6926dd4e6770e7077057af08d0f5215ae4db82e9ac2e SHA512 d3ff7268d018a46c04fcf8f196095df0c35807a33dd3199e2ebd3c795ff68bb2d1ad97f58e3ec2ae2b900d5613ee1fd14cce0abfb29fa7d49ac77931fd9b85a9
+DIST difftastic-0.52.0.gh.tar.gz 57517066 BLAKE2B 52329018dbe4c2cb9eb95c63a4a6f05aa91f74b8f20038ad94be278e8aab82d62139bdde1008b7c7dba0829c530b2f2ab44b29a82f7ef6109cf79ffcc2d9f4b9 SHA512 2604662f2c7d3d16c9223c68b2aabb84978fbbb4eee5ad631a361ad8fcbccf720316a980dad1f07b3bad94c3fe9a23a25c8c712d4c8da241e1af61be9598fcc6
DIST doc-comment-0.3.3.crate 4123 BLAKE2B a82d1c1a7a90af6e111b5e684a1298d7eac5fd8e4bf7d5baf6c7403d26b609958716d57e51122fe7ad7626fe00a2d824dcfef3cc2fd7679fdb7b5099603de1cd SHA512 e98ff9646a3612bd41bb6f278e7b6e9a0c58747f8b82524da814cf51b7f06c76ad4d65b502ac5740e818744abb295f78f15f8262d0b50ced1523f6d1a26939ba
DIST either-1.6.1.crate 13641 BLAKE2B e5f40c40a5edb6dcb07a10bf79183cbe42438f1f70f3932dce72f6f6e91f75f24d17d82bc447507def4dad4345ffc9dd9162dde778afb253bdb1218e91887949 SHA512 4bfe56920e30cbc8eb4f90162db618f7dca653b42db35ab6a7045d3fd9a24ceb1778b1f79613850bdb1a87ad3794fa0d73015e46c48d513f368d8c3776fc9ddf
DIST env_logger-0.7.1.crate 32281 BLAKE2B 6f1894c64f301ca4b687270c911dbe230f674662aa0561b97c4d2537886e404664b5773d4e223e2018047c222a951232c3cb52ec5bddbfb6665e34c3e7ea52f5 SHA512 604060d2ee83ab337a2d20d6784d1b7541534d2fd9e1662fc5c709fa681672a9db5e34d00face864b56ae321962e644ebe29fbb6d68a0d556419cf5d71c6149f
@@ -45,6 +45,7 @@ DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8
DIST libc-0.2.139.crate 638983 BLAKE2B e92b296cf8c916e10e859722ed75f4790401662ff7aa2fe8ed84ef9b94a00538768be33c272f0881e42da887c8c43e1fd44d061343386216492a76fe5d308598 SHA512 ff5fae517c49c382dee9b1d7479b65b0a818780453e5c00c416847d02f42186e2fcf19a8a8dc5e9cc2611300690c6ad324f9c0f0e8172e913a1b781fb7c0b5b4
DIST libm-0.2.7.crate 115688 BLAKE2B e180347d10847c40a88e43d321e08561df053e6fea0cea2cac480c4162c2f31d8697b4572a384edae323d43781d3c6462b2d77220dd71b2fd0da3a2757487db1 SHA512 b7adbf657be812451fc50cd5e5f92b7a71d43b4e48761bd2738d65498c9abad851f8e86d3be06ae75cf39c7798c23cafe767bc5fd40f596774e858f69fcb46d9
DIST libmimalloc-sys-0.1.24.crate 1119801 BLAKE2B a7ac3bfb48805c85566916b4ad7aa14434d21d7758d1c2f96a8b4889cdc1950ef27661223166fb2671040788e8f6a6fdfed3a0a42e5dc38b525e6100d1d9b6de SHA512 b35b72948581ec3505f569af21a1e55cab9024d3f2fe543972863e74e2c1620fc295a3632122e5548b01dbafc6230a1e2a39456070cbc9d3aadafa10fe166900
+DIST line-numbers-0.2.2.crate 5106 BLAKE2B 2477ebe0d0d284429f040a0a615f9bf2b49e6521334b90f381b46d28b6f9e8ae999a8569809e0458e2ddee25121da8d432cd4eddbb59caa5d7291e1843efe9f4 SHA512 69654a74ceaf327c6eadfa3713522d9dd1ab9c8849fb44dca53df0dce6800b2e6ea862fa067300d24a722ffc1f64672139915a4ea742ca655388d4ec2cb76f5d
DIST lock_api-0.4.9.crate 25685 BLAKE2B 8adf5c3cccebdf6aff6ec977f230cd2a208b0b188ef57deacbbc6019431f0ede1a760b2384ba3cb49c96b8a589dc56c0f46a6359b3e62277e7ae1a1c3f586fa3 SHA512 9215381d9bb6b80d217c73a900db43df043b3e939b5bd7a292a02e9ab911cf0eacd8f883d35bdf72b3a0e78df8f1bc3e843ca4c775294c7a7a03091dc1a74990
DIST log-0.4.17.crate 38028 BLAKE2B b46be3719fc0a53e50b1f342762e188587e9f1ceb692c72473ce2663edfb8253742d30024e68c1444780ab7fc0e2d5b0601b8ea7228dc3405a9342a57548e605 SHA512 2477d88db42b1d92c30708d88823212e236f613b3465e85eb425f83f8d16fadfaf0352f06c2999a1852102edd2f6ffb10ecb539d8a3b6c48f552a25622ccffa2
DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa
@@ -123,5 +124,5 @@ DIST windows_x86_64_gnullvm-0.42.1.crate 362788 BLAKE2B fff81e63b86ad04ce22ad3e0
DIST windows_x86_64_msvc-0.42.1.crate 664606 BLAKE2B 6c460cfa392aad0d11add200d652a42ee1a60052570527c4e85405f765255375729d4e26287f5246dcad65fa89ccadea23c5135171b311e6da5027e33149c547 SHA512 a651b1a34f101125f929c1d1f5e933691c7a5c19d0bb0c501fb6812236d2771805428e3bd5e05be7d72715595f5fc9e7978dd7934e5d92e9b78a41c2ece695b2
DIST wu-diff-0.1.2.crate 33439 BLAKE2B 78b90ed8a42b3a7a1697f92227edb9f0cb8e74583edf8079b8f85110f6fc049eb68370e93ead3940ae222d108c2f18b7f301e9285968e046d362669a79bbb3ca SHA512 6d93c8854dba66f48f736db3f9e997d11d07a0fef3e13219716e553c0f5936f1d00468b88d9164329cfd195271aa242ec7dfd58560074f1a41e8558719ba5af0
DIST yansi-0.5.1.crate 16525 BLAKE2B 3b5a93b98293daae72f53bf3f13bfc05feba8d5b27921f79595f7448fbcb9a0dfa6cd70f467c5735b914c46b7d3592e6cce080c540a458a904308525eb3aa839 SHA512 7b33005a066cc612408a65df6533e8718d1de43efc0fd57416a19dc2b811497570e6e18f100fb26073565e395e711518c27de7d644ae64777713f1a102eb16d2
-EBUILD difftastic-0.51.1.ebuild 3824 BLAKE2B 48ec8daa0bd9012ddbb222e82970705235f083fb414d7165bad640d5f008244bb4b6828c0e5b7ba201bfba11403b519d7e9edd2703f068b3609383dc1a18db25 SHA512 33e39a9372a432b5dcc2ce3937c7cf31fe3585645d4e0b0ae370d33f898c0394dd07f8578f70458e1ce3c3842fb3920480f0011e7bf28dc8ee144054fdc82c00
+EBUILD difftastic-0.52.0.ebuild 3875 BLAKE2B 110f0a9b9bbe6aa9aae8036ddc3e363f3f464268af9c3e6f442aa27a3ad1458242995cbc9262f8564d459d9a0f6269d4669c0ea36f94d9b72685e5eca10e97fc SHA512 fb0c9e1f9fb99a46800fda7c5f621a1a05ba2cf152a6a3159a3f8167ad8e6dd1bdc15a4303c5671693d5b02626cecfe17bca745f8d9e17cf498d9bc8232fc63c
MISC metadata.xml 333 BLAKE2B 3ba43124273c8969651c7ff68c86718cf0484850e98b2e5de2b4aaacea67e95609b286c6156dc74cb1fa1201e198f0cb685b9cb1f80a6c81cfb8b712dec96a05 SHA512 0726b7ca030ff47d0a304f30f97671e7274905c9c5187edd61eba9224207430ad1cd98d76ecb4120f8b9d722e628834f7bc3d0a3734ef22f0df48fcb44c6c2b3
diff --git a/dev-util/difftastic/difftastic-0.51.1.ebuild b/dev-util/difftastic/difftastic-0.52.0.ebuild
index 17ac49904b45..11c31a87ff3b 100644
--- a/dev-util/difftastic/difftastic-0.51.1.ebuild
+++ b/dev-util/difftastic/difftastic-0.52.0.ebuild
@@ -52,6 +52,7 @@ CRATES="
libc@0.2.139
libm@0.2.7
libmimalloc-sys@0.1.24
+ line-numbers@0.2.2
lock_api@0.4.9
log@0.4.17
memchr@2.5.0
@@ -144,7 +145,12 @@ SRC_URI="
https://github.com/Wilfred/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz
"
-LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unlicense ZLIB"
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 MIT ZLIB"
+# owo-colors
+LICENSE+=" MIT"
+
SLOT="0"
KEYWORDS="~amd64 ~arm64"
diff --git a/dev-util/intel-graphics-compiler/Manifest b/dev-util/intel-graphics-compiler/Manifest
index 10c5182a46c5..28b371df0d05 100644
--- a/dev-util/intel-graphics-compiler/Manifest
+++ b/dev-util/intel-graphics-compiler/Manifest
@@ -4,6 +4,8 @@ AUX intel-graphics-compiler-1.0.8365-disable-git.patch 1140 BLAKE2B f870def1128c
AUX intel-graphics-compiler-1.0.9-no_Werror.patch 272 BLAKE2B 079fe334413dfddb7681940f2a8920a365e8e72526cfc09ea1c7d218e8b19468f80ea9a215be125b441ee5238d7856b8dec02ebfc4bfd76b1850aa9917da35ef SHA512 d3d27943e84e228b480172b4fe91ba9aed8bb1c98700eb8c8beebafb7f1cc6265279031f56181e67eff74f55e1bbc8ee24bdc4d14fc1200c5aff670ef019410d
DIST intel-graphics-compiler-1.0.14062.11.tar.gz 8415633 BLAKE2B 1dd65e37a6d2aa7539aa9d5700921ad9c75c3a5cb6a66870adbe9fac888eb16cc772574666f05ce02d165f8954c7b4ebbfbc2ed2008fdd86c5bbb472b95959ae SHA512 0fd2790997268b102ded0af47d4133cf251791c7ecd15758b378a0cdf6d6640d78cc68b2de0b003710a36da4d4750c7fa90eb2ac5aa1702164e46109fafd980d
DIST intel-graphics-compiler-1.0.15136.4.tar.gz 8942086 BLAKE2B 5008b9d255cd9923de73ef07929215b3e2c14d46c37ee0730d0c25ec1f109bd59fa1178cd7e085cf9b7009cf820cdf29a2a880b9f1c1528f494c300d21535732 SHA512 22c676bec940c91bae0a5cd36f904febbab2e4e60dc8379f2068adb9b1cd2de8d37aa1c66dec2616f1a761e862b58676aa484cdcdf7bdd002222bdc337571bc8
+DIST intel-graphics-compiler-1.0.15368.3.tar.gz 8991895 BLAKE2B 93da50357052d4711c2bb2b49335aa5f3c27162ab478c8482ba491bda1d2fa4562abd612d052799f71942483256eeb94684db7b248ed6f3ae16c3f898cfa5981 SHA512 43415186f6be8c7821d7b0d5803070e6e707bcf1be64aca2d6f4d8f575e0d8ef0b1ea1b999f9b5ef32ace625feb889c6c875b4d8c66c7de3680ea91b9ae0da6a
EBUILD intel-graphics-compiler-1.0.14062.11.ebuild 2655 BLAKE2B 4c078439167bfbd637aa2ae058e3fbe0b7a274217a2f8af9778e0e75bbb727a4f15427aaf849446a50ef30bba4e82e587072e97e2c9369588f6ec91b4dfc3d3e SHA512 0d0f40c58e1751e0e15c2337c3b7f71f6c40afca1e31b93a1fbb13efd8c14666d80ae46a2fc9007cb02b7cdaed085a37e6ebbbab9daa71ef12d643927a8845f9
EBUILD intel-graphics-compiler-1.0.15136.4-r1.ebuild 2873 BLAKE2B 2fdf3c16fd2bec862082af3b3598315b89bae5697a18d6a5ab03037195b6075a5fbb855d144a040d763b2db03796e994e7733ffaadf1861925bd86e9917325e6 SHA512 3f15da6663232530655d7c5c3b9712f2d578d7139c0a9dad67a2a94ec07462c919289af451f057994e99fc6b7292038cc054b9dd3720cd143da96d9243b26f08
+EBUILD intel-graphics-compiler-1.0.15368.3.ebuild 2873 BLAKE2B 2fdf3c16fd2bec862082af3b3598315b89bae5697a18d6a5ab03037195b6075a5fbb855d144a040d763b2db03796e994e7733ffaadf1861925bd86e9917325e6 SHA512 3f15da6663232530655d7c5c3b9712f2d578d7139c0a9dad67a2a94ec07462c919289af451f057994e99fc6b7292038cc054b9dd3720cd143da96d9243b26f08
MISC metadata.xml 682 BLAKE2B c5e74bbb1a5aca5eed7cb75a19820dc9d78d7ef7a15687924d16863a82a535403ca67103ac458d4b86f380244e726a3bd20fb496f8048f999abdf89950a7092c SHA512 d5a35d2104e9aa5caaf903a9f61ca8a8c4f8b5bff3e993c9964dd63196e64b88e3e7bde2e0cff9dcee9c66bdda0cabb43c5ac8c121796626bb0e7f4013929fb3
diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.15368.3.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.15368.3.ebuild
new file mode 100644
index 000000000000..96c33faba372
--- /dev/null
+++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.15368.3.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+LLVM_MAX_SLOT="15"
+MY_PN="igc"
+MY_P="${MY_PN}-${PV}"
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit cmake flag-o-matic llvm 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:${LLVM_MAX_SLOT}=
+ dev-util/spirv-tools
+ sys-devel/lld:${LLVM_MAX_SLOT}=
+ sys-devel/llvm:${LLVM_MAX_SLOT}=
+ vc? (
+ >=dev-libs/intel-vc-intrinsics-0.12.1-r1
+ dev-util/spirv-llvm-translator:${LLVM_MAX_SLOT}=
+ )
+"
+
+RDEPEND="${DEPEND}"
+
+BDEPEND="
+ $(python_gen_any_dep 'dev-python/mako[${PYTHON_USEDEP}]')
+ =sys-devel/lld-${LLVM_MAX_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"
+ "${FILESDIR}/${PN}-1.0.14062.11-vc.patch"
+)
+
+pkg_setup() {
+ llvm_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_MAX_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_MAX_SLOT}"
+ -DCMAKE_LIBRARY_PATH="$(get_llvm_prefix ${LLVM_MAX_SLOT})/$(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_MAX_SLOT}/include/LLVMSPIRVLib"
+ -Wno-dev
+ )
+
+ cmake_src_configure
+}