We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcd783b commit 4008962Copy full SHA for 4008962
packaging/post_build_script.sh
@@ -1,7 +1,11 @@
1
#!/bin/bash
2
set -euxo pipefail
3
4
-LD_LIBRARY_PATH="/usr/local/lib:$CUDA_HOME/lib64:$LD_LIBRARY_PATH" python packaging/wheel/relocate.py
+if [ -n "${CUDA_HOME:-}" ]; then
5
+ LD_LIBRARY_PATH="/usr/local/lib:${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}"
6
+fi
7
+
8
+python packaging/wheel/relocate.py
9
10
if [[ "$(uname)" == "Linux" && "$(uname -m)" != "aarch64" ]]; then
11
extra_decoders_channel="--pre --index-url https://download.pytorch.org/whl/nightly/cpu"
0 commit comments