Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for We (0.13 sec)

  1. ci/official/utilities/rename_and_verify_wheels.sh

    if [[ "$TFCI_WHL_AUDIT_ENABLE" == "1" ]]; then
      python3 -m auditwheel repair --plat "$TFCI_WHL_AUDIT_PLAT" --wheel-dir . *.whl
      # if the wheel is already named correctly, auditwheel won't rename it. so we
      # list all .whl files by their modification time (ls -t) and delete anything
      # other than the most recently-modified one (the new one).
      ls -t *.whl | tail -n +2 | xargs rm
    fi
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/devel.usertools/rename_and_verify_wheels.sh

    set -euxo pipefail
    
    for wheel in /tf/pkg/*.whl; do
      echo "Checking and renaming $wheel..."
      time python3 -m auditwheel repair --plat manylinux2014_aarch64 "$wheel" --wheel-dir /tf/pkg 2>&1 | tee check.txt
    
      # We don't need the original wheel if it was renamed
      new_wheel=$(grep --extended-regexp --only-matching '/tf/pkg/\S+.whl' check.txt)
      if [[ "$new_wheel" != "$wheel" ]]; then
        rm "$wheel"
        wheel="$new_wheel"
      fi
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top