Skip to content

Commit b818c10

Browse files
committed
Overwrite more BinaryPlatform functions
1 parent 5ee88e7 commit b818c10

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/riscv64.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ function Base.BinaryPlatforms.validate_tags(tags::Dict)
7272
end
7373
end
7474

75-
using .BinaryPlatforms: arch_mapping
7675
BinaryPlatforms.arch_mapping["riscv64"] = "(rv64|riscv64)"
7776

7877
function get_set(arch, name)
@@ -83,6 +82,10 @@ BinaryPlatforms.arch_march_isa_mapping["riscv64"] =
8382
["riscv64" => get_set("riscv64", "riscv64")]
8483

8584
end
85+
86+
using .BinaryPlatforms: arch_mapping, os_mapping, libc_mapping, call_abi_mapping,
87+
libgfortran_version_mapping, cxxstring_abi_mapping, libstdcxx_version_mapping
88+
8689
function Base.parse(::Type{Platform}, triplet::AbstractString; validate_strict::Bool = false)
8790
# Helper function to collapse dictionary of mappings down into a regex of
8891
# named capture groups joined by "|" operators

0 commit comments

Comments
 (0)