Skip to content

Commit 2bcd78b

Browse files
committed
More riscv64 support
1 parent 1dcf9d5 commit 2bcd78b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/riscv64.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ BinaryPlatforms.arch_march_isa_mapping["riscv64"] = ["riscv64" => get_set("riscv
8989

9090
function Base.parse(::Type{Platform}, triplet::AbstractString; validate_strict::Bool = false)
9191
# Re-insert the architecture because the global assignments above don't stick
92+
CPUID.ISAs_by_family["riscv64"] = [
93+
# We have no way to test riscv64 features yet, so we're only going to declare the lowest ISA:
94+
"riscv64" => CPUID.ISA(Set{UInt32}()),
95+
]
9296
arch_mapping["riscv64"] = "(rv64|riscv64)"
9397
arch_march_isa_mapping["riscv64"] = ["riscv64" => get_set("riscv64", "riscv64")]
9498

0 commit comments

Comments
 (0)