llvmPackage: Use LLVM 11 for RISC-V

This commit is contained in:
Zhaofeng Li 2021-06-10 11:35:57 -07:00
parent e14843556c
commit cc4e1d5de9

View file

@ -11489,7 +11489,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 (if platform.isRiscV then 9 else 7)
else if platform.isLinux then (if platform.isRiscV then 11 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