stdenv: aarch64 is also ARM
This commit is contained in:
parent
71161443b4
commit
a5f4e22289
3 changed files with 6 additions and 5 deletions
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||
"echo : \\\${ac_cv_func_clock_gettime=\'yes\'} > config.cache";
|
||||
|
||||
configureFlags = [ "--disable-valgrind" ]
|
||||
++ stdenv.lib.optionals (stdenv.isArm || stdenv.isAarch64) [ "--enable-tegra-experimental-api" "--enable-etnaviv-experimental-api" ]
|
||||
++ stdenv.lib.optionals stdenv.isArm [ "--enable-tegra-experimental-api" "--enable-etnaviv-experimental-api" ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin "-C";
|
||||
|
||||
crossAttrs.configureFlags = configureFlags ++ [ "--disable-intel" ];
|
||||
|
|
|
@ -30,15 +30,15 @@ else
|
|||
|
||||
let
|
||||
defaultGalliumDrivers =
|
||||
if (stdenv.isArm || stdenv.isAarch64)
|
||||
if stdenv.isArm
|
||||
then ["nouveau" "freedreno" "vc4" "etnaviv"]
|
||||
else ["i915" "ilo" "r300" "r600" "radeonsi" "nouveau"];
|
||||
defaultDriDrivers =
|
||||
if (stdenv.isArm || stdenv.isAarch64)
|
||||
if stdenv.isArm
|
||||
then ["nouveau"]
|
||||
else ["i915" "i965" "nouveau" "radeon" "r200"];
|
||||
defaultVulkanDrivers =
|
||||
if (stdenv.isArm || stdenv.isAarch64)
|
||||
if stdenv.isArm
|
||||
then []
|
||||
else ["intel"] ++ lib.optional enableRadv "radeon";
|
||||
in
|
||||
|
|
|
@ -397,7 +397,8 @@ let
|
|||
|| system == "mips64el-linux";
|
||||
isArm = system == "armv5tel-linux"
|
||||
|| system == "armv6l-linux"
|
||||
|| system == "armv7l-linux";
|
||||
|| system == "armv7l-linux"
|
||||
|| system == "aarch64-linux";
|
||||
isAarch64 = system == "aarch64-linux";
|
||||
isBigEndian = system == "powerpc-linux";
|
||||
|
||||
|
|
Loading…
Reference in a new issue