John Kehayias
2aeb9faa42
gnu: spirv-llvm-translator: Update to 18.1.0.
...
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
2024-05-01 15:29:53 -04:00
Efraim Flashner
14b256f10e
gnu: glslang: Skip a test on powerpc-linux.
...
* gnu/packages/vulkan.scm (glslang)[arguments]: When building for
powerpc-linux add a phase to skip a test.
Change-Id: I00fd2273fcd2514c3086eee433f74f0bb4c3ebe6
2024-04-07 12:13:42 +03:00
Efraim Flashner
1e58b81da9
gnu: glslang: Give more information on test failures.
...
* 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
2024-04-07 09:49:30 +03:00
Efraim Flashner
8ecd6af8f6
gnu: glslang: Fix building on riscv64-linux.
...
* gnu/packages/vulkan.scm (glslang)[arguments]: When building for
riscv64-linux add a configure-flag to link against -latomic.
Change-Id: Ibf8dd0cac71e19f09ad730d88ddd5c8f7b44c14e
2024-04-04 16:26:50 +03:00
dan
3440e855e6
gnu: vulkan-validationlayers: Update to 1.3.280.0.
...
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>
2024-04-01 01:28:37 -04:00
dan
3704c64c0e
gnu: Add vulkan-utility-libraries.
...
* gnu/packages/vulkan.scm (vulkan-utility-libraries): New variable.
Change-Id: I5a7c3fa51150e2181197316f6b97a54f12a24236
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 01:12:46 -04:00
dan
74f849235a
gnu: vulkan-tools: Update to 1.3.280.0.
...
* gnu/packages/vulkan.scm (vulkan-tools): Update to 1.3.280.0.
[source]: Add snippet to disable a test.
[arguments]: Remove GLSLANG_INSTALL_DIR from configure-flags. Enable tests.
Replace the check phase
[native-inputs]: Add googletest.
Change-Id: Iadf98fc95d0d70c3780159992ebc2fdff6a2d108
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 01:06:45 -04:00
dan
083c9c0109
gnu: volk: Update to 1.3.280.0.
...
* gnu/packages/vulkan.scm (volk): Update to 1.3.280.0.
Change-Id: I4f72df2ba6784f3dae93cf60361e1bceaf61d3bb
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 01:06:10 -04:00
dan
aea7691fdd
gnu: vulkan-loader: Update to 1.3.280.0.
...
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>
2024-04-01 01:05:53 -04:00
dan
b8ab1f0636
gnu: vulkan-headers: Update to 1.3.280.0.
...
* gnu/packages/vulkan.scm (vulkan-headers): Update to 1.3.280.0.
Change-Id: Ie4c135fd53a9cacb36e766daba9524ce33fa5630
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 00:39:09 -04:00
dan
3105649b5a
gnu: shaderc: Update to 2024.0.
...
* gnu/packages/vulkan.scm (shaderc): Update to 2024.0.
[arguments]<#:configure-flags>: Specify python executable.
<#:phases>: Remove drop-additional-glslang-deps phase.
[inputs]: Move python from here ...
[native-inputs]: ... to here.
Change-Id: I3ca4b6560288f4b8ea9440a7fd0a7815b67471d8
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 00:36:12 -04:00
dan
474ed54aeb
gnu: spirv-cross: Update to 1.3.280.0.
...
* gnu/packages/vulkan.scm (spirv-cross): Update to 1.3.280.0.
Change-Id: Ie8e45c6892892c02e3d970a831044ff9f70a9547
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 00:32:39 -04:00
dan
408a770c8f
gnu: glslang: Update to 1.3.280.0.
...
* gnu/packages/vulkan.scm (glslang): Update to 1.3.280.0.
[source]: Remove patch.
[arguments]: Run tests.
[inputs]: Add spirv-tools.
* gnu/packages/patches/glslang-install-static-libs.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Ungerister it.
Change-Id: I39ef23565e575179b292a1ab76d2d70c98f84767
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 00:27:22 -04:00
dan
fb5299f54c
gnu: spirv-tools: Update to 1.3.280.0.
...
* gnu/packages/vulkan.scm (spirv-tools): Update to 1.3.280.0.
Change-Id: Ie6e438849f8f59a4b7616ab05e81c4a76d64dd9e
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 00:20:28 -04:00
dan
ded6c9a692
gnu: spirv-headers: Update to 1.3.280.0.
...
* gnu/packages/vulkan.scm (spirv-headers): Update to 1.3.280.0.
Change-Id: I7a00d3c432a9f6901b3b91b7df2ded887b6101d1
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-01 00:19:47 -04:00
Zheng Junjie
80f6e5a9ea
gnu: vulkan-loader: Fix cross-compiling.
...
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
2024-01-03 15:32:01 +01:00
Efraim Flashner
0bf46a4fc8
gnu: Add spirv-llvm-translator.
...
* gnu/packages/vulkan.scm (spirv-llvm-translator): New variable.
Change-Id: I9e447b7d69c7fdf620854362ca8aa98a2dfa1c87
2023-11-30 12:33:17 +02:00
Efraim Flashner
6e38ec447f
gnu: vulkan-loader: Limit tests to x86_64 and i686.
...
* gnu/packages/vulkan.scm (vulkan-loader)[arguments]: Only run the tests
when building on x86_64-linux or i686-linux.
2023-05-15 17:08:32 +03:00
Efraim Flashner
f0a51a2bda
gnu: vulkan-loader: Skip tests on riscv64-linux.
...
* gnu/packages/vulkan.scm (vulkan-loader)[arguments]: Skip tests when
building on riscv64-linux.
2023-05-04 16:54:09 +03:00
Maxim Cournoyer
839bb4616f
Merge remote-tracking branch 'origin/master' into staging.
...
With resolved conflicts in:
gnu/packages/ibus.scm
gnu/packages/image.scm
gnu/packages/lisp.scm
gnu/packages/virtualization.scm
2023-03-23 21:45:21 -04:00
Efraim Flashner
672036c6df
gnu: Remove unneeded module imports.
...
* gnu/packages/abiword.scm,
* gnu/packages/ada.scm,
* gnu/packages/agda.scm,
* gnu/packages/backup.scm,
* gnu/packages/barrier.scm,
* gnu/packages/bioinformatics.scm,
* gnu/packages/bootstrap.scm,
* gnu/packages/bqn.scm,
* gnu/packages/c.scm,
* gnu/packages/chemistry.scm,
* gnu/packages/coq.scm,
* gnu/packages/cross-base.scm,
* gnu/packages/databases.scm,
* gnu/packages/emacs-xyz.scm,
* gnu/packages/enlightenment.scm,
* gnu/packages/games.scm,
* gnu/packages/geo.scm,
* gnu/packages/ghostscript.scm,
* gnu/packages/gl.scm,
* gnu/packages/golang.scm,
* gnu/packages/jami.scm,
* gnu/packages/java-maths.scm,
* gnu/packages/kde-frameworks.scm,
* gnu/packages/kde-plasma.scm,
* gnu/packages/language.scm,
* gnu/packages/libreoffice.scm,
* gnu/packages/linphone.scm,
* gnu/packages/lisp.scm,
* gnu/packages/llvm.scm,
* gnu/packages/machine-learning.scm,
* gnu/packages/minetest.scm,
* gnu/packages/monitoring.scm,
* gnu/packages/nfs.scm,
* gnu/packages/ocr.scm,
* gnu/packages/opencl.scm,
* gnu/packages/pdf.scm,
* gnu/packages/python-xyz.scm,
* gnu/packages/racket.scm,
* gnu/packages/rust.scm,
* gnu/packages/syncthing.scm,
* gnu/packages/syndication.scm,
* gnu/packages/telegram.scm,
* gnu/packages/vulkan.scm,
* gnu/packages/web-browsers.scm,
* gnu/packages/web.scm,
* gnu/packages/webkit.scm: Remove some unecessary module imports.
2023-02-16 22:41:03 +02:00
Maxim Cournoyer
d88cee1d44
Merge branch 'master' into staging.
...
With conflicts resolved in:
gnu/packages/version-control.scm
2023-02-08 09:41:45 -05:00
Nicolas Graves
8532564077
gnu: spirv-cross: Activate tests.
...
* gnu/packages/vulkan.scm (spirv-cross)[arguments]: Remove #:tests?.
<#:phases>: Add ‘update-reference-shaders’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-31 23:54:52 +01:00
Marius Bakke
0d65f7daae
gnu: vulkan-loader: Don't build (and install) googletest.
...
* 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.
2023-01-08 21:02:20 +01:00
Marius Bakke
2aa2fbf18b
gnu: vulkan-loader: Refer to vulkan-headers in pkg-config file.
...
* gnu/packages/vulkan.scm (vulkan-loader)[arguments]: Add phase.
2023-01-08 20:27:08 +01:00
Marius Bakke
403d06e7e7
gnu: glslang: Install all libraries.
...
* gnu/packages/patches/glslang-install-static-libs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/vulkan.scm (glslang)[source](patches): New field.
2022-12-12 10:58:49 +01:00
Marius Bakke
b1f29b1124
gnu: vulkan-loader: Remove input labels.
...
* 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.
2022-11-20 21:11:39 +01:00
Marius Bakke
35b650f391
gnu: vulkan-loader: Update to 1.3.232.
...
* gnu/packages/vulkan.scm (vulkan-loader): Update to 1.3.232.
2022-11-20 21:11:39 +01:00
dan
cae97cd773
gnu: Add vulkan-memory-allocator.
...
* gnu/packages/vulkan.scm (vulkan-memory-allocator): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-11-20 17:20:00 +01:00
dan
e43df543a8
gnu: Add volk.
...
* gnu/packages/vulkan.scm (volk): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-11-20 09:24:54 +01:00
dan
46774bc9d7
gnu: vulkan-validationlayers: Update to sdk-1.3.231.1.
...
* 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>
2022-11-20 09:24:54 +01:00
dan
cc1a48f967
gnu: vulkan-tools: Update to sdk-1.3.231.1.
...
* gnu/packages/vulkan.scm (vulkan-tools): Update to sdk-1.3.231.1.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-11-20 09:24:54 +01:00
dan
d0cf0ab1e4
gnu: vulkan-loader: Update to sdk-1.3.231.1.
...
* gnu/packages/vulkan.scm (vulkan-loader): Update to sdk-1.3.231.1.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-11-20 09:24:54 +01:00
dan
98bf61b390
gnu: vulkan-headers: Update to sdk-1.3.231.1.
...
* gnu/packages/vulkan.scm (vulkan-headers): Update to sdk-1.3.231.1.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-11-20 09:24:54 +01:00
dan
0ea4e5613c
gnu: shaderc: Update to 2022.3.
...
* gnu/packages/vulkan.scm (shaderc): Update to 2022.3.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-11-20 09:24:54 +01:00
dan
c764399db6
gnu: spirv-cross: Update to sdk-1.3.231.1.
...
* gnu/packages/vulkan.scm (spirv-cross): Update to sdk-1.3.231.1.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-11-20 09:24:54 +01:00
dan
d9f29a19dd
gnu: glslang: Update to sdk-1.3.231.1.
...
* gnu/packages/vulkan.scm (glslang): Update to sdk-1.3.231.1.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-11-20 09:24:53 +01:00
dan
83bd0430b8
gnu: spirv-tools: Replace version with %vulkan-sdk-version.
...
* 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>
2022-11-20 09:24:53 +01:00
dan
8915e43ce0
gnu: spirv-headers: Replace version with %vulkan-sdk-version.
...
* gnu/packages/vulkan.scm (spirv-headers) [version]: Replace with
%vulkan-sdk-version variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-11-20 09:24:53 +01:00
Marius Bakke
294a041ed2
gnu: glslang: Update to 11.9.0.
...
* gnu/packages/vulkan.scm (glslang): Update to 11.9.0.
2022-11-17 19:26:51 +01:00
Marius Bakke
c26b40e29c
gnu: spirv-tools: Update to 2022.4.
...
* gnu/packages/vulkan.scm (spirv-tools): Update to 2022.4.
2022-11-17 19:26:51 +01:00
Marius Bakke
3c1980936c
gnu: spirv-headers: Update to 1.3.231.1.
...
* gnu/packages/vulkan.scm (spirv-headers): Update to 1.3.231.1.
2022-11-17 19:26:51 +01:00
Kaelyn Takata
522d21863e
gnu: spirv-tools: Disable building static libraries.
...
* 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>
2022-11-17 19:23:34 +01:00
Marius Bakke
29754d3683
gnu: vulkan-validationlayers: Avoid direct variable references.
...
* gnu/packages/vulkan.scm (vulkan-validationlayers)[arguments]: Refer to
GLSLANG and SPIRV-HEADERS from inputs, instead of the global variables.
2022-11-15 13:16:18 +01:00
Kaelyn Takata
f1356a60a1
gnu: Add vulkan-validationlayers.
...
* gnu/packages/vulkan.scm (vulkan-validationlayers): New variable.
2022-11-15 13:10:25 +01:00
Kaelyn Takata
cc376170e7
gnu: shaderc: Update to 2021.3.
...
* gnu/packages/vulkan.scm (shaderc): Update to 2021.3.
2022-11-15 13:10:25 +01:00
Kaelyn Takata
1512cfb311
gnu: vulkan-tools: Update to 1.2.201.
...
* gnu/packages/vulkan.scm (vulkan-tools): Update to 1.2.201.
2022-11-15 13:10:25 +01:00
Kaelyn Takata
af187772e6
gnu: vulkan-loader: Update to 1.2.202.
...
* gnu/packages/vulkan.scm (vulkan-loader): Update to 1.2.202.
[arguments]: Enable tests by removing obsolete build phase
'disable-loader-tests and adjusting configure flags.
2022-11-15 13:10:25 +01:00
Kaelyn Takata
83db4dce7b
gnu: vulkan-headers: Update to 1.2.202.
...
* gnu/packages/vulkan.scm (vulkan-headers): Update to 1.2.202.
2022-11-15 13:10:25 +01:00
Kaelyn Takata
e397f6ea46
gnu: spirv-tools: Update to 2021.4.
...
* gnu/packages/vulkan.scm (spirv-tools): Update to 2021.4.
2022-11-15 13:10:25 +01:00