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

Introduce riscv64 architecture #2877

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ steps:
- with: { os: linux, arch: ppc64le }
- with: { os: linux, arch: mips64le }
- with: { os: linux, arch: s390x }
- with: { os: linux, arch: riscv64 }

- with: { os: netbsd, arch: amd64 }

Expand Down
2 changes: 1 addition & 1 deletion .buildkite/steps/build-debian-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ rm -rf deb

# Build the packages into deb/
PLATFORM="linux"
for ARCH in "amd64" "386" "arm" "armhf" "arm64" "ppc64" "ppc64le"; do
for ARCH in "amd64" "386" "arm" "armhf" "arm64" "ppc64" "ppc64le" "riscv64"; do
echo "--- Building debian package ${PLATFORM}/${ARCH}"

BINARY="pkg/buildkite-agent-${PLATFORM}-${ARCH}"
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/steps/build-rpm-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ rm -rf rpm

# Build the packages into rpm/
PLATFORM="linux"
for ARCH in "amd64" "386" "arm64" "ppc64" "ppc64le"; do
for ARCH in "amd64" "386" "arm64" "ppc64" "ppc64le" "riscv64"; do
echo "--- Building rpm package ${PLATFORM}/${ARCH}"

BINARY="pkg/buildkite-agent-${PLATFORM}-${ARCH}"
Expand Down
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ else
*aarch64*) ARCH="arm64" ;;
*mips64*) ARCH="mips64le" ;;
*s390x*) ARCH="s390x" ;;
*riscv64*) ARCH="riscv64" ;;
*)
ARCH="386"
echo -e "\n\033[36mWe don't recognise the $MACHINE architecture; falling back to $ARCH\033[0m"
Expand Down
2 changes: 2 additions & 0 deletions scripts/build-debian-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ elif [ "$BUILD_ARCH" == "ppc64" ]; then
ARCH="ppc64"
elif [ "$BUILD_ARCH" == "ppc64le" ]; then
ARCH="ppc64el"
elif [ "$BUILD_ARCH" == "riscv64" ]; then
ARCH="riscv64"
else
echo "Unknown architecture: $BUILD_ARCH"
exit 1
Expand Down
2 changes: 2 additions & 0 deletions scripts/build-rpm-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ elif [ "$BUILD_ARCH" == "ppc64" ]; then
ARCH="ppc64"
elif [ "$BUILD_ARCH" == "ppc64le" ]; then
ARCH="ppc64le"
elif [ "$BUILD_ARCH" == "riscv64" ]; then
ARCH="riscv64"
else
echo "Unknown architecture: $BUILD_ARCH"
exit 1
Expand Down