Skip to content

Commit

Permalink
chore: fix musl versiondb links and generator
Browse files Browse the repository at this point in the history
  • Loading branch information
strophy committed Jan 2, 2024
1 parent 75f0dfc commit a2dfe0c
Show file tree
Hide file tree
Showing 4 changed files with 2,077 additions and 2,071 deletions.
12 changes: 9 additions & 3 deletions scripts/versiondb/updateversiondb.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ function triplet2channel(triplet)
"x86"
elseif triplet=="aarch64-linux-gnu"
"aarch64"
elseif triplet=="x86_64-linux-musl"
"x64"
elseif triplet=="i686-linux-musl"
"x86"
elseif triplet=="aarch64-linux-musl"
"aarch64"
else
error("Unknown platform.")
end
Expand Down Expand Up @@ -59,11 +65,11 @@ function get_available_versions(data, platform)
elseif platform=="aarch64-unknown-linux-gnu"
["aarch64-linux-gnu"]
elseif platform=="x86_64-unknown-linux-musl"
["x86_64-linux-gnu", "i686-linux-gnu"]
["x86_64-linux-musl", "i686-linux-musl"]
elseif platform=="i686-unknown-linux-musl"
["i686-linux-gnu"]
["i686-linux-musl"]
elseif platform=="aarch64-unknown-linux-musl"
["aarch64-linux-gnu"]
["aarch64-linux-musl"]
else
error("Unknown platform.")
end
Expand Down
Loading

0 comments on commit a2dfe0c

Please # to comment.