[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59386] [PATCH 09/11] gnu: vulkan-validationlayers: Update to sdk-1.
From: |
Marius Bakke |
Subject: |
[bug#59386] [PATCH 09/11] gnu: vulkan-validationlayers: Update to sdk-1.3.231.1. |
Date: |
Sun, 20 Nov 2022 09:11:36 +0100 |
dan <i@dan.games> skriver:
> * gnu/packages/vulkan.scm (vulkan-validationlayers): Update to sdk-1.3.231.1.
This forgot to mention the changes to [arguments].
[...]
> @@ -435,16 +435,10 @@ (define-public vulkan-validationlayers
> (list #:tests? #f ;no tests
> #: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 "-DGLSLANG_INSTALL_DIR=" #$glslang)
> + (string-append "-DSPIRV_HEADERS_INSTALL_DIR="
> #$spirv-headers)
> + (string-append "-DSPIRV_TOOLS_INSTALL_DIR=" #$spirv-tools)
> + (string-append "-DVULKAN_HEADERS_INSTALL_DIR="
> #$vulkan-headers)
Avoid referencing variables directly in arguments. Otherwise
transformations such as --with-input etc can't work.
I reverted back to the original (but arguably ugly!)
search-input-directory style, and added similar incantations for
SPIRV_TOOLS_INSTALL_DIR and VULKAN_HEADERS_INSTALL_DIR.
signature.asc
Description: PGP signature
- [bug#59386] [PATCH 04/11] gnu: spirv-cross: Update to sdk-1.3.231.1., (continued)
- [bug#59386] [PATCH 04/11] gnu: spirv-cross: Update to sdk-1.3.231.1., dan, 2022/11/19
- [bug#59386] [PATCH 05/11] gnu: shaderc: Update to 2022.3., dan, 2022/11/19
- [bug#59386] [PATCH 08/11] gnu: vulkan-tools: Update to sdk-1.3.231.1., dan, 2022/11/19
- [bug#59386] [PATCH 06/11] gnu: vulkan-headers: Update to sdk-1.3.231.1., dan, 2022/11/19
- [bug#59386] [PATCH 07/11] gnu: vulkan-loader: Update to sdk-1.3.231.1., dan, 2022/11/19
- [bug#59386] [PATCH 10/11] gnu: Add volk., dan, 2022/11/19
- [bug#59386] [PATCH 11/11] gnu: Add vulkan-memory-allocator., dan, 2022/11/19
- [bug#59386] [PATCH 09/11] gnu: vulkan-validationlayers: Update to sdk-1.3.231.1., dan, 2022/11/19
- [bug#59386] [PATCH 09/11] gnu: vulkan-validationlayers: Update to sdk-1.3.231.1.,
Marius Bakke <=
- [bug#59386] [PATCH staging 00/11] Update vulkan-sdk packages to sdk-1.3.231.1., Marius Bakke, 2022/11/20
- [bug#59386] [PATCH] gnu: Add vulkan-memory-allocator., dan, 2022/11/20