From 55aaec15f34bc6cfae4feb0a0f4ae72c9d99ae9f Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Sun, 30 May 2021 21:24:25 -0700 Subject: [PATCH] llvmPackages: Use at least LLVM 9 for RISC-V --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cd6d3879d3f4..75d4357fbf99 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11376,7 +11376,7 @@ in /**/ if platform.isDarwin then (if platform.isAarch64 then 11 else 7) else if platform.isFreeBSD then 7 else if platform.isAndroid then 12 - else if platform.isLinux then 7 + else if platform.isLinux then (if platform.isRiscV then 9 else 7) else if platform.isWasm then 8 else 11; # latest # We take the "max of the mins". Why? Since those are lower bounds of the