llvmPackages: Use at least LLVM 9 for RISC-V

This commit is contained in:
Zhaofeng Li 2021-05-30 21:24:25 -07:00
parent 4d90a6bcc4
commit 55aaec15f3

View file

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