The package rpms/vulkan-validation-layers.git has added or updated architecture specific
content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/vulkan-validation-layers.git/comm....
Change:
+%ifarch %{ix86}
Thanks.
Full change:
============
commit 7d9c82e465679b91b8e686053ebe5d35af42fdeb
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Tue Jun 26 20:07:45 2018 +0100
Workaround i686 build issue
diff --git a/vulkan-validation-layers.spec b/vulkan-validation-layers.spec
index 545f6cb..5683164 100644
--- a/vulkan-validation-layers.spec
+++ b/vulkan-validation-layers.spec
@@ -1,18 +1,12 @@
Name: vulkan-validation-layers
Version: 1.1.77.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Vulkan validation layers
License: ASL 2.0
URL:
https://github.com/KhronosGroup/Vulkan-ValidationLayers
Source0:
%url/archive/sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-%{version}.tar.gz
-%if 0%{?fedora} >= 29
-# Exclude i686 due to 'virtual memory exhausted' FTBFS
-# Someone who cares about 32bit can fix it or submit a patch
-ExcludeArch: i686
-%endif
-
BuildRequires: cmake3
BuildRequires: glslang-devel
BuildRequires: ninja-build
@@ -35,6 +29,12 @@ Vulkan validation layers
%build
+# Decrease debuginfo even on ix86 because of:
+%ifarch %{ix86}
+# Decrease debuginfo verbosity to reduce memory consumption even more
+%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+%endif
+
%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release -DGLSLANG_INSTALL_DIR=%{_bindir} .
# Use two threads as build uses mega amounts of RAM
# It still requires at least 16Gb to compile with 2 threads
@@ -56,6 +56,9 @@ ninja -v -j2
%changelog
+* Tue Jun 26 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 1.1.77.0-3
+- Workaround i686 build issue
+
* Tue Jun 26 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 1.1.77.0-2
- Exclude i686 due to 'virtual memory exhausted' FTBFS