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

request: arm64 conda install #185

Open
ctb opened this issue May 5, 2022 · 9 comments
Open

request: arm64 conda install #185

ctb opened this issue May 5, 2022 · 9 comments

Comments

@ctb
Copy link
Contributor

ctb commented May 5, 2022

hi! looks like an arm64 package isn't being built. further investigation suggests that maybe bioconda doesn't do arm64 yet: bioconda/bioconda-utils#706, bioconda/bioconda-recipes#23454. conda-forge seems to, however.

so, just dropping this here, not sure there's anything to be done unless you want to move to conda-forge :)

@shenwei356
Copy link
Owner

Oh, yes, hope Bioconda supports it soon. We have to ask users to manually download the arm64 binaries right now.

I'm not sure if it's difficult to submit to conda-forge, I'll try it for the next version.

@corneliusroemer
Copy link

You'd have to build from source - conda forge doesn't like repackaging binaries.

But maybe they are more lenient with ARM?

@shenwei356
Copy link
Owner

I've added a guide to installing from source for other tools, it could help.

# ------------------- install golang -----------------

# download Go from https://go.dev/dl
wget https://go.dev/dl/go1.17.13.linux-amd64.tar.gz

tar -zxf go1.17.13.linux-amd64.tar.gz -C $HOME/

# or 
#   echo "export PATH=$PATH:$HOME/go/bin" >> ~/.bashrc
#   source ~/.bashrc
export PATH=$PATH:$HOME/go/bin


# ------------- the latest stable version -------------

go get -v -u github.com/shenwei356/csvtk/csvtk

# The executable binary file is located in:
#   ~/go/bin/csvtk
# You can also move it to anywhere in the $PATH
mkdir -p $HOME/bin
cp ~/go/bin/csvtk $HOME/bin/

# --------------- the development version --------------

git clone https://github.com/shenwei356/csvtk
cd csvtk/csvtk/
go build

# The executable binary file is located in:
#   ./csvtk
# You can also move it to anywhere in the $PATH
mkdir -p $HOME/bin
cp ./csvtk $HOME/bin/

@shenwei356
Copy link
Owner

It looks like conda supports this now: bioconda/bioconda-recipes#46620

@corneliusroemer
Copy link

Yep, linux-arm64 support is quite recent, like 2 weeks old

@shenwei356
Copy link
Owner

That's really good news. How about MacOS-arm? Where can I find the tutorial or an example? I didn't find any after searching.

@corneliusroemer
Copy link

MacOS arm is in the works, they say, but it's hard to tell from the outside whether that's a few months or years.

What tutorial were you looking for?

@shenwei356
Copy link
Owner

Document about how to provide conda packages for arm platforms :)

@corneliusroemer
Copy link

Here we go: https://bioconda.github.io/developer/aarch64.html

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

No branches or pull requests

3 participants