* gnu/packages/gl.scm (mesa)[arguments]: Adjust the
'disable-failing-test phase on riscv64-linux for changes in the sources.
Change-Id: If78345c1fb67fc6c83d5b32d40319e13b3e80831
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flags to
also build the asahi vulkan driver when building for aarch64.
Change-Id: I65320d254734b93c2d0a0891cdf329e7b3ff0c12
* gnu/packages/gl.scm (mesa): Update to 24.3.1.
[arguments]: Add 'set-home-directory phase (build tries to use a
shader cache, though this without it won't fail to build).
Change-Id: I1fd7d1fe20109ccdd7386a82ecf7d415999c262a
The meson variable now points to version 1.5.2, and meson-1.5 is
not defined.
* gnu/packages/gl.scm (mesa)[arguments]: Remove #:meson.
Change-Id: I2fa5aebdab048ef53488d2976173dab67134471e
* gnu/packages/gl.scm (mesa)[native-inputs]: Add rust, rust-bindgen-cli,
rust-cbindgen-0.26 for x86_64.
[arguments]<#:meson>: Use newer version of meson to satisfy NVK build
requirements.
<#:configure-flags>: Use "auto" for 'vulkan-drivers' flag when target arch is
x86_64.
<#:phases>: Add 'patch-subproject-sources phase to patch rust subproject
sources when target arch is x86_64.
* gnu/packages/crates-io.scm (rust-paste-1, rust-proc-macro2-1, rust-quote-1,
rust-syn-2, rust-unicode-ident-1): Add a comment about being dependencies of
mesa.
Change-Id: I76e3db5072ca3c718155b188ca64b52766d55f36
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
* gnu/packages/gl.scm (mesa)[inputs]: When building for an arm platform
add python-pycparser.
[arguments]: When building for aarch64 or armhf don't add kmsro as a
gallium driver.
* gnu/packages/python-xyz.scm (python-pycparser): Mark as a dependency
for mesa.
Change-Id: I61182157418a6667fcbb0d4280c959a708119b0d
Previously, in 1ed0283fcc, mesa's configuration
options were altered to use "auto" as needed, while it looks like this was
inadvertently changed in 9b2a3e023f. This meant
i915 dropped from x86/x86_64. This commit restores the "auto" behavior where
it matched our previous driver list (or restored missing drivers). See mesa's
meson.build for all options.
* gnu/packages/gl.scm (mesa)[arguments]: For gallium-drivers, use
"softpipe,llvmpipe" instead of the deprecated "swrast" option. Use "auto"
in gallium-drivers and vulkan-drivers where it provides the same driver
list (or restores ones dropped from x86/x86_64). Comment on differences from
"auto" where we don't use it.
Change-Id: I920701f71d19578f4913fda7372273955f0a9847
Note the clang input for mesa was in inputs for aarch64-linux but more
generally in native-inputs for mesa-opencl. Moved to native-inputs for
all (mesa does not retain a reference to clang).
* gnu/packages/gl.scm (mesa): Update to 24.2.2.
[inputs]: Move clang-18 when building for aarch64-linux to ...
[native-inputs]: ... here for all architectures. Add python-ply, and
python-pyyaml. Use libclc for all architectures.
(mesa-opencl)[inputs, native-inputs]: Remove fields.
* gnu/packages/python-xyz.scm (python-pyyaml, python-ply): Add a comment about
being dependencies of mesa.
Change-Id: Ie262e6ea5a31fda0e410277256c203ea3caed96b
Recent release of glfw introduced a new dlopen call to `libwayland-client.so.0´.
This small fix adds this library to the list of libraries to be patched. It
does not affect earlier versions.
* gnu/packages/gl.scm (glfw): Add `libwayland-client.so.0' to the list of
libraries to be patched.
Change-Id: I9436c63f49a9b2fed18e06d593e67a593e3c6cad
* gnu/packages/gl.scm (mesa)[inputs]: When building for aarch64-linux
use clang-18 and llvm-18 instead of llvm-for-mesa.
[native-inputs]: When building for aarch64-linux add libclc.
[arguments]: Adjust the 'disable-failing-test phase when building for
aarch64-linux to skip a test.
(mesa-opencl)[native-inputs]: When building for aarch64-linux don't add
clang-15.
* gnu/packages/check.scm (python-lit),
* gnu/packages/llvm.scm (libclc),
* gnu/packages/vulkan.scm (spirv-llvm-translator): Add a note about it
being a dependency for mesa.
Change-Id: I0bf5ab019ffd0626ad2d0c38bafceec401e3c886
* gnu/packages/gl.scm (mesa)[arguments]: Adjust configure-flags so that
the svga gallium-driver is enabled on all architectures.
Change-Id: I0a604f1f8e4dac511c273149b95bf9b270e8e1fe
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flags to
enable all the video codecs.
Change-Id: Id540e4d8af8b756f1d0e4978b18e22dd19dd8985
* gnu/packages/gl.scm (mesa)[arguments]: In the 'disable-failing-test
phase enable another test when building for powerpc-linux.
Change-Id: Ib043b2ea77dc145b3b067496ed45662ad635dc72
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flag to
also build the svga gallium driver on aarch64 and the freedreno and svga
drivers on armhf.
Change-Id: I129a66184e2728e61a99bae442db908c5c0f84b0
* gnu/packages/gl.scm (mesa)[arguments]: In the 'disable-failing-test
phase remove the test skipped only on aarch64-linux.
Change-Id: I2f6d978775887270b6374faaa48318565e393767
* gnu/packages/gl.scm (mesa): Add vulkan-loader as an input. Refer to its
libvulkan.so.1 by full path in the zink gallium driver.
(cherry picked from commit e2875b7bb894f3575b6e61daa9c1f5d5f4c14b84)
Change-Id: I83ff787e6148a45b9403e578dd744f7eb85a221b
* gnu/packages/gl.scm(mesa)[arguments]<#:phases>: When cross-compiling, force
the use of the cmake method to find llvm.
Change-Id: I27f6f4d9d71028c15588eeade48d3a918c042b9c
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
gnu/packages/gl.scm(glew):
[arguments]<#:make-flags>: when cross-compiling, use {cc,strip}-for-target.
Change-Id: I365f6635120a85359083beb88cb138f09a99fe33