Skip to content

Commit

Permalink
Merge pull request #13 from dfinity/enzoh/raspberry-pi
Browse files Browse the repository at this point in the history
Add support for Linux on 32-bit ARM
  • Loading branch information
enzoh authored May 3, 2021
2 parents 1ba328d + aedea79 commit 7ac9612
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v1.4.1

- Add support for Linux on 32-bit ARM.

## v1.4.0

- Add support for latest MacOS and Windows.
Expand Down
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MAJOR ?= 1
MINOR ?= 4
PATCH ?= 0
PATCH ?= 1

LDFLAGS := -X=main.MAJOR=$(MAJOR)
LDFLAGS += -X=main.MINOR=$(MINOR)
Expand Down Expand Up @@ -48,6 +48,12 @@ release:
openssl dgst -sha256 keysmith-linux-amd64.tar.gz >> SHA256.SUM
mv keysmith-linux-amd64.tar.gz release

# Create release for linux/arm32.
GOOS=linux GOARCH=arm go build $(GOFLAGS)
tar -c -f keysmith-linux-arm32.tar.gz -z keysmith
openssl dgst -sha256 keysmith-linux-arm32.tar.gz >> SHA256.SUM
mv keysmith-linux-arm32.tar.gz release

# Create release for linux/arm64.
GOOS=linux GOARCH=arm64 go build $(GOFLAGS)
tar -c -f keysmith-linux-arm64.tar.gz -z keysmith
Expand Down

0 comments on commit 7ac9612

Please sign in to comment.