From patchwork Sat Jun 18 23:01:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tomasz Jeneralczyk X-Patchwork-Id: 40144 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 64FFC27BBEA; Sun, 19 Jun 2022 00:46:44 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0CAC527BBE9 for ; Sun, 19 Jun 2022 00:46:44 +0100 (BST) Received: from localhost ([::1]:59890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2i9K-0002cN-V3 for patchwork@mira.cbaines.net; Sat, 18 Jun 2022 19:46:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2i8i-0002bx-68 for guix-patches@gnu.org; Sat, 18 Jun 2022 19:46:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56457) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2i8g-0003xB-L6 for guix-patches@gnu.org; Sat, 18 Jun 2022 19:46:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2i8f-0007ZT-I8 for guix-patches@gnu.org; Sat, 18 Jun 2022 19:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56041] [PATCH v2] gnu: Add vkmark. References: In-Reply-To: Resent-From: Tomasz Jeneralczyk Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Jun 2022 23:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56041 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56041@debbugs.gnu.org Received: via spool by 56041-submit@debbugs.gnu.org id=B56041.165559592629058 (code B ref 56041); Sat, 18 Jun 2022 23:46:01 +0000 Received: (at 56041) by debbugs.gnu.org; 18 Jun 2022 23:45:26 +0000 Received: from localhost ([127.0.0.1]:50354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2i84-0007Ya-U7 for submit@debbugs.gnu.org; Sat, 18 Jun 2022 19:45:26 -0400 Received: from outgoing1.lunanode.net ([172.81.176.235]:40551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2hR9-0006Y8-GO for 56041@debbugs.gnu.org; Sat, 18 Jun 2022 19:01:06 -0400 Received: from mail1.lunanode.net (mail1.lunanode.net [170.75.162.243]) by outgoing1.lunanode.net (Postfix) with ESMTPS id 766BB4009E for <56041@debbugs.gnu.org>; Sat, 18 Jun 2022 23:01:02 +0000 (UTC) MIME-Version: 1.0 Date: Sat, 18 Jun 2022 23:01:01 +0000 From: Tomasz Jeneralczyk User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: tj@schwi.pl X-Mailman-Approved-At: Sat, 18 Jun 2022 19:45:24 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/benchmark.scm (vkmark): Add variable. --- gnu/packages/benchmark.scm | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) ;;; @@ -36,15 +37,20 @@ (define-module (gnu packages benchmark) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system python) + #:use-module (guix build-system meson) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages c) #:use-module (gnu packages check) + #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages databases) #:use-module (gnu packages docbook) + #:use-module (gnu packages freedesktop) + #:use-module (gnu packages gl) + #:use-module (gnu packages graphics) #:use-module (gnu packages linux) #:use-module (gnu packages lua) #:use-module (gnu packages maths) @@ -57,6 +63,8 @@ (define-module (gnu packages benchmark) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) + #:use-module (gnu packages vulkan) + #:use-module (gnu packages xorg) #:use-module (gnu packages xml) #:use-module (ice-9 match)) @@ -584,3 +592,42 @@ (define-public sysbench @item @end itemize") (license license:gpl2+))) + +(define-public vkmark + ;; The latest "release" of vkmark is tagged "2017.08" and it's so old + ;; I couldn't even compile it. The current master branch's head + ;; seems to be working just fine. + (let ((commit "d872846e2e7c47010c11227eb713d00ccfdd35c6") + (revision "1") + (latest-release "2017.08")) + (package + (name "vkmark") + (version (git-version latest-release revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vkmark/vkmark") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0zlryz8i8jvl160bv30ig5nd9h4ahpjfw53ys839i41xi80jjg5d")))) + (build-system meson-build-system) + (native-inputs (list pkg-config)) + ;; The kms back-end, as it is, seems to have bitrot + ;; and would need maintenance to work with current Mesa: + ;; https://gitlab.freedesktop.org/mesa/mesa/-/commit/5e6db1916806 + (inputs (list vulkan-loader + vulkan-headers + glm + assimp + libxcb + xcb-util-wm + wayland-protocols + wayland)) + (synopsis "Benchmark for Vulkan") + (description + "vkmark is an extensible Vulkan benchmarking suite with targeted, configurable +scenes.") + (home-page "https://github.com/vkmark/vkmark") + (license license:lgpl2.1)))) base-commit: 319b8331b2357e12ec9edb9665513c32bef56622 -- 2.36.1 diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm index b167c6de6e..79e1645eba 100644 --- a/gnu/packages/benchmark.scm +++ b/gnu/packages/benchmark.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer ;;; Copyright © 2020 Greg Hogan ;;; Copyright © 2021 Arun Isaac +;;; Copyright © 2022 Tomasz Jeneralczyk ;;; ;;; This file is part of GNU Guix.