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
+}

Reply via email to