mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Cleanup buck_setup.sh a bit (#80198)
Use `curl -L |tar xf` to extract downloadable file right into the folder one wants to use Pull Request resolved: https://github.com/pytorch/pytorch/pull/80198 Approved by: https://github.com/linbinyu
This commit is contained in:
parent
35268bdc2a
commit
2d7d5a75aa
|
|
@ -12,17 +12,13 @@ python3 generate-xnnpack-wrappers.py
|
||||||
|
|
||||||
# bazel-skylib
|
# bazel-skylib
|
||||||
printf "\n[Downloading bazel-skylib-1.0.2]\n"
|
printf "\n[Downloading bazel-skylib-1.0.2]\n"
|
||||||
curl -L -o /tmp/bazel-skylib-1.0.2.tar.gz https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz
|
rm -rf bazel-skylib; mkdir bazel-skylib
|
||||||
rm -rf bazel-skylib/
|
curl -L https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz|tar zx -C bazel-skylib
|
||||||
mkdir bazel-skylib
|
|
||||||
tar -xf /tmp/bazel-skylib-1.0.2.tar.gz -C bazel-skylib/
|
|
||||||
|
|
||||||
# glog
|
# glog
|
||||||
printf "\n[Downloading glog-0.4.0]\n"
|
printf "\n[Downloading glog-0.4.0]\n"
|
||||||
curl -L -o /tmp/glog-0.4.0.tar.gz https://github.com/google/glog/archive/v0.4.0.tar.gz
|
rm -rf glog; mkdir glog
|
||||||
tar -xf /tmp/glog-0.4.0.tar.gz -C /tmp/
|
curl -L https://github.com/google/glog/archive/v0.4.0.tar.gz | tar zx -C glog --strip-components 1
|
||||||
rm -rf glog/
|
|
||||||
mv /tmp/glog-0.4.0/ glog/
|
|
||||||
|
|
||||||
# ruy
|
# ruy
|
||||||
printf "\n[Downloading ruy]\n"
|
printf "\n[Downloading ruy]\n"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user