diff options
Diffstat (limited to 'dev-util')
12 files changed, 131 insertions, 137 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex 2f5ff81de011..66b37397a7ca 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/intel-graphics-compiler/Manifest b/dev-util/intel-graphics-compiler/Manifest index ff14f11f7f2b..00cd00acef54 100644 --- a/dev-util/intel-graphics-compiler/Manifest +++ b/dev-util/intel-graphics-compiler/Manifest @@ -1,10 +1,6 @@ -AUX intel-graphics-compiler-1.0.11485-include-opencl-c.patch 507 BLAKE2B 1a777971e4db95a7ac719944f8533d7cb045e2092c452af35c2d5fd7e696ec848ed4777e9653f77627e4ca0fe36f4beffc9a39e3c7a13bda7973af6722238857 SHA512 8aaef1aaf0a6cedcd66e55ee8df0d89d40f3827b28243cc434dbbcadb568d8c1317a0968b57ad0b2a88de4479023a00b1b3b9a65fd34105cebe56fdeb3c30f1b -AUX intel-graphics-compiler-1.0.13230.7-spirv-tools.patch 1124 BLAKE2B 41dde36f81227f4d8306ad069492969350de001af6aef17002accbd41a1d7da4a976ee9edff74162b1daeeb5b4a55567ebc32d2de24d7430261512dfd3c99449 SHA512 84db5643791883dca792e6df77d42670055364c571531041f2d3224d4f957aa51215735cc6b996a5ac4d684864ca59c54e65039026eec3d3e06f668f2f1def7c 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.13230.7.tar.gz 8813719 BLAKE2B 5cc6ef816b030d786dfcf6296b39f6c2bfcc9db4c4a12db84456a508bd7d8998d4dfc9e6993e05167a3f797287176dda31e5fd43bbc3284fa26d4c8ca89f6164 SHA512 774f62ff8f5b7bd95fd766c88bc62ff66498c23d020dbfdfd18734e532e7d701652325cb7aca00f7ab3cfdd051d37e56939d7978db127e9044cd5b6c077979ac DIST intel-graphics-compiler-1.0.13463.1.tar.gz 8283903 BLAKE2B abe9f2a8cc0c648d985890d65782db2df61966d25b740ee735b0198cee701e79fcd33267b8284002f049cc2582db13c3b33481131570c0d69435a3dc4ada64d4 SHA512 3edafc7cadb946b62b5afa44bf81663c83ad6eab15c2825b60cfb5120da94d66898d3f073af13a747cdf2db586085de14ee75fcdda0e16a1ca7197d5645fe1a9 -EBUILD intel-graphics-compiler-1.0.13230.7-r1.ebuild 2610 BLAKE2B 7bbd0eb41315bb110f7aeb5a3925834a7ef251673e2b8799acd7980a2a87ef7c2231f7f4455f84c285fb17f2b116f217c6800d85a1e840827f260e3da9742107 SHA512 985370f8d34918eb6c1fde9378385375193cf77898c1d1227c1a951111379b373118a6685c5d708ea95879c9d66fc7a2ca19963c35f3dbf59639415ae304409b -EBUILD intel-graphics-compiler-1.0.13463.1.ebuild 2519 BLAKE2B c323208d37fe7d77b5562ba9e449db3c1a5104a471c6dc02905e9cd9c5acc3293da9fc9b81175518216265be68a29ed82b178039161e946d3d805c2136b172b8 SHA512 97a7851ff771d94424a26ef91a0ca87ae34be731a10c91db39b9d5d6f9aa569ca045d0e9255bc7cc14286e0dd1df462c90ac362eec2041beb735b5572360ec43 +EBUILD intel-graphics-compiler-1.0.13463.1.ebuild 2518 BLAKE2B 832fbeddffb0b3f9610772b6d79f37479b8d6a927a32241d42c6a27f5054f32d2668f2cfac90a3833efc7e84807e350f2b70af682e11cb55d9bda1abf9ef86b5 SHA512 f605a5cb37772bebf8d40519608066a48bae3eb3a920be953f5fc721ff1c5f62f3e6d95090db55e9df4a65e272ee566ce150755ae38ffeed8c448167dffc82d4 MISC metadata.xml 682 BLAKE2B c5e74bbb1a5aca5eed7cb75a19820dc9d78d7ef7a15687924d16863a82a535403ca67103ac458d4b86f380244e726a3bd20fb496f8048f999abdf89950a7092c SHA512 d5a35d2104e9aa5caaf903a9f61ca8a8c4f8b5bff3e993c9964dd63196e64b88e3e7bde2e0cff9dcee9c66bdda0cabb43c5ac8c121796626bb0e7f4013929fb3 diff --git a/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.11485-include-opencl-c.patch b/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.11485-include-opencl-c.patch deleted file mode 100644 index dbf4188ad0bc..000000000000 --- a/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.11485-include-opencl-c.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/IGC/cmake/igc_find_opencl_clang.cmake -+++ b/IGC/cmake/igc_find_opencl_clang.cmake -@@ -104,7 +104,7 @@ - - # Get parent dir of the location of CLANG_EXE - get_filename_component(CLANG_EXE_PARENT_DIR ${CLANG_EXE} DIRECTORY) -- file(GLOB_RECURSE opencl-header ${CLANG_EXE_PARENT_DIR}/../*opencl-c.h) -+ file(GLOB_RECURSE opencl-header ${CCLANG_INCLUDE_PREBUILDS_DIR}/*opencl-c.h) - if(opencl-header) - message(STATUS "[IGC] Found opencl-c.h: ${opencl-header}") - else(opencl-header) diff --git a/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.13230.7-spirv-tools.patch b/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.13230.7-spirv-tools.patch deleted file mode 100644 index d33f9eb2021f..000000000000 --- a/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.13230.7-spirv-tools.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 8068732355d18464a9fcb6846c225929349b450c Mon Sep 17 00:00:00 2001 -From: Jakub Czarnecki <jakub.czarnecki@intel.com> -Date: Thu, 26 Jan 2023 11:35:03 +0000 -Subject: [PATCH] Preinstalled SPIRV-Tools CMakeFile - target fix - -Added checking if SPIRV-Tools isn't already set as target before adding -it as a custom target to avoid errors. ---- - external/SPIRV-Tools/CMakeLists.txt | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/external/SPIRV-Tools/CMakeLists.txt b/external/SPIRV-Tools/CMakeLists.txt -index 9afa5746c4d..3b768c1b772 100644 ---- a/external/SPIRV-Tools/CMakeLists.txt -+++ b/external/SPIRV-Tools/CMakeLists.txt -@@ -33,7 +33,9 @@ if(IGC_OPTION__SPIRV_TOOLS_MODE STREQUAL PREBUILDS_MODE_NAME) - set(IGC_BUILD__SPIRV-Tools_DIR "${SPIRV-Tools_ROOT_DIR}") - - set(INCLUDE_DIRS_LIST "${SPIRV-Tools_ROOT_DIR}/include" "${SPIRV-Headers_INCLUDE_DIR}") -- add_custom_target(SPIRV-Tools) -+ if(NOT TARGET SPIRV-Tools) -+ add_custom_target(SPIRV-Tools) -+ endif() - set_target_properties(SPIRV-Tools PROPERTIES INCLUDE_DIRECTORIES "${INCLUDE_DIRS_LIST}") - set(IGC_BUILD__PROJ__SPIRV-Tools SPIRV-Tools) - diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.13230.7-r1.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.13230.7-r1.ebuild deleted file mode 100644 index 2dd387059629..000000000000 --- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.13230.7-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# 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="14" -MY_PN="igc" -MY_P="${MY_PN}-${PV}" -PYTHON_COMPAT=( python3_{9..11} ) - -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.11.0 - dev-util/spirv-llvm-translator:${LLVM_MAX_SLOT}= - ) -" - -RDEPEND="${DEPEND}" - -BDEPEND=" - =sys-devel/lld-${LLVM_MAX_SLOT}* - ${PYTHON_DEPS} -" - -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.11485-include-opencl-c.patch" - "${FILESDIR}/${PN}-1.0.13230.7-spirv-tools.patch" -) - -pkg_setup() { - llvm_pkg_setup - python-any-r1_pkg_setup -} - -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_INCLUDE_PREBUILDS_DIR="/usr/lib/clang/${llvm_version##*-}/include" - -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__SPIRV_TOOLS_MODE="Prebuilds" - -DIGC_OPTION__SPIRV_TRANSLATOR_MODE="Prebuilds" - $(usex vc '-DIGC_OPTION__VC_INTRINSICS_MODE=Prebuilds' '') - -DINSTALL_GENX_IR="ON" - -DSPIRVLLVMTranslator_INCLUDE_DIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAX_SLOT}/include/LLVMSPIRVLib" - -Wno-dev - ) - - cmake_src_configure -} diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.13463.1.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.13463.1.ebuild index 7715b2c3fbdd..ba5b51cad315 100644 --- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.13463.1.ebuild +++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.13463.1.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${PN}-${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="debug vc" DEPEND=" diff --git a/dev-util/seer/Manifest b/dev-util/seer/Manifest index 7ae79555775e..d7b7a131940f 100644 --- a/dev-util/seer/Manifest +++ b/dev-util/seer/Manifest @@ -1,6 +1,8 @@ DIST seer-1.14.tar.gz 400391 BLAKE2B 9134bd62eae35e965601af56e734a29d5f0d12af2c9383e287c0ba41a6285587b24b84b49c588bb497b8b55154ebef74ac78b1ace282d018d40d544ed070e343 SHA512 1657ce26e676cb03e514e69f79e4aef614f489918329b1421d8017284387bb155b750d18b00ff8244ad73104cd0b7e078360a22c692e9ec5cfd4aa258c778dc3 DIST seer-1.15.tar.gz 401292 BLAKE2B d0bfd13947582585e5f99a86e4a03ea58fc3b1a06879dd75136d724f28944d0fca21a71cca3be269dcd2d5a04e6275e967dce18687ecaa87b1d2aaff58ed1643 SHA512 ff3ad9c5bb35f2afe5c07917b276e1653bfecbfac7473dd1bac6d441c47ef0b9ae86775ff663f2f653057a8a848ce48aefcdb7c5b2b7d680e7e53d2398660300 +DIST seer-1.16.tar.gz 408728 BLAKE2B 5e942a89d56cc095a83aa7870a4c177b19057c1633cb4ca1420bb9961f698b3982f6a2ec239980881633f757787de9f33cce595ba323aab58600fa7feccee1de SHA512 2f44eb70553d2105f56589bc609698cef79a522aa0ab7427be0f3bb9ee8d92f8a595494a45b9ed698751672b7dbd969e7306c18c6d283b497ceef6c8034d88df EBUILD seer-1.14.ebuild 951 BLAKE2B 2df58aa9b25dbf222f74637d321f493437448c1abbde0726c3250bfa91a0962901387780b685b13918d38419c2e6182f67a82fb44d356163fb35c4f2833d1cc8 SHA512 4358ccbc58badeff52fc06d2572efc34428843e10c7d2eb0e631c923d2d3dd0bed0d52378c03c4109b730755c3f17d8b861fb8ab2fd7e2bd3be119685ffdcebd EBUILD seer-1.15.ebuild 951 BLAKE2B 2df58aa9b25dbf222f74637d321f493437448c1abbde0726c3250bfa91a0962901387780b685b13918d38419c2e6182f67a82fb44d356163fb35c4f2833d1cc8 SHA512 4358ccbc58badeff52fc06d2572efc34428843e10c7d2eb0e631c923d2d3dd0bed0d52378c03c4109b730755c3f17d8b861fb8ab2fd7e2bd3be119685ffdcebd -EBUILD seer-9999.ebuild 939 BLAKE2B c2e94cfe86db4f938afa2a1262364f71e8299e9a7df6b0b2250713211acee662072b94d2c3b83ec899b9eb26fb4818cca4d93cce6733bce0784c1a3410c5d857 SHA512 6165033e812c43ed711ca73d9fceb650ee8f5561e88221b3374cbb68715a975cf13664d2cdb0032f1a21bebc5830965bde6f8ee1c84e83a693c278841f0b6741 +EBUILD seer-1.16.ebuild 951 BLAKE2B 2df58aa9b25dbf222f74637d321f493437448c1abbde0726c3250bfa91a0962901387780b685b13918d38419c2e6182f67a82fb44d356163fb35c4f2833d1cc8 SHA512 4358ccbc58badeff52fc06d2572efc34428843e10c7d2eb0e631c923d2d3dd0bed0d52378c03c4109b730755c3f17d8b861fb8ab2fd7e2bd3be119685ffdcebd +EBUILD seer-9999.ebuild 951 BLAKE2B 2df58aa9b25dbf222f74637d321f493437448c1abbde0726c3250bfa91a0962901387780b685b13918d38419c2e6182f67a82fb44d356163fb35c4f2833d1cc8 SHA512 4358ccbc58badeff52fc06d2572efc34428843e10c7d2eb0e631c923d2d3dd0bed0d52378c03c4109b730755c3f17d8b861fb8ab2fd7e2bd3be119685ffdcebd MISC metadata.xml 318 BLAKE2B a34dc163a2b5e0fc9db7808eaa083a7b978a5578db14c5f33e870a2b73ec21f056c3b287997e8db4c1951e8d56852df746fccc30cf47ad24fdbae13896329014 SHA512 4c3706be2572cfb702b357753b35deb33199ed701d95b37f005919e374712ee5412a8b9214ea4c3c82e8371457b5571ed9a055b1df963196650a64e8c0d67fbd diff --git a/dev-util/seer/seer-1.16.ebuild b/dev-util/seer/seer-1.16.ebuild new file mode 100644 index 000000000000..207362f81cdd --- /dev/null +++ b/dev-util/seer/seer-1.16.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop xdg + +DESCRIPTION="A GUI frontend to gdb" +HOMEPAGE="https://github.com/epasveer/seer" +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/epasveer/seer" + inherit git-r3 +else + SRC_URI="https://github.com/epasveer/seer/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~ppc64" +fi + +S="${WORKDIR}"/${P}/src + +# Upstream keep 'debian/copyright' up to date +# https://github.com/epasveer/seer/issues/86 +LICENSE="GPL-3+ CC-BY-3.0 CC-BY-4.0" +SLOT="0" + +DEPEND=" + dev-qt/qtcharts:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 +" +RDEPEND=" + ${DEPEND} + sys-devel/gdb +" + +src_install() { + cmake_src_install + + domenu resources/seergdb.desktop + + local size + for size in 32 64 128 256 512 ; do + newicon -s ${size} resources/seergdb_${size}x${size}.png seergdb.png + done +} diff --git a/dev-util/seer/seer-9999.ebuild b/dev-util/seer/seer-9999.ebuild index ecf4ab10dc4a..207362f81cdd 100644 --- a/dev-util/seer/seer-9999.ebuild +++ b/dev-util/seer/seer-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]] ; then else SRC_URI="https://github.com/epasveer/seer/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~ppc64" fi S="${WORKDIR}"/${P}/src diff --git a/dev-util/spirv-llvm-translator/Manifest b/dev-util/spirv-llvm-translator/Manifest index 8da9d203d717..99801459bd05 100644 --- a/dev-util/spirv-llvm-translator/Manifest +++ b/dev-util/spirv-llvm-translator/Manifest @@ -1,7 +1,8 @@ +AUX spirv-llvm-translator-16.0.0-llvm-link-llvm-dylib.patch 1755 BLAKE2B fa0465b04580a68258adc8aa3e73a9d66b75a7c0896e5b646a0e0860400c675a5ea09164d844f72a5a98933095e332c18e480833eb75c76e875f10105ea6dbea SHA512 b5e9a771c1b4b062777f7c7f994224bae54f036c46df0e275d276856d74f778843f6fa1cb77fb714e72b20704d5a22daeb0e83c93fb557d629809eb680f6c3a2 DIST spirv-llvm-translator-14.0.0.tar.gz 1482704 BLAKE2B f88eb8f4cd652c448e465605ec8c34bb80f87f1269c244b33be542ae98ef97ea04a759b9cd9fed0814f4360733d7560d301d2b8d586706d1ca988b4524526aeb SHA512 5659149a380ceef7acdcb274bcad9b23e4817bf88e795e0a8464dfe14fbd102dbf7199cbe67eb611a16d3a411c7a1b8afc6f0eef61fec5a2b8f9fba06748bcb1 DIST spirv-llvm-translator-15.0.0.tar.gz 1515145 BLAKE2B 1f93b55f8934ce7dbc9416b82f7bd544d16e95be795047e914d0c303ec90965eae03ab3522b3c92d6cffb1fe00bed78a4bb74085d3da21c14b68ad3fbe53113c SHA512 8a6ddddf326dad96c1c5749ebf03e63e6be60592dccd307f7a35be668cec2b4f58c2f089854aeefa37398c3a97dad6bf92a6ceb892da27b5cf9d4ae1aa41dd06 DIST spirv-llvm-translator-16.0.0.tar.gz 1542060 BLAKE2B bee72a776062266e60c5237396434ecba4e4da959ed52292ad08388bdd08d7749fd86cfac5c25af424032a1ba19f59b2d8c7eac0eaf50db6a4945841abe0836f SHA512 0bacacb89aa2b03d1173d1bfbcdd83fdce7441ebc3fff65e14dc5e901fc983861365a54c029b2a65075b6fa45046c30aa7bbad4e6150cf3382e7d050c598de98 EBUILD spirv-llvm-translator-14.0.0-r1.ebuild 1203 BLAKE2B 0bf581cbfcda0ae078bbcbb4792a19415b326d3bc14cac4c2e616ff2a16f8d15f3b98d852a6d40df4ce0121ae4a331ee49733c676eff862ef0fea270d1fa3b43 SHA512 db59082eb283cf789cbb9ed9604890bc4079932e45e4f3dcb98fd106dc9757b7f496eac1c2c0aaba7184bef2900efd12ce4c4d3609ce84b3c792c5174d6ae8d5 EBUILD spirv-llvm-translator-15.0.0.ebuild 1208 BLAKE2B e22bc27ddde728d3d8930979cd7f9baa5f25c1161172cc580ae74c79db3df1d82676af450eb67bf34f4d05339135ab763b546a995c45c2c440bb667e95b5690f SHA512 c46d497804d1b7af29921c52d0bbead7cacbbdbc00c049d077bcd7e63b44f553355a09f16050c81634b4bee052774aecde94d19a8088b09d8208a8fac1ad7938 -EBUILD spirv-llvm-translator-16.0.0.ebuild 1209 BLAKE2B 1923235aaf9a0c43e3f6f4d31df9d9f5f8125795a3288ea5dc70a4d2217a1c88343757bb052ba73f7ed1e94140ddf2f0fb7a6626cb961ec484425e5a8ec5b989 SHA512 f21384fc63a01729ec5595d748575999f5a38358764a095d46cc19cb4f8aefc78fccff4ef801f2f8ad4fd43f732b442cd3f70a77b2e5c9d10a89f9a2cfb64ab0 +EBUILD spirv-llvm-translator-16.0.0.ebuild 1276 BLAKE2B 1f3434ce9492ba1e5cb78f42afa588ebcd187f0d1dce9db17ef9ac071752d5a6eaa775adeaa239bd8801bba75a9d2eb39c1ffb0b382fb821d7461cbe30acd377 SHA512 208f742fc6764eb480aaed67ae836e42570e4acbd43928564ab541f86acb03c833d00a702e3b91222ea71c0cb6331ac165f90d1ddc3687832e5e6b304f2ae11a MISC metadata.xml 696 BLAKE2B 8d5fd20aa6ce0ed9c7660ac356f9c2274c8262680faf04aa647890044e8c48703366aa59a6c9b638105a5269ae2bcc7d1ccdb01fbb268b2054d6dce7a9cb875b SHA512 c0ce5f3a5eefced8c2a3fe8988009f4ae2dab5c1a93d5f908d24e2445696799dc937cde7f1ec29237ce44a653d496a74b246ac9d65ab132c33c5334990a6238e diff --git a/dev-util/spirv-llvm-translator/files/spirv-llvm-translator-16.0.0-llvm-link-llvm-dylib.patch b/dev-util/spirv-llvm-translator/files/spirv-llvm-translator-16.0.0-llvm-link-llvm-dylib.patch new file mode 100644 index 000000000000..5cd90086f1e2 --- /dev/null +++ b/dev-util/spirv-llvm-translator/files/spirv-llvm-translator-16.0.0-llvm-link-llvm-dylib.patch @@ -0,0 +1,73 @@ +From 98fadafeae0204defedd89f015f7fb88f2888b2f Mon Sep 17 00:00:00 2001 +From: Tulio Magno Quites Machado Filho <tuliom@redhat.com> +Date: Fri, 17 Mar 2023 14:27:10 -0300 +Subject: [PATCH] Fix standalone builds with LLVM_LINK_LLVM_DYLIB=ON + +Move the LLVM components to LINK_COMPONENTS because the DEPENDS list has +the same semantics as add_dependencies(). In this +case it doesn't include the LLVM components when calling the linker. +--- + lib/SPIRV/CMakeLists.txt | 47 ++++++++++++---------------------------- + 1 file changed, 14 insertions(+), 33 deletions(-) + +diff --git a/lib/SPIRV/CMakeLists.txt b/lib/SPIRV/CMakeLists.txt +index bbef00528..2810c6b2c 100644 +--- a/lib/SPIRV/CMakeLists.txt ++++ b/lib/SPIRV/CMakeLists.txt +@@ -38,42 +38,23 @@ set(SRC_LIST + libSPIRV/SPIRVType.cpp + libSPIRV/SPIRVValue.cpp + ) +-if(LLVM_LINK_LLVM_DYLIB) +- add_llvm_library(LLVMSPIRVLib STATIC DISABLE_LLVM_LINK_LLVM_DYLIB +- ${SRC_LIST} +- DEPENDS +- intrinsics_gen +- LLVMAnalysis +- LLVMBitWriter +- LLVMCodeGen +- LLVMCore +- LLVMDemangle +- LLVMIRReader +- LLVMLinker +- LLVMPasses +- LLVMSupport +- LLVMTargetParser +- LLVMTransformUtils +- ) +-else() +- add_llvm_library(LLVMSPIRVLib +- ${SRC_LIST} +- LINK_COMPONENTS +- Analysis +- BitWriter +- CodeGen +- Core +- Demangle +- IRReader +- Linker +- Passes +- Support +- TargetParser +- TransformUtils ++add_llvm_library(LLVMSPIRVLib ++ ${SRC_LIST} ++ LINK_COMPONENTS ++ Analysis ++ BitWriter ++ CodeGen ++ Core ++ Demangle ++ IRReader ++ Linker ++ Passes ++ Support ++ TargetParser ++ TransformUtils + DEPENDS + intrinsics_gen + ) +-endif() + + target_include_directories(LLVMSPIRVLib + PRIVATE diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0.ebuild index efc42671a704..2ecbe13bf889 100644 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0.ebuild +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0.ebuild @@ -34,6 +34,8 @@ BDEPEND=" test? ( dev-python/lit ) " +PATCHES=( "${FILESDIR}/${PN}-16.0.0-llvm-link-llvm-dylib.patch" ) + src_prepare() { append-flags -fPIC cmake_src_prepare |