Commit Graph

429 Commits

Author SHA1 Message Date
AndersonTorres
ed2b1b4b90 Merge branch 'master' into staging-next 2022-02-26 21:04:25 -03:00
Michael Weiss
6431bebc93
mesa: Limit the devDoesNotDependOnLLVM test to Linux
The required modifications in the postInstall phase are only applied on
Linux and the test currently fails on Darwin:
https://github.com/NixOS/nixpkgs/runs/5344236204
> building '/nix/store/45s58pv9j6a19wr9izx49s6i0i4qshxs-mesa-dev-does-not-depend-on-llvm.drv'...
> error: output '/nix/store/czmszfcwdx87vx2wf80lhp3h9skqqcfs-mesa-dev-does-not-depend-on-llvm' is not allowed to refer to the following paths:
>          /nix/store/cwb5g57al7iizw456ah9rk49cxb47wi3-mesa-21.3.7-drivers
2022-02-26 18:48:17 +01:00
Michael Weiss
42890734c3
mesa: 21.3.6 -> 21.3.7 2022-02-26 12:33:53 +01:00
Michael Weiss
cee6a92b21
mesa: 21.3.5 -> 21.3.6 2022-02-17 20:43:44 +01:00
Michael Weiss
4d54ec489c mesa: 21.3.4 -> 21.3.5 2022-01-29 00:36:25 -08:00
Michael Weiss
c1a7122670
mesa: 21.3.3 -> 21.3.4 2022-01-13 20:40:27 +01:00
Michael Weiss
9b760ab5c4
mesa: 21.3.2 -> 21.3.3 2021-12-30 12:25:26 +01:00
Michael Weiss
62dc6893b7
mesa: 21.3.1 -> 21.3.2 2021-12-18 21:13:29 +01:00
Michael Weiss
5390a70302
mesa: 21.2.6 -> 21.3.1 2021-12-01 23:18:56 +01:00
Michael Weiss
63a370df6f
mesa: 21.2.5 -> 21.2.6 2021-11-25 23:26:00 +01:00
Cole Mickens
4e54a9fad0
mesa: /run/opengl-driver in gbm-backend-paths 2021-11-09 23:53:19 -08:00
github-actions[bot]
ba990541d1
Merge staging-next into staging 2021-10-30 00:02:03 +00:00
Michael Weiss
f8d1de8e18
mesa: 21.2.4 -> 21.2.5 2021-10-28 21:36:58 +02:00
Yuka
8daecb33b9
mesa: update musl patches (#141970)
Also remove a patch that was upstreamed
2021-10-23 13:32:39 +02:00
Jonathan Ringer
5957e9f064
mesa: 21.2.3 -> 21.2.4 2021-10-15 22:36:34 +02:00
Rick van Schijndel
5d30f708b9 mesa: add llvm as dependency for llvm-config-native
Fixes https://github.com/NixOS/nixpkgs/issues/136926
2021-10-13 22:36:23 +02:00
Michael Weiss
b88fce906f
mesa: 21.2.2 -> 21.2.3 2021-09-30 01:00:34 +02:00
github-actions[bot]
42ade1cfa3
Merge staging-next into staging 2021-09-22 18:01:40 +00:00
Michael Weiss
f36df15fe5
mesa: 21.2.1 -> 21.2.2 2021-09-21 23:49:01 +02:00
Troels Henriksen
b41d29dd31
mesa: restore OpenCL support
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Simon Bruder <simon@sbruder.de>
2021-09-18 23:40:09 +02:00
Michael Weiss
8761186f0a
mesa: 21.1.7 -> 21.2.1 2021-08-19 23:13:25 +02:00
Alyssa Ross
f5db95a96a
mesa: 21.1.6 -> 21.1.7 2021-08-13 11:15:59 +02:00
Michael Weiss
364bb239ab
mesa: 21.1.5 -> 21.1.6 2021-07-29 10:54:36 +02:00
ash lea
1b3ba289b2 mesa: fix datadir location 2021-07-24 15:11:58 +02:00
github-actions[bot]
6d11e6d03e
Merge master into staging-next 2021-07-17 00:01:37 +00:00
TredwellGit
79a4590495 steamPackages.steam-fhsenv: fix Proton
LLVM must match version required by Mesa.

Fixes https://github.com/NixOS/nixpkgs/issues/127068
2021-07-16 15:13:31 -07:00
Michael Weiss
b5a7a474d1
mesa: 21.1.4 -> 21.1.5 2021-07-15 11:41:34 +02:00
Michael Weiss
f7997354b7
wayland-scanner: use for nativeBuildInputs
This makes things more explicit (and less confusing) but only touches
the packages that I maintain.
2021-07-03 17:56:23 +02:00
Michael Weiss
e23145b62a
mesa: 21.1.3 -> 21.1.4 2021-07-01 13:13:43 +02:00
Michael Weiss
ecbe6c123f
mesa: 21.1.2 -> 21.1.3
I've also updated the URL for the RISC-V patch in case the content of
the old URL will change (not sure if that's possible after a merge
request is merged but now that the patch is upstream it seems like a
good idea regardless; and the content has actually already changed so
the old hash wasn't correct anymore).
2021-06-18 22:58:15 +02:00
Zhaofeng Li
f885e987ef mesa: Add patch for RISC-V driver selection 2021-06-12 23:17:13 -07:00
Zhaofeng Li
1f007dd009 Use lib.meta.availableOn for optional Valgrind dependency 2021-06-12 23:17:13 -07:00
Jonathan Ringer
012a33b0de mesa: fix darwin build 2021-06-06 22:31:19 -07:00
Michael Weiss
70029711d4
mesa: 21.1.1 -> 21.1.2 2021-06-02 23:09:36 +02:00
Michael Weiss
e56bed6bdb
mesa: 21.0.3 -> 21.1.1
Note: This update likely causes some issues when running an application
that has a direct dependency on Mesa (e.g. Sway and XWayland) and was
compiled against a different Nixpkgs revision. See 7106fca0fe for more
details regarding that issue.
2021-05-24 18:43:28 +02:00
Michael Weiss
7106fca0fe
mesa: 21.0.1 -> 21.0.3
Note: The update to Mesa 21.0.2 was reverted (25ae1fd29f) because it
caused major issues with Sway (segfault on startup [0]).
This is still the case and might affect all packages that directly
depend on "mesa" (for libgbm or libglapi) but it only causes issues when
the package depends on a "mesa" version that differs from "mesa.drivers"
used for "/run/opengl-driver/". I've noticed this while testing Mesa
updates with the NixOS option "hardware.opengl.package" (as usual)
instead of rebuilding my whole system (which would work). Unfortunately
this can/will likely also cause issues when mixing different channels,
using Flakes/Overlays, etc.

The cause of this should be similar to [1] ("mesa" updates now cause the
same issues that "glibc" updates already do, maybe triggered by certain
Mesa changes) and some additional discussions is in [2],[3].

Note: Don't backport this to NixOS 21.05, at least not without careful
consideration.

[0]: https://github.com/NixOS/nixpkgs/pull/118753#issuecomment-818950977
[1]: https://github.com/NixOS/nixpkgs/issues/95808
[2]: https://github.com/NixOS/nixpkgs/pull/120325
[3]: https://github.com/NixOS/nixpkgs/pull/119558
2021-05-20 18:59:09 +02:00
Michael Weiss
ba7ede846b
mesa: Cleanup enableRadv (not used anymore) 2021-05-20 18:59:09 +02:00
Alyssa Ross
31c5b4fe9b mesa: don't manually enableParallelBuilding
This is automatic for Meson builds.
2021-05-12 11:57:35 +00:00
John Ericson
96f700fc24 mesa: Fix build
Needed more LLVM outputs
2021-04-30 22:08:26 +00:00
Las
e22d1d37cc mesa: Don't fail to build when d3d isn't built 2021-04-28 21:10:58 +00:00
Michael Weiss
25ae1fd29f
Revert "mesa: 21.0.1 -> 21.0.2"
This reverts commit e3bc983d8f.

It caused segmentation faults for at least Sway and XWayland with the
iris driver, see [0]. The cause and impact of this regression is still
unknown but let's revert it until we know more.

[0]: https://github.com/NixOS/nixpkgs/pull/118753#issuecomment-818950977
2021-04-13 20:36:45 +02:00
Gabriel Ebner
acbfd3f7c0 mesa: add driversdev output and test that dev doesn't depend on drivers
OpenGL applications should not depend on the Mesa drivers, since these
are supposed to be loaded at runtime from /run/opengl-driver using the
glvnd library.  Furthermore, the drivers output has a large closure
since it depends on LLVM.

The only dependency from dev to drivers came from the xatracker
pkg-config file.  This commit moves this file into a new
output called driversdev.
2021-04-09 09:26:12 +02:00
Michael Weiss
e3bc983d8f
mesa: 21.0.1 -> 21.0.2 2021-04-07 20:34:37 +02:00
Michael Weiss
8cd7e290e4
mesa: 20.3.5 -> 21.0.1 (#109319) 2021-03-25 15:34:08 +01:00
Michael Weiss
f6e726a3db
mesa: 20.3.4 -> 20.3.5 (#117513) 2021-03-25 14:54:04 +01:00
Ivan Babrou
5363f1714b mesa: fix missing timespec_get on aarch64-darwin
This doesn't affect any other target.

See: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1020
2021-02-20 10:03:52 -08:00
Michael Weiss
d51b3b7413
mesa: 20.3.3 -> 20.3.4 (#111202) 2021-01-30 01:00:41 +01:00
zowoq
153ad8bc1e Merge staging-next into staging 2021-01-22 16:56:40 +10:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jan Tojnar
fc7bd322df
Merge branch 'staging-next' into staging 2021-01-19 13:50:04 +01:00