aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/gl.scm
Commit message (Collapse)AuthorAge
* gnu: mesa: Use standard meson.Andreas Enge2024-11-27
| | | | | | | | | 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: mesa: Update to 24.2.5.John Kehayias2024-11-05
| | | | | | * gnu/packages/gl.scm (mesa): Update to 24.2.5. Change-Id: I84b8af46617fb414b564ceda6e9772dcee3f48d6
* gnu: mesa: Update to 24.2.4.John Kehayias2024-11-05
| | | | | | * gnu/packages/gl.scm (mesa): Update to 24.2.4. Change-Id: I60a43d0344ff901c18d2b025aad7f0f9b925593b
* gnu: mesa: Update to 24.2.3.John Kehayias2024-11-05
| | | | | | * gnu/packages/gl.scm (mesa): Update to 24.2.3. Change-Id: I910baba6e1f5b9d4fb15dc37551d3dd5baabb940
* gnu: mesa: Enable NVK driver for x86_64 architecture.aurtzy2024-11-05
| | | | | | | | | | | | | | | | | * 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: mesa: Fix build on arm architectures.Efraim Flashner2024-11-05
| | | | | | | | | | | * 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
* gnu: mesa: Update configure flags.John Kehayias2024-11-05
| | | | | | | | | | | | | | | | | Previously, in 1ed0283fcc12b4b48f5b61be026a7b832d9781dc, mesa's configuration options were altered to use "auto" as needed, while it looks like this was inadvertently changed in 9b2a3e023f7090d19c98e7582220340df3962555. 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
* gnu: mesa: Update to 24.2.2.John Kehayias2024-11-05
| | | | | | | | | | | | | | | | 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
* gnu: llvm-for-mesa: Update to llvm-18.John Kehayias2024-11-05
| | | | | | | | | * 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
* gnu: glfw: Fix a missing path to a dlopen call.Arnaud Lechevallier2024-09-24
| | | | | | | | | | | 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: glfw-3.4: Fix build.Guillaume Le Vaillant2024-09-04
| | | | | | * gnu/packages/glfw.scm (glfw-3.4)[arguments]: Don't build out of source. Change-Id: I42437c60f7adbc0b087f7149b17181fbc8eab4ce
* gnu: mesa: Fix building on aarch64-linux.Efraim Flashner2024-08-31
| | | | | | | | | | | | | | | | * 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
* Agnu: mesa: Build asahi driver on aarch64.Roman Scherer2024-08-31
| | | | | | | * gnu/packages/gl.scm (mesa): Build asahi driver on aarch64. Change-Id: I597e70732b9ebd18960131f1b664b2dc83683b8e Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: glfw-3.4: New variable.Artyom V. Poptsov2024-08-12
| | | | | | | * gnu/packages/gl.scm (glfw-3.4): New variable. Change-Id: I77f2214c78f35455436897a3fbff083331295314 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* gnu: glfw: Update to 3.3.10.Artyom V. Poptsov2024-08-12
| | | | | | | * gnu/packages/gl.scm (glfw): Update to 3.3.10. Change-Id: I9d789fb74af4ed649102195891adc5e437883d30 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* Merge remote-tracking branch 'savannah/master' into mesa-updatesChristopher Baines2024-04-15
|\ | | | | | | Change-Id: I00980ec5dbd9d23ab076995bc79331d136424796
| * gnu: glmark2: Update to 2023.01.Wilko Meyer2024-04-09
| | | | | | | | | | | | | | * gnu/packages/gl.scm (glmark2): Update to 2023.01. Change-Id: Ia3a468d5da28801fc9c13de6995ca6599bbbb87c Signed-off-by: Christopher Baines <mail@cbaines.net>
* | gnu: mesa: Enable svga driver on all architectures.Efraim Flashner2024-04-07
| | | | | | | | | | | | | | * gnu/packages/gl.scm (mesa)[arguments]: Adjust configure-flags so that the svga gallium-driver is enabled on all architectures. Change-Id: I0a604f1f8e4dac511c273149b95bf9b270e8e1fe
* | gnu: mesa: Enable all the video codecs.Efraim Flashner2024-04-07
| | | | | | | | | | | | | | * gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flags to enable all the video codecs. Change-Id: Id540e4d8af8b756f1d0e4978b18e22dd19dd8985
* | gnu: mesa: Adjust skipped tests on powerpc-linux.Efraim Flashner2024-04-07
| | | | | | | | | | | | | | * gnu/packages/gl.scm (mesa)[arguments]: In the 'disable-failing-test phase enable another test when building for powerpc-linux. Change-Id: Ib043b2ea77dc145b3b067496ed45662ad635dc72
* | gnu: mesa: Enable more gallium drivers.Efraim Flashner2024-04-04
| | | | | | | | | | | | | | | | * 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: mesa: Don't skip extra tests on aarch64-linux.Efraim Flashner2024-04-04
| | | | | | | | | | | | | | * gnu/packages/gl.scm (mesa)[arguments]: In the 'disable-failing-test phase remove the test skipped only on aarch64-linux. Change-Id: I2f6d978775887270b6374faaa48318565e393767
* | gnu: mesa: Update to 24.0.4.John Kehayias2024-04-01
| | | | | | | | | | | | * gnu/packages/gl.scm (mesa): Update to 24.0.4. Change-Id: Id0c14c0ad6a45d6cdb4533053e7a116285a87e5f
* | gnu: mesa: Update to 24.0.3.John Kehayias2024-03-31
| | | | | | | | | | | | | | * gnu/packages/gl.scm (mesa): Update to 24.0.3. Co-authored-by: aurtzy <aurtzy@gmail.com> Change-Id: Id674e81154631daf9e8c33940c299dc1d26c62c5
* | gnu: mesa: Hardcode libvulkan.so's dependency for zink.Josselin Poiret2024-03-31
|/ | | | | | | | | * 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: Add piglit.Liliana Marie Prikler2024-02-03
| | | | * gnu/packages/gl.scm (piglit): New variable.
* gnu: Add waffle.Liliana Marie Prikler2024-02-03
| | | | * gnu/packages/gl.scm (waffle): New variable.
* gnu: mesa: Fix cross-compilation.Zheng Junjie2024-01-10
| | | | | | | | * 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: glew: Fix cross-compiling.Zheng Junjie2024-01-09
| | | | | | | | | | | | | | * 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>
* Merge branch 'master' into mesa-updatesJohn Kehayias2024-01-04
|\ | | | | | | Change-Id: I46ca25bea98d25150877421c6d5161752afabb25
| * gnu: glew: Fix cross-compiling.Zheng Junjie2024-01-03
| | | | | | | | | | | | | | gnu/packages/gl.scm(glew): [arguments]<#:make-flags>: when cross-compiling, use {cc,strip}-for-target. Change-Id: I365f6635120a85359083beb88cb138f09a99fe33
| * gnu: glfw: Update to 3.3.9.Kaelyn Takata2023-12-31
| | | | | | | | | | | | | | * gnu/packages/gl.scm (glfw): Update to 3.3.9. Change-Id: Ide5ec168e97d431dba007bd6095635dab83b87c4 Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
* | gnu: mesa: Update to 23.3.2.John Kehayias2023-12-28
| | | | | | | | | | | | * gnu/packages/gl.scm (mesa): Update to 23.3.2. Change-Id: Ic348c48f4045e8766646a5fe62209619a0247059
* | Merge branch 'master' into mesa-updatesJohn Kehayias2023-12-28
|\| | | | | | | Change-Id: I16539f64df739453a83f8dfd962e04910a7d7ff5
| * gnu: Add glad, version 2.0.4.Zheng Junjie2023-12-22
| | | | | | | | | | | | | | | | * 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>
| * gnu: glad-0.1: Use gexps.Hilton Chain2023-12-22
| | | | | | | | | | | | * gnu/packages/gl.scm (glad-0.1)[arguments]: Use gexps. Change-Id: I871ec0ff9c7731222f1dd0e8c95057efa1231992
| * gnu: glad: Rename to glad-0.1.Hilton Chain2023-12-22
| | | | | | | | | | | | | | | | | | * gnu/packages/gl.scm (glad): Rename variable to... (glad-0.1): ...this. * gnu/packages/electronics.scm (openboardview)[native-inputs]: Adjust accordingly. Change-Id: I5a9068186a899b8ff76feb51fd44f59e71cdb030
* | gnu: mesa: Enable zink support.John Kehayias2023-12-18
| | | | | | | | | | | | | | * gnu/packages/gl.scm (mesa)[arguments]: Add zink to gallium-drivers in configure-flags. Change-Id: I1fc7e38a8307b589a7c48bc0b923fccd9ffcd8b8
* | gnu: mesa: Update to 23.3.1.John Kehayias2023-12-17
|/ | | | | | * gnu/packages/gl.scm (mesa): Update to 23.3.1. Change-Id: Idf4393b4fa5b7df7a78bd88d7591385023460b5b
* gnu: libepoxy: Hardcode paths to GLES libraries.宋文武2023-11-05
| | | | | | | | | | Fixes <https://issues.guix.gnu.org/64981>. * gnu/packages/gl.scm (libepoxy)[arguments]<#:phases>: Hardcode paths to libGLESv1_CM.so.1 and libGLESv2.so.2. Signed-off-by: John Kehayias <john.kehayias@protonmail.com> Change-Id: I9d68a2b8f9c4ffee13ea63ea973970bf1d4c8a6d
* gnu: mesa: Update to 23.2.1.John Kehayias2023-11-05
| | | | | | * gnu/packages/gl.scm (mesa): Update to 23.2.1. Change-Id: I9014c29696317eeda2c86170ef64d57dd02fe8f4
* gnu: mesa: Fix cross-compiling.Efraim Flashner2023-10-15
| | | | | | | | * gnu/packages/gl.scm (mesa)[native-inputs]: When cross-compiling add pkg-config-for-build, wayland, wayland-protocols. [arguments]: Adjust configure-flags to use cond to also match the architecture when cross-compiling. Add phase when cross-compilng to set the location of llvm-config.
* gnu: libglvnd: Update to 1.7.0.Hilton Chain2023-09-30
| | | | | | * gnu/packages/gl.scm (libglvnd): Update to 1.7.0. Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu: glfw: Patch dlopen calls.Maxim Cournoyer2023-09-26
| | | | | * gnu/packages/gl.scm (glfw) [arguments]: Add #:modules and #:phases argument. [inputs]: New field.
* gnu: mesa: Update skipped tests on powerpc-linux.Efraim Flashner2023-08-02
| | | | | * gnu/packages/gl.scm (mesa)[arguments]: When building for powerpc-linux adjust the 'disable-failing-test phase for changes in failed tests.
* gnu: mesa: Update to 23.1.4.John Kehayias2023-07-29
| | | | * gnu/packages/gl.scm (mesa): Update to 23.1.4.
* gnu: mesa: Enable zstd compression for shader cache.Sigve Sudland2023-07-29
| | | | | | | * gnu/packages/gl.scm (mesa)[inputs]: Add zstd:lib. [arguments]: Add '-Dzstd=enabled' to configure-flags. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
* gnu: mesa: Ungraft.John Kehayias2023-07-29
| | | | | | | * gnu/packages/gl.scm (mesa)[configure-flags]: Add intel_hasvk and swrast to vulkan-drivers. [replacement]: Remove. (mesa-vulkan-hasvk): Remove variable.
* gnu: mesa: Fix VDPAU drivers path.Guillaume Le Vaillant2023-07-29
| | | | | | | | | The VDPAU_DRIVER_PATH environment variable must contain only one directory. * gnu/packages/gl.scm (mesa)[native-search-paths]: Fix specification for VDPAU_DRIVER_PATH. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
* gnu: mesa: Fix Vulkan on older Intel GPUs.Lilah Tascheter2023-07-16
| | | | | | | | | | | Mesa split the Vulkan intel driver into two: intel and intel_hasvk. Enables intel_hasvk so vulkan functions on older intel GPUs again, and swrast for lavapipe as a fallback. * gnu/packages/gl.scm (mesa-vulkan-hasvk): New variable. (mesa): Graft with mesa-vulkan-hasvk. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>