1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 02:20:53 +02:00
Commit graph

424 commits

Author SHA1 Message Date
Nicolas Graves
117de9378b
gnu: soil: Add lint-hidden-cpe-vendors property.
* gnu/packages/gl.scm (soil)[properties]: Add lint-hidden-cpe-vendors.

Signed-off-by: Zheng Junjie <z572@z572.online>
2025-06-23 12:32:52 +08:00
Efraim Flashner
86524126a4
gnu: mesa: Adjust skipped tests on riscv64-linux.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the
'disable-failing-test phase on riscv64-linux for changes in the sources.

Change-Id: If78345c1fb67fc6c83d5b32d40319e13b3e80831
2025-06-11 08:45:44 +03:00
John Kehayias
3aa0d9de4b
gnu: mesa: Update to 25.1.3.
* gnu/packages/gl.scm (mesa): Update to 25.1.3.

Change-Id: I1c19b1fab28400b6e9cce01a41813afb643242d1
2025-06-08 15:35:41 -04:00
John Kehayias
70a890468f
gnu: mesa: Update to 25.1.2.
* gnu/packages/gl.scm (mesa): Update to 25.1.2.

Change-Id: I545b299ed95a5bf8966d8ff6365526d3a3a1f512
2025-06-08 15:35:40 -04:00
John Kehayias
21236055fe
gnu: mesa: Update to 25.1.1.
* gnu/packages/gl.scm (mesa): Update to 25.1.1.

Change-Id: I3ab477ce7334b4ef066e7fd3c6adfdd35e8cea76
2025-06-08 15:35:35 -04:00
John Kehayias
9bdbef2e75
gnu: mesa: Update to 25.0.5.
* gnu/packages/gl.scm (mesa): Update to 25.0.5.

Change-Id: Iff5908185278c46053f2b687498774d1fea0bfb0
2025-06-08 15:35:34 -04:00
John Kehayias
d0c26df241
gnu: mesa: Update to 25.0.4.
* gnu/packages/gl.scm (mesa): Update to 25.0.4.

Change-Id: I3589d8e3b2570009f430b5b2068c98c469645ff6
2025-06-08 15:35:33 -04:00
John Kehayias
00ff01b4f1
gnu: mesa: Update to 25.0.3.
* gnu/packages/gl.scm (mesa): Update to 25.0.3.

Change-Id: I020a797b448cfa529bfc2849072ffc90ccd91371
2025-06-08 15:35:29 -04:00
John Kehayias
7c6070e61c
gnu: mesa: Update to 25.0.2.
* gnu/packages/gl.scm (mesa): Update to 25.0.2.

Change-Id: I2daa62441a760577de5ae28bab4de1a46773a194
2025-06-08 15:35:27 -04:00
John Kehayias
a65ebe5fad
gnu: mesa: Update to 24.3.2.
* gnu/packages/gl.scm (mesa): Update to 24.3.2.

Change-Id: Ie003db7cedb768752ad89cdfde039cdf4f5ce124
2025-01-05 20:28:22 -05:00
Efraim Flashner
ce7443bb67
gnu: mesa: Build asahi vulkan driver on aarch64-linux.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flags to
also build the asahi vulkan driver when building for aarch64.

Change-Id: I65320d254734b93c2d0a0891cdf329e7b3ff0c12
2025-01-05 20:28:19 -05:00
John Kehayias
e11df98795
gnu: mesa: Update to 24.3.1.
* 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
2025-01-05 20:28:17 -05:00
Andreas Enge
0376420e87
gnu: mesa: Use standard meson.
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
2024-11-27 12:43:04 +01:00
John Kehayias
40b6729fd7
gnu: mesa: Update to 24.2.5.
* gnu/packages/gl.scm (mesa): Update to 24.2.5.

Change-Id: I84b8af46617fb414b564ceda6e9772dcee3f48d6
2024-11-05 11:56:51 -05:00
John Kehayias
22a2b66a82
gnu: mesa: Update to 24.2.4.
* gnu/packages/gl.scm (mesa): Update to 24.2.4.

Change-Id: I60a43d0344ff901c18d2b025aad7f0f9b925593b
2024-11-05 11:56:47 -05:00
John Kehayias
c236894563
gnu: mesa: Update to 24.2.3.
* gnu/packages/gl.scm (mesa): Update to 24.2.3.

