From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9C56E158083 for ; Mon, 9 Sep 2024 16:07:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83336E29F2; Mon, 9 Sep 2024 16:07:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62383E29F2 for ; Mon, 9 Sep 2024 16:07:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5C7C1340943 for ; Mon, 9 Sep 2024 16:07:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E5BEF14D0 for ; Mon, 9 Sep 2024 16:07:41 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1725898056.05fe329f382bc90d5ce1271f174643d4a5b39b7b.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/spirv-llvm-translator/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.4.ebuild X-VCS-Directories: dev-util/spirv-llvm-translator/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 05fe329f382bc90d5ce1271f174643d4a5b39b7b X-VCS-Branch: master Date: Mon, 9 Sep 2024 16:07:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 57db429f-45cc-42b3-be92-051cc1620a3b X-Archives-Hash: b100c68bf770a1e5af2978681a960917 commit: 05fe329f382bc90d5ce1271f174643d4a5b39b7b Author: Sasha Finkelstein gmail com> AuthorDate: Sat Sep 7 11:58:22 2024 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Sep 9 16:07:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05fe329f dev-util/spirv-llvm-translator: Add multilib support Signed-off-by: Sasha Finkelstein gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38497 Signed-off-by: Matt Turner gentoo.org> .../spirv-llvm-translator/spirv-llvm-translator-18.1.4.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.4.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.4.ebuild index d14939439935..b397ef0e39b5 100644 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.4.ebuild +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.4.ebuild @@ -7,7 +7,7 @@ LLVM_COMPAT=( 18 ) MY_PN="SPIRV-LLVM-Translator" MY_P="${MY_PN}-${PV}" -inherit cmake flag-o-matic llvm-r1 multiprocessing +inherit cmake-multilib flag-o-matic llvm-r1 multiprocessing DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR" HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator" @@ -21,8 +21,8 @@ IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" - dev-util/spirv-tools - sys-devel/llvm:${SLOT}= + dev-util/spirv-tools[${MULTILIB_USEDEP}] + sys-devel/llvm:${SLOT}=[${MULTILIB_USEDEP}] " DEPEND="${RDEPEND} >=dev-util/spirv-headers-1.3.280 @@ -46,7 +46,7 @@ src_prepare() { sed -i -e 's/%triple/x86_64-unknown-linux-gnu/' test/DebugInfo/X86/*.ll || die } -src_configure() { +multilib_src_configure() { local mycmakeargs=( -DCCACHE_ALLOWED="OFF" -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)" @@ -58,6 +58,6 @@ src_configure() { cmake_src_configure } -src_test() { +multilib_src_test() { lit -vv "-j${LIT_JOBS:-$(makeopts_jobs)}" "${BUILD_DIR}/test" || die }