This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to tag v0.12.0-a4
in repository https://gitbox.apache.org/repos/asf/fory.git

commit bfdc6915eb8807f9d23a5c4d7bb70b38bf15178b
Author: chaokunyang <[email protected]>
AuthorDate: Fri Aug 15 18:16:04 2025 +0800

    rename to manylinux1
---
 ci/deploy.sh | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/ci/deploy.sh b/ci/deploy.sh
index 9a71fceb9..3a84aa405 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -94,6 +94,7 @@ build_pyfory() {
     export LD_LIBRARY_PATH="$PYARROW_LIB_DIR:$LD_LIBRARY_PATH"
     auditwheel repair ../dist/pyfory-*-linux_*.whl --plat "$PLAT" --exclude 
'*arrow*' --exclude '*parquet*' --exclude '*numpy*' -w ../dist/
     rm ../dist/pyfory-*-linux_*.whl
+    process_linux_wheels ../dist
   elif [[ "$OSTYPE" == "darwin"* ]]; then
     echo "Skip macos wheel repair"
   elif [[ "$OSTYPE" == "msys" || "$OSTYPE" == "win32" ]]; then
@@ -103,6 +104,24 @@ build_pyfory() {
   popd
 }
 
+process_linux_wheels() {
+  # copy 
pyfory-0.12.0a3-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl 
to pyfory-0.12.0a3-cp310-cp310-manylinux1_aarch64.whl
+  # copy 
pyfory-0.12.0a3-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl to 
pyfory-0.12.0a3-cp310-cp310-manylinux1_x86_64.whl
+  cd "$1"
+  for path in *.whl; do
+    ## if is x86_64, then rename to manylinux1_x86_64
+    ## if is aarch64, then rename to manylinux1_aarch64
+    if [[ "$path" == *"x86_64"* ]]; then
+      wheel tags --platform-tag manylinux1_x86_64 "$path"
+      wheel tags --platform-tag manylinux2_x86_64 "$path"
+      wheel tags --platform-tag manylinux2014_x86_64 "$path"
+    elif [[ "$path" == *"aarch64"* ]]; then
+      wheel tags --platform-tag manylinux2014_aarch64 "$path"
+    fi
+  done
+  cd -
+}
+
 install_pyarrow() {
   pyversion=$(python -V | cut -d' ' -f2)
   if [[ $pyversion  ==  3.13* ]]; then


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to