Skip to content

Commit d1afec0

Browse files
authored
add archives for ARM v6 (arduino#341)
1 parent eb1091c commit d1afec0

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.goreleaser.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,22 @@ builds:
3535
# ARM
3636
id: arduino_cli_arm
3737
binary: arduino-cli
38+
env:
39+
- CGO_ENABLED=1
40+
- CC=/usr/arm-linux-gnueabi/bin/cc
41+
goos:
42+
- linux
43+
goarch:
44+
- arm
45+
goarm:
46+
- 6
47+
ldflags:
48+
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit=={{ .ShortCommit }}
49+
- "-extldflags '-static'"
50+
-
51+
# ARMv7
52+
id: arduino_cli_armv7
53+
binary: arduino-cli
3854
env:
3955
- CGO_ENABLED=1
4056
- CC=/usr/arm-linux-gnueabihf/bin/cc

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ initArch() {
3434
ARCH=$(uname -m)
3535
case $ARCH in
3636
armv5*) ARCH="armv5";;
37-
armv6*) ARCH="armv6";;
37+
armv6*) ARCH="ARMv6";;
3838
armv7*) ARCH="ARMv7";;
3939
aarch64) ARCH="ARM64";;
4040
x86) ARCH="32bit";;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy