Skip to content

Commit f3e1fa6

Browse files
authored
[AutoBuild] Don't allow building for riscv64 for old Julia (#1356)
1 parent 31cdda0 commit f3e1fa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AutoBuild.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ function build_tarballs(ARGS, src_name, src_version, sources, script,
196196
end
197197

198198
# Throw an error if we're going to build for platforms not supported by Julia v1.5-.
199-
if any(p -> arch(p) == "armv6l" || (Sys.isbsd(p) && arch(p) == "aarch64"), platforms) && minimum_compat(julia_compat) < v"1.6"
199+
if any(p -> arch(p) in ("armv6l", "riscv64") || (Sys.isbsd(p) && arch(p) == "aarch64"), platforms) && minimum_compat(julia_compat) < v"1.6"
200200
error("Experimental platforms cannot be used with Julia v1.5-.\nChange `julia_compat` to require at least Julia v1.6")
201201
end
202202

0 commit comments

Comments
 (0)