GNU bug report logs -
#59386
[PATCH staging 00/11] Update vulkan-sdk packages to sdk-1.3.231.1.
Previous Next
Reported by: dan <i <at> dan.games>
Date: Sat, 19 Nov 2022 14:57:01 UTC
Severity: normal
Tags: patch
Done: Marius Bakke <marius <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #44 received at 59386 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
dan <i <at> 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 (application/pgp-signature, inline)]
This bug report was last modified 2 years and 181 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.