3
0
Fork 0
forked from mirrors/nixpkgs

mesa: use older LLVM on aarch64 for now

This commit is contained in:
Vladimír Čunát 2017-05-06 15:53:06 +02:00
parent e68633cd72
commit 0a897b2a33
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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 {