From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gHVXKxZRr2Ip4gAAbAwnHQ (envelope-from ) for ; Sun, 19 Jun 2022 18:38:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +HlTKxZRr2Jl7wAA9RJhRA (envelope-from ) for ; Sun, 19 Jun 2022 18:38:46 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3569C16BA3 for ; Sun, 19 Jun 2022 18:38:46 +0200 (CEST) Received: from localhost ([::1]:33298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2xwi-0007kw-UY for larch@yhetil.org; Sun, 19 Jun 2022 12:38:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2xw7-0007fo-P8 for guix-patches@gnu.org; Sun, 19 Jun 2022 12:38:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59051) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2xw2-0005Ks-Fo for guix-patches@gnu.org; Sun, 19 Jun 2022 12:38:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2xw2-00055A-Ar for guix-patches@gnu.org; Sun, 19 Jun 2022 12:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56041] [PATCH v3] gnu: Add vkmark. References: In-Reply-To: Resent-From: Tomasz Jeneralczyk Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Jun 2022 16:38:02 +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.165565667819527 (code B ref 56041); Sun, 19 Jun 2022 16:38:02 +0000 Received: (at 56041) by debbugs.gnu.org; 19 Jun 2022 16:37:58 +0000 Received: from localhost ([127.0.0.1]:52948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2xvx-00054r-Gx for submit@debbugs.gnu.org; Sun, 19 Jun 2022 12:37:58 -0400 Received: from outgoing1.lunanode.net ([172.81.176.235]:42375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2x8b-0001cO-6i for 56041@debbugs.gnu.org; Sun, 19 Jun 2022 11:47:00 -0400 Received: from mail1.lunanode.net (mail1.lunanode.net [170.75.162.243]) by outgoing1.lunanode.net (Postfix) with ESMTPS id 0FCFB40046 for <56041@debbugs.gnu.org>; Sun, 19 Jun 2022 15:46:56 +0000 (UTC) MIME-Version: 1.0 Date: Sun, 19 Jun 2022 15:46:53 +0000 From: Tomasz Jeneralczyk User-Agent: Roundcube Webmail/1.4.11 Message-ID: <3aecf31124b3b983409f112c9858e597@schwi.pl> X-Sender: tj@schwi.pl Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Sun, 19 Jun 2022 12:37:57 -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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655656726; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=UH4EIvcVFPMdlsszqi5q6kHyh2Hw7Pj+AgxzqgoWBpE=; b=sYh8W8sog6VRxI/8gSFX0no57S2mtXfjBRKx+a9vvgfT30iYL594EyGjajRJ89ZWA6xaOo 12h0xK10gWoer56yTfi7LHxjzow5KPiZHUnQeIkn4nsWut3sXMb/zm9BXt1QBw2xOPEUK8 MDdX4FgpxrWQSyrXXBBNCHEfHwg7v+rNZcRKGQ0fWLyJR+SFCeGcYr8qpP3E8MbgVEe/pt ltoPnTZ5LaaXFgknFqnyrLkAd60vRvPHftf73q+dW2WTGSSZwgqfi1NwCadP1QEllYiSDG GRKPx3MY8xWMNfLB3tULdhypqG0IKxrnDK3LzUZTfXNYzAZkXp0K+TYiivAOfw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655656726; a=rsa-sha256; cv=none; b=rgr+/r+4sRBm11vFEo+sS07d4VDOSreGSZAEO+V4k1qw71AsjlO77e2wsnBi8fR/ClYShc 5CVGPVdCIowHAwFTLeVAUTIdK30vI9CC7HKRUrxMZLcGfUsxiuRGzxbaDGtNu4efV/nMIv E0u6RoThxfYzVfZus1NIbW2pINlUoZqfHtlD46mxZCy6jDLOcVwMq3wLkSiUpcRRMQOj9q bIGEMK6uH/7qUdONg0ZnigeT9PyGTpyRqWP/1fDwPsML2esrgDIUrDbzrdjgVYvYdh/u2G 9ZW5xvLq3h4zM325P5ey4HsO3SR/K7+6FkNf8Duvs3ws8qj7qdGTlifhvHw9kQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.48 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3569C16BA3 X-Spam-Score: -1.48 X-Migadu-Scanner: scn1.migadu.com X-TUID: Ur8qZKkzboUj * gnu/packages/benchmark.scm (vkmark): Add variable. --- gnu/packages/benchmark.scm | 48 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm index b167c6de6e..1ca2c4cbfa 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. ;;; @@ -36,6 +37,7 @@ (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) @@ -45,6 +47,9 @@ (define-module (gnu packages benchmark) #: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 +62,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 +591,44 @@ (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")) + (package + (name "vkmark") + (version (git-version "2017.08" 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 "Extensible benchmarking suite for Vulkan") + (description + " +vkmark offers a suite of scenes that can be used to measure various aspects of Vulkan +performance. The way in which each scene is rendered is configurable through a set of +options. To list the available scenes and their acceptable options you can use the +-l, --list-scenes command line option.") + (home-page "https://github.com/vkmark/vkmark") + (license license:lgpl2.1+)))) base-commit: 319b8331b2357e12ec9edb9665513c32bef56622 -- 2.36.1