From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qEv1OVIsaWMcCQAAbAwnHQ (envelope-from ) for ; Mon, 07 Nov 2022 17:03:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GOD1OVIsaWMIGwAAauVa8A (envelope-from ) for ; Mon, 07 Nov 2022 17:03:30 +0100 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 C5BBC2559C for ; Mon, 7 Nov 2022 17:03:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1os4aW-0001uf-8K; Mon, 07 Nov 2022 11:03:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1os4aU-0001ss-RX for guix-patches@gnu.org; Mon, 07 Nov 2022 11:03:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1os4aU-0003xR-Hb for guix-patches@gnu.org; Mon, 07 Nov 2022 11:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1os4aT-0006Tt-Ue for guix-patches@gnu.org; Mon, 07 Nov 2022 11:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#56041] [PATCH v5] gnu: Add vkmark. References: In-Reply-To: Resent-From: Tomasz Jeneralczyk Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Nov 2022 16:03: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 Cc: Tomasz Jeneralczyk Received: via spool by 56041-submit@debbugs.gnu.org id=B56041.166783695624881 (code B ref 56041); Mon, 07 Nov 2022 16:03:01 +0000 Received: (at 56041) by debbugs.gnu.org; 7 Nov 2022 16:02:36 +0000 Received: from localhost ([127.0.0.1]:35162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os4a3-0006TF-Cy for submit@debbugs.gnu.org; Mon, 07 Nov 2022 11:02:35 -0500 Received: from outgoing1.lunanode.net ([172.81.176.235]:55852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os4a0-0006T3-KU for 56041@debbugs.gnu.org; Mon, 07 Nov 2022 11:02:33 -0500 Received: from mail1.lunanode.net (mail1.lunanode.net [170.75.162.243]) by outgoing1.lunanode.net (Postfix) with ESMTPS id BD7244002D for <56041@debbugs.gnu.org>; Mon, 7 Nov 2022 16:02:31 +0000 (UTC) From: Tomasz Jeneralczyk Date: Mon, 7 Nov 2022 17:01:54 +0100 Message-Id: X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667837009; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=f67qtBpAySLo9h4jm3ZyK5j8Ezr3uCqc1/bAdzqOzSs=; b=L4/G6Cc/WoYr433Ud5vrZn7wlXh+DDj826ERTuvHWgjSKfjhb0tTjvy92l/1R/3pPx9Xz3 kLTQy5QtH3F62YhFntn7kgnvtZ4n4RUqqMJmvZH/A0ncgPQKNmfdFg8rst+3aq5/kUb17I +TQck3Nj0AQoLOQeESvvhS7u7hZaYjPYfEyOf7TOFbUWrURDi9wk9lRflLj+UON9RTu8el f6JbaQKc1mL+QBiro6pGTMAlZPPWyT9DGmqW7criKmY9IGohzCgWrJ2lu+y1b6ZWByIuk+ s4WFNDeCoTrCt+yL31y/z+KRqaKb98AR4dOACG1Ga1OZIsgR9E3w7jW9m4u5qA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667837009; a=rsa-sha256; cv=none; b=sotZgpmf0t7rDRL5yMCzZ/oII9ysV+7KdsgZJgzsgpXVdWcgQqZ6uMmbwaVuejlDNXMNVr k4WqPpDUC3chM6Mx5dh/zXT1bam7LP8l4w3+/f92XtV1LGtUCSIxKyucCXGym6H88nLu2J pgKlEnPhcx28fGXYiMM/3X/JeThZvXk3vLOGdWnJ8mGk+PRU7UKaCRE4wEoWtADjUJsrJZ 4kQeQTz0t+SmVFdfAuufsO0TXrhDz4VHXQvFk1yNleGlN6FpCKR0AnOfc1ABNFq/OUuvjB wH5J46zKjOesLG5fxVyYQ8YEq6nV7FujXpbPcS808cq1SFEsWAK682HxaW0y3g== 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: -3.30 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: C5BBC2559C X-Spam-Score: -3.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4Kd/wYuhXqgp * gnu/packages/benchmark.scm (vkmark): New variable. --- I updated the package to the newest commit and changed comments to reflect the upstream project's current situation. gnu/packages/benchmark.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm index e188b27789..e9faabe2e9 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) @@ -46,6 +48,9 @@ (define-module (gnu packages benchmark) #:use-module (gnu packages databases) #:use-module (gnu packages docbook) #:use-module (gnu packages kde-frameworks) + #: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) @@ -60,6 +65,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)) @@ -693,3 +700,46 @@ (define-public sysbench @item @end itemize") (license license:gpl2+))) + +(define-public vkmark + ;; The only ever release is tagged "2017.08" and as its name suggests + ;; it was back in the august of 2017. That version no longer compiles + ;; due to changes in APIs of its libraries. + ;; Latest commit on the other hand seems to be fully working on xcb + ;; and wayland backends. + (let ((commit "30d2cd37f0566589d90914501fc7c51a4e51f559") + (revision "0")) + (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 + "0w0n080sb67s7dbxqi71h0vhm6dccs78rqjnxx9x524jp4jh9b7x")))) + (build-system meson-build-system) + (native-inputs (list pkg-config)) + ;; The kms backend currently will not compile because of upstream issues. + ;; So I omitted this backend's dependiencies. A fix has been proposed + ;; on another branch, but it has not been merged yet. + ;; See https://github.com/vkmark/vkmark/issues/33 + (inputs + (list vulkan-loader + vulkan-headers + glm + assimp + libxcb + xcb-util-wm + wayland-protocols + wayland)) + (home-page "https://github.com/vkmark/vkmark") + (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.") + (license license:lgpl2.1+)))) base-commit: 8e54584d4448d37ddf8ae995bb545a181ba2493c -- 2.38.0