Skip to content

Commit

Permalink
Add manywheel:cpu-cxx11-abi checkup for check_binary.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuhong61 committed Feb 6, 2023
1 parent 16fb06e commit 2a6c713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check_binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ else
install_root="$(dirname $(which python))/../lib/python${py_dot}/site-packages/torch/"
fi

if [[ "$DESIRED_CUDA" != 'cpu' && "$DESIRED_CUDA" != *"rocm"* ]]; then
if [[ "$DESIRED_CUDA" != 'cpu' && "$DESIRED_CUDA" != 'cpu-cxx11-abi' && "$DESIRED_CUDA" != *"rocm"* ]]; then
# cu90, cu92, cu100, cu101
if [[ ${#DESIRED_CUDA} -eq 4 ]]; then
CUDA_VERSION="${DESIRED_CUDA:2:1}.${DESIRED_CUDA:3:1}"
Expand Down Expand Up @@ -383,7 +383,7 @@ if [[ "$OSTYPE" == "msys" ]]; then
fi

# Test that CUDA builds are setup correctly
if [[ "$DESIRED_CUDA" != 'cpu' && "$DESIRED_CUDA" != *"rocm"* ]]; then
if [[ "$DESIRED_CUDA" != 'cpu' && "$DESIRED_CUDA" != 'cpu-cxx11-abi' && "$DESIRED_CUDA" != *"rocm"* ]]; then
if [[ "$PACKAGE_TYPE" == 'libtorch' ]]; then
build_and_run_example_cpp check-torch-cuda
else
Expand Down

0 comments on commit 2a6c713

Please sign in to comment.