Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #70: Support linux-aarch64 and osx-arm64 #71

Merged
merged 4 commits into from Jun 27, 2022
Merged

Fix #70: Support linux-aarch64 and osx-arm64 #71

merged 4 commits into from Jun 27, 2022

Conversation

jonashaag
Copy link
Collaborator

@jonashaag jonashaag commented Jun 27, 2022

Fixes #70

@wolfv
Copy link
Member

wolfv commented Jun 27, 2022

awesome!

@@ -256,7 +266,8 @@ async function installMicromamba (inputs, extraChannels) {

function isSelected (item) {
if (/sel\(.*\):.*/gi.test(item)) {
return new RegExp('sel\\(' + MAMBA_PLATFORM + '\\):.*', 'gi').test(item)
const condaPlatform = getCondaArch().split('-')[0]
return new RegExp(`sel\\(${condaPlatform}\\):.*`, 'gi').test(item)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@wolfv does Mamba support CPU arch specific selectors like sel(linux-aarch64) or only sel(linux)?

Copy link
Member

Choose a reason for hiding this comment

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

only sel(linux) at the moment, sadly.

@jonashaag jonashaag marked this pull request as ready for review June 27, 2022 13:40
@wolfv wolfv merged commit 21e0d20 into main Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make it work on linux-aarch64 (and osx-arm64)
2 participants