Skip to content

Commit 6d74e65

Browse files
committed
Revert "build-binaries for riscv64 (#12688)"
This reverts commit 210b579.
1 parent 62ed17b commit 6d74e65

File tree

2 files changed

+0
-99
lines changed

2 files changed

+0
-99
lines changed

.github/workflows/build-binaries.yml

Lines changed: 0 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -691,103 +691,6 @@ jobs:
691691
name: wheels_uv_build-${{ matrix.platform.target }}
692692
path: crates/uv-build/dist
693693

694-
# Like `linux-arm`.
695-
linux-riscv64:
696-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-build') }}
697-
timeout-minutes: 30
698-
runs-on: depot-ubuntu-latest-4
699-
strategy:
700-
matrix:
701-
platform:
702-
- target: riscv64gc-unknown-linux-gnu
703-
arch: riscv64
704-
705-
steps:
706-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
707-
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5
708-
with:
709-
python-version: ${{ env.PYTHON_VERSION }}
710-
- name: "Prep README.md"
711-
run: python scripts/transform_readme.py --target pypi
712-
713-
# uv
714-
- name: "Build wheels"
715-
uses: PyO3/maturin-action@44479ae1b6b1a57f561e03add8832e62c185eb17 # v1.48.1
716-
with:
717-
target: ${{ matrix.platform.target }}
718-
manylinux: auto
719-
docker-options: ${{ matrix.platform.maturin_docker_options }}
720-
args: --release --locked --out dist --features self-update
721-
- uses: uraimo/run-on-arch-action@ac33288c3728ca72563c97b8b88dda5a65a84448 # v2
722-
name: "Test wheel"
723-
with:
724-
arch: ${{ matrix.platform.arch }}
725-
distro: ubuntu20.04
726-
githubToken: ${{ github.token }}
727-
install: |
728-
apt-get update
729-
apt-get install -y --no-install-recommends python3 python3-pip python-is-python3
730-
pip3 install -U pip
731-
run: |
732-
pip install ${{ env.PACKAGE_NAME }} --no-index --find-links dist/ --force-reinstall
733-
${{ env.MODULE_NAME }} --help
734-
# TODO(konsti): Enable this test on all platforms, currently `find_uv_bin` is failing to discover uv here.
735-
# python -m ${{ env.MODULE_NAME }} --help
736-
uvx --help
737-
- name: "Upload wheels"
738-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
739-
with:
740-
name: wheels_uv-${{ matrix.platform.target }}
741-
path: dist
742-
- name: "Archive binary"
743-
shell: bash
744-
run: |
745-
TARGET=${{ matrix.platform.target }}
746-
ARCHIVE_NAME=uv-$TARGET
747-
ARCHIVE_FILE=$ARCHIVE_NAME.tar.gz
748-
749-
mkdir -p $ARCHIVE_NAME
750-
cp target/$TARGET/release/uv $ARCHIVE_NAME/uv
751-
cp target/$TARGET/release/uvx $ARCHIVE_NAME/uvx
752-
tar czvf $ARCHIVE_FILE $ARCHIVE_NAME
753-
shasum -a 256 $ARCHIVE_FILE > $ARCHIVE_FILE.sha256
754-
- name: "Upload binary"
755-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
756-
with:
757-
name: artifacts-${{ matrix.platform.target }}
758-
path: |
759-
*.tar.gz
760-
*.sha256
761-
762-
# uv-build
763-
- name: "Build wheels uv-build"
764-
uses: PyO3/maturin-action@44479ae1b6b1a57f561e03add8832e62c185eb17 # v1.48.1
765-
with:
766-
target: ${{ matrix.platform.target }}
767-
manylinux: auto
768-
docker-options: ${{ matrix.platform.maturin_docker_options }}
769-
args: --profile minimal-size --locked --out crates/uv-build/dist -m crates/uv-build/Cargo.toml
770-
- uses: uraimo/run-on-arch-action@ac33288c3728ca72563c97b8b88dda5a65a84448 # v2
771-
name: "Test wheel uv-build"
772-
with:
773-
arch: ${{ matrix.platform.arch }}
774-
distro: ubuntu20.04
775-
githubToken: ${{ github.token }}
776-
install: |
777-
apt-get update
778-
apt-get install -y --no-install-recommends python3 python3-pip python-is-python3
779-
pip3 install -U pip
780-
run: |
781-
pip install ${{ env.PACKAGE_NAME }}-build --no-index --find-links crates/uv-build/dist --force-reinstall
782-
${{ env.MODULE_NAME }}-build --help
783-
# TODO(konsti): Enable this test on all platforms, currently `find_uv_bin` is failing to discover uv here.
784-
# python -m ${{ env.MODULE_NAME }}-build --help
785-
- name: "Upload wheels uv-build"
786-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
787-
with:
788-
name: wheels_uv_build-${{ matrix.platform.target }}
789-
path: crates/uv-build/dist
790-
791694
musllinux:
792695
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-build') }}
793696
runs-on: ubuntu-latest

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ targets = [
324324
"i686-unknown-linux-musl",
325325
"powerpc64-unknown-linux-gnu",
326326
"powerpc64le-unknown-linux-gnu",
327-
"riscv64gc-unknown-linux-gnu",
328327
"s390x-unknown-linux-gnu",
329328
"x86_64-apple-darwin",
330329
"x86_64-pc-windows-msvc",
@@ -362,7 +361,6 @@ global = "depot-ubuntu-latest-4"
362361
[workspace.metadata.dist.min-glibc-version]
363362
# Override glibc version for specific target triplets.
364363
aarch64-unknown-linux-gnu = "2.28"
365-
riscv64gc-unknown-linux-gnu = "2.31"
366364
# Override all remaining glibc versions.
367365
"*" = "2.17"
368366

0 commit comments

Comments
 (0)