forked from mirrors/nixpkgs
mesa: use older LLVM on aarch64 for now
This commit is contained in:
parent
e68633cd72
commit
0a897b2a33
|
@ -9139,12 +9139,16 @@ with pkgs;
|
|||
inherit (darwin) apple_sdk;
|
||||
}
|
||||
else alternative;
|
||||
|
||||
mesa_noglu = mesaDarwinOr (callPackage ../development/libraries/mesa {
|
||||
# makes it slower, but during runtime we link against just mesa_drivers
|
||||
# through /run/opengl-driver*, which is overriden according to config.grsecurity
|
||||
# grsecEnabled = true; # no more support in nixpkgs ATM
|
||||
llvmPackages = llvmPackages_4;
|
||||
|
||||
# llvm-4.0.0 won't pass tests on aarch64
|
||||
llvmPackages = if system == "aarch64-linux" then llvmPackages_39 else llvmPackages_4;
|
||||
});
|
||||
|
||||
mesa_glu = mesaDarwinOr (callPackage ../development/libraries/mesa-glu { });
|
||||
mesa_drivers = mesaDarwinOr (
|
||||
let mo = mesa_noglu.override {
|
||||
|
|
Loading…
Reference in a new issue