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

Running on Linux ARM? #53

Open
adamwolf opened this issue Aug 22, 2019 · 8 comments
Open

Running on Linux ARM? #53

adamwolf opened this issue Aug 22, 2019 · 8 comments
Labels
enhancement New feature or request

Comments

@adamwolf
Copy link

Hi folks! This looks great. I want to try it out on an ARM box of mine, but the executable doesn't work, of course. I'll grab the source and see if I can make it go, but any thoughts on adding an "advanced linux installation" section or something?

@sqshq
Copy link
Owner

sqshq commented Aug 22, 2019

Hi @adamwolf,
The plan is to support ARM cross-compilation (I don't have ARM machine) and release Linux ARM artifact along with others. Right now there is an issue with Oto player which prevents me to do that.

I'm thinking about alternatives, but there is a big chance that getting rid of trigger sound tone is the only way to go. Anyway, will be resolved in upcoming releases.

@adamwolf
Copy link
Author

adamwolf commented Aug 22, 2019 via email

@sqshq sqshq added the enhancement New feature or request label Aug 24, 2019
@klundry
Copy link

klundry commented Jul 30, 2020

I was able to install golang and build it that way.

Do you have any tips on how you got it to build? I get the oto player errors and it fails. Is there something I can modify to remove the oto player dependency so it will build?

@pablolibo
Copy link

@adamwolf Could you share the steps for build? :)

@adamwolf
Copy link
Author

adamwolf commented Sep 5, 2020

Unfortunately, my notes for that are with a previous contract, and I do not recall. Sorry!

@oersted81
Copy link

oersted81 commented Dec 10, 2020

on RPI 3B+ Rasbian Buster as root:

apt install golang libasound2-dev git
git clone https://github.com/sqshq/sampler.git
cd sampler/
env GOOS=linux GOARCH=arm GOARM=7 go build
mv sampler /usr/local/bin/
chmod +x /usr/local/bin/sampler

@klundry
Copy link

klundry commented Dec 10, 2020

Thanks! Also works for me on aarch64 with the following line

env GOOS=linux GOARCH=arm64 go build

@peanball
Copy link

also works by forcing the platform on Docker to an arm architecture, e.g.

docker run -it --rm  --platform linux/arm golang:1.17

and then in that container running:

apt update
apt install -y libasound2-dev
git clone https://github.com/sqshq/sampler.git
go build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants