-
Notifications
You must be signed in to change notification settings - Fork 16
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
How to compile notable for arm? #95
Comments
It would be great if @jmcfarlane provides an arm binary in the release |
I successfully compiled v0.1.2 arm builds. Binaries here
TAG="v0.1.2"
goos="linux"
arch="armv7"
buildArch="-X main.buildArch"
export GOARCH="arm"
export GOARM="7"
mkdir -p target/notable-${TAG}.${goos}-${arch}
cp LICENSE target/notable-${TAG}.${goos}-${arch}
export GOOS=$goos
export CGO_ENABLED=0
go build -o target/notable-${TAG}.${goos}-${arch}/notable Change |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I compiled it by "env GOOS=linux GOARCH=arm GOARM=5 make".
When I run it, it crashed with below output.
panic: could not locate box "static"
goroutine 1 [running]:
github.com/jmcfarlane/notable/vendor/github.com/GeertJohan/go%2erice.MustFindBox(0x40f6a2, 0x6, 0x664ca861)
The text was updated successfully, but these errors were encountered: