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 0f0c838 commit 2dc0696Copy full SHA for 2dc0696
toolchain/scripts/stage4/install_libtorch.sh
@@ -37,11 +37,11 @@ case "${with_libtorch}" in
37
__INSTALL__)
38
echo "==================== Installing libtorch ===================="
39
dirname="libtorch-${libtorch_ver}"
40
- filename="${dirname}.zip"
41
- pkg_install_dir="${INSTALLDIR}/${filename}"
+ pkg_install_dir="${INSTALLDIR}/${dirname}"
42
#pkg_install_dir="${HOME}/lib/libtorch/${libtorch_ver}"
43
install_lock_file="${pkg_install_dir}/install_successful"
44
archive_file="libtorch-cxx11-abi-shared-with-deps-${libtorch_ver}%2Bcpu.zip"
+ filename="${dirname}.zip"
45
46
if verify_checksums "${install_lock_file}"; then
47
echo "${filename} is already installed, skipping it."
0 commit comments