Skip to content

Commit acaecf0

Browse files
authored
feat: add RISC-V architecture support (#1172)
* feat: add RISC-V architecture support - add linux riscv64 to build matrices for kubo and ipfs-cluster projects - add riscv64 to website targetMap for download table display - update architecture labels to industry-standard naming: - amd64: "AMD64" - arm64: "ARM64" - riscv64: "RISC-V" * fix: use POSIX-compliant cp -R flag
1 parent 9cece9a commit acaecf0

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

build-go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function doBuild() {
154154

155155
# copy dist assets if they exist
156156
if [ -e "$GOPATH/src/$package/dist" ]; then
157-
cp -r "$GOPATH/src/$package/dist/"* "$build_dir_name/"
157+
cp -R "$GOPATH/src/$package/dist/"* "$build_dir_name/"
158158
fi
159159

160160
# now package it all up

dists/ipfs-cluster-ctl/build_matrix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ freebsd amd64
44
openbsd amd64
55
linux amd64
66
linux arm64
7+
linux riscv64
78
windows amd64

dists/ipfs-cluster-follow/build_matrix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ freebsd amd64
44
openbsd amd64
55
linux amd64
66
linux arm64
7+
linux riscv64
78
windows amd64

dists/ipfs-cluster-service/build_matrix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ freebsd amd64
44
openbsd amd64
55
linux amd64
66
linux arm64
7+
linux riscv64
78
windows amd64

site/config.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ hiddenDists = ['go-ipfs', 'gx', 'gx-go', 'libp2p-relay-daemon', 'ipfs-ds-convert
1111
newGoIpfsName = 'kubo'
1212

1313
[params.targetMap]
14-
amd64 = "64-bit"
15-
arm64 = "ARM-64"
14+
amd64 = "AMD64"
15+
arm64 = "ARM64"
16+
riscv64 = "RISC-V"
1617

1718
[params.architectureMap]
1819
darwin = "macOS Binary"

0 commit comments

Comments
 (0)