Change-Id: I910baba6e1f5b9d4fb15dc37551d3dd5baabb940
2024-11-05 11:56:46 -05:00
aurtzy
6832edf804
gnu: mesa: Enable NVK driver for x86_64 architecture.
* 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>
2024-11-05 11:56:44 -05:00
Efraim Flashner
e13f4b10c5
gnu: mesa: Fix build on arm architectures.
* 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
2024-11-05 11:56:38 -05:00
John Kehayias
fda63ca521
gnu: mesa: Update configure flags.
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
2024-11-05 11:56:31 -05:00
John Kehayias
e00c621cbb
gnu: mesa: Update to 24.2.2.
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
2024-11-05 11:56:29 -05:00
John Kehayias
6ebb5ecafc
gnu: llvm-for-mesa: Update to llvm-18.
* gnu/packages/llvm.scm (llvm-for-mesa): Update to llvm-18.
* gnu/packages/gl.scm (mesa)[inputs]: Always use llvm-for-mesa (remove llvm-18
for aarch64 to use llvm-for-mesa).
(mesa-opencl)[native-inputs]: Remove clang-15.  Add clang-18.

Change-Id: I767d40d62a827864d3d109c44f82a43302875eb8
2024-11-05 11:56:26 -05:00
Arnaud Lechevallier
e9a9f40ded
gnu: glfw: Fix a missing path to a dlopen call.
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
2024-09-24 22:57:15 +08:00
Guillaume Le Vaillant
baf8c5cf80
gnu: glfw-3.4: Fix build.
* gnu/packages/glfw.scm (glfw-3.4)[arguments]: Don't build out of source.

Change-Id: I42437c60f7adbc0b087f7149b17181fbc8eab4ce
2024-09-04 13:18:59 +02:00
Efraim Flashner
d10ab3d397
gnu: mesa: Fix building on aarch64-linux.
* 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
2024-08-31 10:45:42 +02:00
Roman Scherer
944d99af26
Agnu: mesa: Build asahi driver on aarch64.
* gnu/packages/gl.scm (mesa): Build asahi driver on aarch64.

Change-Id: I597e70732b9ebd18960131f1b664b2dc83683b8e
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:38 +02:00
Artyom V. Poptsov
f3a2cf6643
gnu: glfw-3.4: New variable.
* gnu/packages/gl.scm (glfw-3.4): New variable.

Change-Id: I77f2214c78f35455436897a3fbff083331295314
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-08-12 22:51:56 +01:00
Artyom V. Poptsov
fe7c622ab0
gnu: glfw: Update to 3.3.10.
* gnu/packages/gl.scm (glfw): Update to 3.3.10.

Change-Id: I9d789fb74af4ed649102195891adc5e437883d30
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-08-12 22:51:55 +01:00
Christopher Baines
953253eff3
Merge remote-tracking branch 'savannah/master' into mesa-updates
Change-Id: I00980ec5dbd9d23ab076995bc79331d136424796
2024-04-15 10:57:31 +01:00
Wilko Meyer
191a4bfe1a
gnu: glmark2: Update to 2023.01.
* gnu/packages/gl.scm (glmark2): Update to 2023.01.

Change-Id: Ia3a468d5da28801fc9c13de6995ca6599bbbb87c
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-09 17:03:06 +01:00
Efraim Flashner
b1b22cab72
gnu: mesa: Enable svga driver on all architectures.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust configure-flags so that
the svga gallium-driver is enabled on all architectures.

Change-Id: I0a604f1f8e4dac511c273149b95bf9b270e8e1fe
2024-04-07 14:24:37 +03:00
Efraim Flashner
1fed3f9877
gnu: mesa: Enable all the video codecs.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flags to
enable all the video codecs.

Change-Id: Id540e4d8af8b756f1d0e4978b18e22dd19dd8985
2024-04-07 09:48:33 +03:00
Efraim Flashner
1b86dfa34d
gnu: mesa: Adjust skipped tests on powerpc-linux.
* gnu/packages/gl.scm (mesa)[arguments]: In the 'disable-failing-test
phase enable another test when building for powerpc-linux.

Change-Id: Ib043b2ea77dc145b3b067496ed45662ad635dc72
2024-04-07 09:22:23 +03:00
Efraim Flashner
764e5afbea
gnu: mesa: Enable more gallium drivers.
* 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
2024-04-04 16:33:13 +03:00
Efraim Flashner
31411b4f32
gnu: mesa: Don't skip extra tests on aarch64-linux.
* gnu/packages/gl.scm (mesa)[arguments]: In the 'disable-failing-test
phase remove the test skipped only on aarch64-linux.

Change-Id: I2f6d978775887270b6374faaa48318565e393767
2024-04-04 16:28:57 +03:00
John Kehayias
23928e2d42
gnu: mesa: Update to 24.0.4.
* gnu/packages/gl.scm (mesa): Update to 24.0.4.

