* gnu/packages/vulkan.scm (spirv-llvm-translator)[arguments]: Only run
tests when not cross-compiling and for x86_64-linux.
Change-Id: If0025060e5aa24a9d90724966887ea03f4f8c4b3
* gnu/packages/vulkan.scm (spirv-llvm-translator)[arguments]: Adjust
configure-flags to link the executable to the shared library location
and enable building the shared libraries.
Change-Id: I0f44e1562957fb7e6c2e6f7a10dceed8f32ca7ce
This fixes a build failure (after mesa-updates merge, perhaps from the
spirv-headers update). The package version corresponds to the LLVM version
targeted, so inputs needed to be updated.
* gnu/packages/vulkan.scm (spirv-llvm-translator): Update to 18.1.0.
[inputs]: Replace llvm-15 with llvm-18.
[native-inputs]: Ditto. Replace clang-15 with clang-18.
Change-Id: I8ad51dd019e508a14b479a7481de62cdae446425
* gnu/packages/vulkan.scm (glslang)[arguments]: When building for
powerpc-linux add a phase to skip a test.
Change-Id: I00fd2273fcd2514c3086eee433f74f0bb4c3ebe6
* gnu/packages/vulkan.scm (glslang)[arguments]: Adjust the 'check phase
to run the tests in parallel, rerun tests which fail and to provide
information when a test fails.
Change-Id: I13962bb503a20338901cdd878d356e1bcce7f2eb
* gnu/packages/vulkan.scm (glslang)[arguments]: When building for
riscv64-linux add a configure-flag to link against -latomic.
Change-Id: Ibf8dd0cac71e19f09ad730d88ddd5c8f7b44c14e
The check phase was replaced which allows tests to actually run, but they
crash on some hardware (reported in various issues upstream).
* gnu/packages/vulkan.scm (vulkan-validationlayers): Update to 1.3.280.0.
[source]: Add snippet to disable static library building.
[inputs]: Add robin-hood-hashing and vulkan-utility-libraries.
[arguments]: Remove previous configure-flags and add BUILD_TESTS, replace
check phase, and update reason why tests are disabled.
(%vulkan-sdk-version): Remove unused variable.
Change-Id: I80ca002d8dbe71cad57f859ee34ac8f10e175907
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
According to
<https://vulkan.lunarg.com/doc/view/1.3.231.1/linux/loader_and_layer_interface.html>,
the Vulkan loader searches for manifest files in several directories, like in
$HOME or ones set during compile-time. So, expose XDG_DATA_DIRS, which Vulkan
will search, as a search-path to find ones from other packages, like mesa.
* gnu/packages/vulkan.scm (vulkan-loader): Update to 1.3.280.0.
[arguments]<#:phases>: Update the use-system-googletest phase.
[native-search-paths]: New search path, XDG_DATA_DIRS.
Change-Id: Ib270eeeea6500691a75c36612104c7ddb1c28dfb
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
gnu/packages/vulkan.scm(vulkan-loader):
[arguments]<#:configure-flags>: When cross-compiling, set -DBUILD_TESTS=OFF
and -DUSE_GAS=OFF.
[inputs]: Add libxrandr.
Change-Id: I580e1c77c4b9b5a3483e93ff9eda78fbe07ec292
* gnu/packages/vulkan.scm (vulkan-loader)[arguments]: Add phase to use system
googletest. Remove unpack-googletest phase.
[native-inputs]: Change from (PACKAGE-SOURCE GOOGLETEST) to GOOGLETEST.
* gnu/packages/vulkan.scm (vulkan-loader)[native-inputs]: Remove labels.
[arguments]: Use SEARCH-INPUT-DIRECTORY instead of label. While at it remove
use of THIS-PACKAGE-INPUT.
* gnu/packages/vulkan.scm (vulkan-validationlayers): Update to sdk-1.3.231.1.
[arguments]: Specify install directory for spirv-tools and vulkan-headers.
Co-authored-by: Marius Bakke <marius@gnu.org>
* gnu/packages/vulkan.scm (spirv-tools)[version]: Replace with
%vulkan-sdk-version.
The commit of tag '2022.4' and 'sdk-1.3.231.1' are the same.
Signed-off-by: Marius Bakke <marius@gnu.org>
* gnu/packages/vulkan.scm (spirv-tools): Disable building static libraries to
fix linking issues for packages such as mpv.
Signed-off-by: Marius Bakke <marius@gnu.org>