Skip to content

Commit

Permalink
Add support for Sys.ARCH = :powerpc64le (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-ramadhan authored Sep 9, 2020
1 parent 54adc65 commit dc1c1c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Conda.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ function _installer_url()
end

# mapping of Julia architecture names to Conda architecture names, where they differ
arch2conda = Dict(:i686 => :x86)
arch2conda = Dict(:i686 => :x86, :powerpc64le => :ppc64le)

if Sys.ARCH in (:i686, :x86_64, :ppc64le)
if Sys.ARCH in (:i686, :x86_64, :ppc64le, :powerpc64le)
res *= string('-', get(arch2conda, Sys.ARCH, Sys.ARCH))
else
error("Unsupported architecture: $(Sys.ARCH)")
Expand Down

2 comments on commit dc1c1c7

@stevengj
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/24040

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.5.0 -m "<description of version>" dc1c1c77afe796f816a7fae29cacf87cacb56986
git push origin v1.5.0

Please sign in to comment.