Change-Id: Id0c14c0ad6a45d6cdb4533053e7a116285a87e5f
2024-04-01 01:29:46 -04:00
John Kehayias
b43d36a556
gnu: mesa: Update to 24.0.3.
* gnu/packages/gl.scm (mesa): Update to 24.0.3.

Co-authored-by: aurtzy <aurtzy@gmail.com>
Change-Id: Id674e81154631daf9e8c33940c299dc1d26c62c5
2024-03-31 20:47:17 -04:00
Josselin Poiret
304d3d9644
gnu: mesa: Hardcode libvulkan.so's dependency for zink.
* 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
2024-03-31 20:47:16 -04:00
Liliana Marie Prikler
8deec94654
gnu: Add piglit.
* gnu/packages/gl.scm (piglit): New variable.
2024-02-03 10:55:06 +01:00
Liliana Marie Prikler
6ce2bd76c0
gnu: Add waffle.
* gnu/packages/gl.scm (waffle): New variable.
2024-02-03 10:55:06 +01:00
Zheng Junjie
a126e8120d
gnu: mesa: Fix cross-compilation.
* 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>
2024-01-10 15:29:11 +01:00
Zheng Junjie
53d9190efd
gnu: glew: Fix cross-compiling.
* gnu/packages/gl.scm (mesa)[native-inputs]: When cross-compiling, add
cmake-minimal-cross.
[arguments]: Adjust 'fix-cross-compiling to find llvm.
* gnu/packages/llvm.scm (llvm-for-mesa)
[arguments]<#:configure-flags>: When cross-compiling, set
-DBUILD_SHARED_LIBS:BOOL=TRUE and -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE,
remove -DLLVM_LINK_LLVM_DYLIB.*.
<#:phases>: When cross-compiling, remove the 'delete-static-libraries phase.

Change-Id: If10dec7695e62604e080230e10f2b8d7167f660b
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:42 +01:00
John Kehayias
ef4e4c9a2c
Merge branch 'master' into mesa-updates
Change-Id: I46ca25bea98d25150877421c6d5161752afabb25
2024-01-04 00:03:40 -05:00
Zheng Junjie
e2ad70c951
gnu: glew: Fix cross-compiling.
gnu/packages/gl.scm(glew):
[arguments]<#:make-flags>: when cross-compiling, use {cc,strip}-for-target.

Change-Id: I365f6635120a85359083beb88cb138f09a99fe33
2024-01-03 15:32:01 +01:00
Kaelyn Takata
976fe648df
gnu: glfw: Update to 3.3.9.
* gnu/packages/gl.scm (glfw): Update to 3.3.9.

Change-Id: Ide5ec168e97d431dba007bd6095635dab83b87c4
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-12-31 11:05:38 +08:00
John Kehayias
42c448ee6e
gnu: mesa: Update to 23.3.2.
* gnu/packages/gl.scm (mesa): Update to 23.3.2.

Change-Id: Ic348c48f4045e8766646a5fe62209619a0247059
2023-12-28 23:49:15 -05:00
John Kehayias
92227248a6
Merge branch 'master' into mesa-updates
Change-Id: I16539f64df739453a83f8dfd962e04910a7d7ff5
2023-12-28 21:13:26 -05:00
John Kehayias
ebd3b3e902
gnu: mesa: Enable zink support.
* gnu/packages/gl.scm (mesa)[arguments]: Add zink to gallium-drivers in
configure-flags.

Change-Id: I1fc7e38a8307b589a7c48bc0b923fccd9ffcd8b8
2023-12-18 18:49:40 -05:00
John Kehayias
1b0e216ad6
gnu: mesa: Update to 23.3.1.
* gnu/packages/gl.scm (mesa): Update to 23.3.1.

Change-Id: Idf4393b4fa5b7df7a78bd88d7591385023460b5b
2023-12-17 01:27:03 -05:00
Zheng Junjie
1784ece7cb
gnu: Add glad, version 2.0.4.
* gnu/packages/gl.scm (glad): New variable.

Change-Id: I516d44dfc9272702c3ac31773df0b6c2d68ed99c
Modified-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-12-22 21:57:51 +08:00
Hilton Chain
4d49401031
gnu: glad-0.1: Use gexps.
* gnu/packages/gl.scm (glad-0.1)[arguments]: Use gexps.

Change-Id: I871ec0ff9c7731222f1dd0e8c95057efa1231992
2023-12-22 21:38:20 +08:00