Accepting request 1003111 from benchmark
OBS-URL: https://build.opensuse.org/request/show/1003111 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vkmark?expand=0&rev=10
This commit is contained in:
commit
ae6c2d8783
66
vkmark-fix-missing-include.patch
Normal file
66
vkmark-fix-missing-include.patch
Normal file
@ -0,0 +1,66 @@
|
||||
diff -Nuar a/src/scenes/clear_scene.h b/src/scenes/clear_scene.h
|
||||
--- a/src/scenes/clear_scene.h 2022-05-16 06:07:03.000000000 -0500
|
||||
+++ b/src/scenes/clear_scene.h 2022-09-08 19:58:27.886194974 -0500
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "managed_resource.h"
|
||||
|
||||
#include <vulkan/vulkan.hpp>
|
||||
+#include <memory>
|
||||
|
||||
class ClearScene : public Scene
|
||||
{
|
||||
diff -Nuar a/src/scenes/cube_scene.h b/src/scenes/cube_scene.h
|
||||
--- a/src/scenes/cube_scene.h 2022-05-16 06:07:03.000000000 -0500
|
||||
+++ b/src/scenes/cube_scene.h 2022-09-08 21:28:27.850891178 -0500
|
||||
@@ -28,6 +28,7 @@
|
||||
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
|
||||
#include <glm/glm.hpp>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
+#include <memory>
|
||||
|
||||
class Mesh;
|
||||
|
||||
diff -Nuar a/src/scenes/shading_scene.h b/src/scenes/shading_scene.h
|
||||
--- a/src/scenes/shading_scene.h 2022-05-16 06:07:03.000000000 -0500
|
||||
+++ b/src/scenes/shading_scene.h 2022-09-08 21:25:04.926605452 -0500
|
||||
@@ -28,6 +28,7 @@
|
||||
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
|
||||
#include <glm/glm.hpp>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
+#include <memory>
|
||||
|
||||
class Mesh;
|
||||
|
||||
diff -Nuar a/src/scenes/texture_scene.h b/src/scenes/texture_scene.h
|
||||
--- a/src/scenes/texture_scene.h 2022-05-16 06:07:03.000000000 -0500
|
||||
+++ b/src/scenes/texture_scene.h 2022-09-08 21:27:43.270815188 -0500
|
||||
@@ -29,6 +29,7 @@
|
||||
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
|
||||
#include <glm/glm.hpp>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
+#include <memory>
|
||||
|
||||
class Mesh;
|
||||
|
||||
diff -Nuar a/src/scenes/vertex_scene.h b/src/scenes/vertex_scene.h
|
||||
--- a/src/scenes/vertex_scene.h 2022-05-16 06:07:03.000000000 -0500
|
||||
+++ b/src/scenes/vertex_scene.h 2022-09-08 21:26:03.666702531 -0500
|
||||
@@ -28,6 +28,7 @@
|
||||
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
|
||||
#include <glm/glm.hpp>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
+#include <memory>
|
||||
|
||||
class Mesh;
|
||||
|
||||
diff -Nuar a/src/ws/swapchain_window_system.h b/src/ws/swapchain_window_system.h
|
||||
--- a/src/ws/swapchain_window_system.h 2022-05-16 06:07:03.000000000 -0500
|
||||
+++ b/src/ws/swapchain_window_system.h 2022-09-08 21:22:49.954381004 -0500
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "managed_resource.h"
|
||||
|
||||
#include <vulkan/vulkan.hpp>
|
||||
+#include <memory>
|
||||
|
||||
class NativeSystem;
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 9 02:29:34 UTC 2022 - malcolmlewis@opensuse.org
|
||||
|
||||
- Add vkmark-fix-missing-include.patch: Add missing memory include
|
||||
to fix building.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 28 16:32:42 UTC 2022 - malcolmlewis@opensuse.org
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# spec file for package vkmark
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2018-2019 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
||||
# Copyright (c) 2018-2022 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -24,6 +24,8 @@ Summary: Vulkan benchmark utility
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://github.com/vkmark/vkmark
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
#PATCH-FIX-OPENSUSE vkmark-fix-missing-include.patch malcolmlewis@opensuse.org -- Add missing memory include to fix building
|
||||
Patch0: vkmark-fix-missing-include.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: glm-devel
|
||||
BuildRequires: meson >= 0.45
|
||||
@ -44,7 +46,7 @@ BuildRequires: Mesa-libVulkan-devel
|
||||
An extensible Vulkan benchmarking suite with targeted, configurable scenes.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%meson
|
||||
|
Loading…
x
Reference in New Issue
Block a user