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 52ECA15810D for ; Tue, 23 May 2023 02:59:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B750E0973; Tue, 23 May 2023 02:58:59 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28AB2E0973 for ; Tue, 23 May 2023 02:58:59 +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 370F4340961 for ; Tue, 23 May 2023 02:58:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF454A77 for ; Tue, 23 May 2023 02:58:56 +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: <1684810715.783f653d7c418e6fac748ebda5aef2ceb33ac66d.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-15.0.0-r1.ebuild dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild X-VCS-Directories: dev-util/spirv-llvm-translator/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 783f653d7c418e6fac748ebda5aef2ceb33ac66d X-VCS-Branch: master Date: Tue, 23 May 2023 02:58:56 +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: 154be2aa-736f-4789-b8ec-4efa0e56a1b4 X-Archives-Hash: bfc0e48e6a8226698d40f559e62b07c3 commit: 783f653d7c418e6fac748ebda5aef2ceb33ac66d Author: Matt Turner gentoo org> AuthorDate: Mon May 22 20:46:25 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Tue May 23 02:58:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783f653d dev-util/spirv-llvm-translator: Remove IUSE=tools It has not worked since upstream commit ae904012 ("[CMake] Enable LLVM_BUILD_TOOLS for out-of-tree builds") in v15.0.0. With that commit reverted, USE=-tools saves building one 120 KiB executable (llvm-spirv) which is a single source file. Also unconditionally depend on dev-util/spirv-tools as it is an automagic dependency of llvm-spirv which will always be installed for consumers of dev-util/spirv-llvm-translator. Signed-off-by: Matt Turner gentoo.org> .../spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild | 5 ++--- .../spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild index cdd464fdb974..44eef063ff8c 100644 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild @@ -17,11 +17,11 @@ S="${WORKDIR}/${MY_P}" LICENSE="UoI-NCSA" SLOT="$(ver_cut 1)" KEYWORDS="amd64 ~riscv ~x86" -IUSE="test +tools" -REQUIRED_USE="test? ( tools )" +IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" + dev-util/spirv-tools sys-devel/llvm:${SLOT} " DEPEND="${RDEPEND} @@ -45,7 +45,6 @@ src_configure() { -DCCACHE_ALLOWED="OFF" -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})" -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv" - -DLLVM_BUILD_TOOLS=$(usex tools "ON" "OFF") -DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF") -Wno-dev ) diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild index 7cf49ee565d2..1660126d9c5f 100644 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild @@ -17,11 +17,11 @@ S="${WORKDIR}/${MY_P}" LICENSE="UoI-NCSA" SLOT="$(ver_cut 1)" KEYWORDS="~amd64 ~x86" -IUSE="test +tools" -REQUIRED_USE="test? ( tools )" +IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" + dev-util/spirv-tools sys-devel/llvm:${SLOT} " DEPEND="${RDEPEND} @@ -50,7 +50,6 @@ src_configure() { -DCCACHE_ALLOWED="OFF" -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})" -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv" - -DLLVM_BUILD_TOOLS=$(usex tools "ON" "OFF") -DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF") -Wno-dev )