Skip to content

Commit 3a2e90b

Browse files
committed
Try again
1 parent caa69ed commit 3a2e90b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/scripts/setup-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ echo '::endgroup::'
100100

101101
echo '::group::Install torchvision-extra-decoders'
102102
# This can be done after torchvision was built
103-
if [[ "$(uname)" == "Linux" && "$ARCH" != "aarch64" ]]; then
103+
if [[ "$(uname)" == "Linux" && "$(uname -m)" != "aarch64" ]]; then
104104
extra_decoders_channel="--pre --index-url https://download.pytorch.org/whl/nightly/cpu"
105105
else
106106
extra_decoders_channel=""

packaging/post_build_script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
LD_LIBRARY_PATH="/usr/local/lib:$CUDA_HOME/lib64:$LD_LIBRARY_PATH" python packaging/wheel/relocate.py
33

4-
if [[ "$(uname)" == "Linux" && "$ARCH" != "aarch64" ]]; then
4+
if [[ "$(uname)" == "Linux" && "$(uname -m)" != "aarch64" ]]; then
55
extra_decoders_channel="--pre --index-url https://download.pytorch.org/whl/nightly/cpu"
66
else
77
extra_decoders_channel=""

0 commit comments

Comments
 (0)