From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1659774-garchives=archives.gentoo.org@lists.gentoo.org>
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 31B13159C9B
	for <garchives@archives.gentoo.org>; Thu,  8 Aug 2024 14:16:30 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7C017E2AE1;
	Thu,  8 Aug 2024 14:16:29 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 65ACDE2AE1
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Aug 2024 14:16:29 +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 A6AC7335C7E
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Aug 2024 14:16:28 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 477B11B9A
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Aug 2024 14:16:27 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1723126549.45738f7b8b16b9b714dbc553f99c1661459b5f7b.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/vulkan-headers/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/vulkan-headers/vulkan-headers-1.3.290.0-r1.ebuild dev-util/vulkan-headers/vulkan-headers-1.3.290.0.ebuild dev-util/vulkan-headers/vulkan-headers-9999.ebuild
X-VCS-Directories: dev-util/vulkan-headers/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 45738f7b8b16b9b714dbc553f99c1661459b5f7b
X-VCS-Branch: master
Date: Thu,  8 Aug 2024 14:16:27 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 9c509f8d-ca59-4766-bc34-a890709ab6e0
X-Archives-Hash: b4725f20677d5381f140f407a950abc2

commit:     45738f7b8b16b9b714dbc553f99c1661459b5f7b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  8 14:14:52 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug  8 14:15:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45738f7b

dev-util/vulkan-headers: disable modules

C++ modules are in no way production ready at all. Unfortunately, upstream
enabled them by default, so let's undo that.

Noticed because I hit a -fcompare-debug failure and then not one but
two ICEs when poking at that.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...eaders-1.3.290.0.ebuild => vulkan-headers-1.3.290.0-r1.ebuild} | 8 ++++++++
 dev-util/vulkan-headers/vulkan-headers-9999.ebuild                | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/dev-util/vulkan-headers/vulkan-headers-1.3.290.0.ebuild b/dev-util/vulkan-headers/vulkan-headers-1.3.290.0-r1.ebuild
similarity index 85%
rename from dev-util/vulkan-headers/vulkan-headers-1.3.290.0.ebuild
rename to dev-util/vulkan-headers/vulkan-headers-1.3.290.0-r1.ebuild
index df7a3c745a49..43831b775de1 100644
--- a/dev-util/vulkan-headers/vulkan-headers-1.3.290.0.ebuild
+++ b/dev-util/vulkan-headers/vulkan-headers-1.3.290.0-r1.ebuild
@@ -20,3 +20,11 @@ HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Headers"
 
 LICENSE="Apache-2.0"
 SLOT="0"
+
+src_configure() {
+	local mycmakeargs=(
+		-DVULKAN_HEADERS_ENABLE_MODULE=OFF
+	)
+
+	cmake_src_configure
+}

diff --git a/dev-util/vulkan-headers/vulkan-headers-9999.ebuild b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild
index df7a3c745a49..43831b775de1 100644
--- a/dev-util/vulkan-headers/vulkan-headers-9999.ebuild
+++ b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild
@@ -20,3 +20,11 @@ HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Headers"
 
 LICENSE="Apache-2.0"
 SLOT="0"
+
+src_configure() {
+	local mycmakeargs=(
+		-DVULKAN_HEADERS_ENABLE_MODULE=OFF
+	)
+
+	cmake_src_configure
+}