From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8I/kCdfqBGaJAgEAe85BDQ:P1 (envelope-from ) for ; Thu, 28 Mar 2024 04:58:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8I/kCdfqBGaJAgEAe85BDQ (envelope-from ) for ; Thu, 28 Mar 2024 04:58:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b="N YhUsnH"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="x 96VTf5"; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711598295; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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:dkim-signature; bh=XL3gg5y/HeEpA/3Y0Tg+TxSOxipFLlyExq+vnrczhVk=; b=iQVQMB0kskqYpgUItz3QLSJO3EdRlgSwGv8p3kJxFBzxG1mmeH5NqYXCpiu/qO3ztkiDi7 EVkIgd2pQfQ/LNo4E7WoZ6O5NOv9B16kESEYxSTXvvy40MJ3/9BhAYtXTRgIyB26byzzzN BRvAJLVV0eN5uR8ys+LoePWJ0aqXXP7epQdZVCHgefOEcZgf1GRp/rHTWdA+5apSEAcn8Q nZ95mPA9ICLDSxwjfUon8S2ea7nCozS+fY7+4bdyOzdQoix4zgIHnK4ks4bR6qGYYpcTBM uaTxO2l8+J2dOpBLQXWqWQfhBDwG/9q1pKL/GJ/XtYnGN9o/sADtxvtAQYzuWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b="N YhUsnH"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="x 96VTf5"; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711598295; a=rsa-sha256; cv=none; b=Dz0jViGHb1fhOpllAnWo1EP6wNwXZIuQYyMWwTCuVbdvC5ZWia0xf7pgJsSiURawb+13HL wdjFiEnbPFgqNbQhVj1uzt77a6JXWhlq7ydn2gz8Zne8Quv4T2tQDWXSFrLohRic43OrCq MzSFOtbTvMimz/iwvSSChZogfb+f5QjqV/H4YBHv2X2bSGW0q8ghgnY9YJ7eClw0y3yEKP BBABmIC2MgA/yYrBzZelOW5ogb9+v6+jlhLal8jBYTizhl84wBBP9iaR7vARBST2Gm/4g0 6JG5g+2y8ydW57fbEvxsm05H6AHHqBO1EMH+fDkaWjczLWZB2PwdJxzCxbLXyA== 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 F06BE67E58 for ; Thu, 28 Mar 2024 04:58:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpgt6-00017u-6C; Wed, 27 Mar 2024 23:57:12 -0400 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 1rpgt3-00013r-8a for guix-patches@gnu.org; Wed, 27 Mar 2024 23:57:09 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpgt2-0008Bf-WE for guix-patches@gnu.org; Wed, 27 Mar 2024 23:57:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpgt3-0001Hu-6y for guix-patches@gnu.org; Wed, 27 Mar 2024 23:57:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69461] [PATCH mesa-updates v3 12/13] gnu: vulkan-validationlayers: Update to 1.3.280.0. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Mar 2024 03:57:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69461 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69461@debbugs.gnu.org Cc: john.kehayias@protonmail.com Received: via spool by 69461-submit@debbugs.gnu.org id=B69461.17115981974718 (code B ref 69461); Thu, 28 Mar 2024 03:57:09 +0000 Received: (at 69461) by debbugs.gnu.org; 28 Mar 2024 03:56:37 +0000 Received: from localhost ([127.0.0.1]:38720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpgsX-0001Dv-6y for submit@debbugs.gnu.org; Wed, 27 Mar 2024 23:56:37 -0400 Received: from wfhigh2-smtp.messagingengine.com ([64.147.123.153]:50529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpgsN-0001CR-JI for 69461@debbugs.gnu.org; Wed, 27 Mar 2024 23:56:28 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.west.internal (Postfix) with ESMTP id 580EC180006E; Wed, 27 Mar 2024 23:56:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 27 Mar 2024 23:56:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1711598180; x= 1711684580; bh=XL3gg5y/HeEpA/3Y0Tg+TxSOxipFLlyExq+vnrczhVk=; b=N YhUsnHY0INC6/5prhC9p4LoBmKGyZHmCxZowdO0VJGi2GSqyOa6nLTvhbdwNDwaC 6m96MFlosBfTDZEYLEWQB2a1MaSrCdMkYOwL6Wd/C7evr+ijuY6xgJuUKWudP0p9 Ns37R14M+MezFJLR/XPahjmsS2HD9Vn0tj5c02BgvKUeowhlnJwPVoOacU7mBgcX 9fklOAFpA2JQLMlmZtT/53nR5kgaukPZosXfCIz0JG4Mk6gA8l/UkBjW58RT+Ve/ HEZjh72bN9aO7Qy/lzJhMSS6Z6E3cpaFql4r9fgq7N+Wp8bt8r0taD90kkus1NIU 50WG5VINwG3OvuNFLPTeA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1711598180; x= 1711684580; bh=XL3gg5y/HeEpA/3Y0Tg+TxSOxipFLlyExq+vnrczhVk=; b=x 96VTf59uSAR3pAiXoP84PC9D2ny2qHjLykVw3yjuhUC3aUjcsYLeSfW/ATJOlVu3 4N4rO2Vw/yFJrfmiFWdwpshkLUe1+/MYW2GwI4XclYw+VEIUpFOxa8t1sBhJxFtm 7JImfaAqmj7NlOSHC5mn96Ls9EIDWlSTx/MSiD/AUkBo5uIfHMH0HhU6JYVXlixU Lvd8JtJP5kFBRuuHugLlwW8HRMDH1x64+/d3GtytobOdF6mDhv2cJnV6SIgx51jF sRBfy6Q8sVguwYypCVIRYrZLNPmtJ6V2nOI5GqQQlqnNXGaPm8IslsFLk+gL7Awu Dmk9/MROAm6FlEw+jk8eg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledruddukedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpegurghnuceoihesuggrnhdrghgrmhgvsheqnecuggftrfgr thhtvghrnhepvdekvdelueffhfeffeffueduieehgfdvjedvtddvkeehvdffgeevgffgff fhgeejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigv peegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehisegurghnrdhgrghmvghs X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 27 Mar 2024 23:56:19 -0400 (EDT) From: dan Date: Thu, 28 Mar 2024 11:54:54 +0800 Message-ID: <435c72f590aa854b9072c5967eabfd1cbc6c8bcb.1711561863.git.i@dan.games> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 0.55 X-Migadu-Queue-Id: F06BE67E58 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: 0.55 X-TUID: A1WRguEnOB16 * gnu/packages/vulkan.scm (vulkan-validationlayers): Update to 1.3.280.0. [source]: Add snippet. [inputs]: Add robin-hood-hashing and vulkan-utility-libraries. [arguments]: Remove configure-flags, replace check step, and update reason why disabling tests. Change-Id: I80ca002d8dbe71cad57f859ee34ac8f10e175907 --- gnu/packages/vulkan.scm | 55 ++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index 6239f7ea4d..1016e9db36 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -47,9 +47,6 @@ (define-module (gnu packages vulkan) #:use-module (gnu packages wine) #:use-module (gnu packages xorg)) -;; Note: Remember to change vulkan-loader version when bumping this. -(define %vulkan-sdk-version "sdk-1.3.231.1") - (define-public spirv-headers (package (name "spirv-headers") @@ -478,51 +475,37 @@ (define-public vkd3d (define-public vulkan-validationlayers (package (name "vulkan-validationlayers") - (version %vulkan-sdk-version) + (version "1.3.280.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/KhronosGroup/Vulkan-ValidationLayers") - (commit version))) + (commit (string-append "vulkan-sdk-" version)))) (file-name (git-file-name name version)) + (modules '((guix build utils))) + ;; We don't build static libraries in SPIRV-Tools. + (snippet '(substitute* "tests/CMakeLists.txt" + (("-static") + ""))) (sha256 (base32 - "07djrk6yym4vl2b52wr09r8y649v5lark5hnr5rwvlxwxdmd9g75")))) + "1w6fsaicrgnzkj5vz2v86a2gk1n7478q6n66ac2920avnin9a64c")))) (build-system cmake-build-system) (inputs (list glslang libxrandr mesa + robin-hood-hashing shaderc spirv-tools vulkan-loader + vulkan-utility-libraries wayland)) - (native-inputs (list pkg-config python spirv-headers vulkan-headers)) + (native-inputs (list googletest pkg-config python spirv-headers vulkan-headers)) (arguments - (list #:tests? #f ;no tests + (list #:tests? #f ; test crashed #:configure-flags - #~(list "-DUSE_ROBIN_HOOD_HASHING=OFF" - (string-append "-DGLSLANG_INSTALL_DIR=" - (dirname (dirname - (search-input-directory - %build-inputs - "include/glslang")))) - (string-append "-DSPIRV_HEADERS_INSTALL_DIR=" - (dirname (dirname - (search-input-directory - %build-inputs - "include/spirv")))) - (string-append "-DSPIRV_TOOLS_INSTALL_DIR=" - (dirname (dirname - (search-input-directory - %build-inputs - "include/spirv-tools")))) - (string-append "-DVULKAN_HEADERS_INSTALL_DIR=" - (dirname (dirname - (search-input-directory - %build-inputs - "include/vulkan")))) - "-Wno-dev") + #~(list "-DBUILD_TESTS=ON") #:phases #~(modify-phases %standard-phases (add-after 'install 'set-layer-path-in-manifest (lambda _ @@ -532,7 +515,17 @@ (define-public vulkan-validationlayers (substitute* manifest (("\"libVkLayer_khronos_validation.so\"") (string-append "\"" #$output - "/lib/libVkLayer_khronos_validation.so\""))))))))) + "/lib/libVkLayer_khronos_validation.so\"")))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "VK_LAYER_PATH" (string-append (getcwd) "/layers")) + (setenv "LD_LIBRARY_PATH" + (string-append #$(this-package-input "vulkan-loader") "/lib")) + (setenv "MESA_SHADER_CACHE_DIR" + (string-append (getcwd) "/shader-cache")) + (setenv "XDG_RUNTIME_DIR" (getcwd)) + (invoke "./tests/vk_layer_validation_tests"))))))) (home-page "https://github.com/KhronosGroup/Vulkan-ValidationLayers") (synopsis "Khronos official validation layers for Vulkan") (description -- 2.41.0