Skip to content

Commit

Permalink
Change the branch to download frameworkd from.
Browse files Browse the repository at this point in the history
Differential Revision: D66031856

Pull Request resolved: pytorch#6904
  • Loading branch information
shoumikhin authored Nov 15, 2024
1 parent e32d1b7 commit c734ad4
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

frameworks=(
VERSION="0.4.0.20241115"
FRAMEWORKS=(
"backend_coreml"
"backend_mps"
"backend_xnnpack"
Expand All @@ -18,10 +19,10 @@ frameworks=(

cd "$(dirname "$0")" || exit

for framework in "${frameworks[@]}"; do
rm -f "${framework}-latest.zip"
rm -rf "${framework}.xcframework"
curl -sSLO "https://ossci-ios.s3.amazonaws.com/executorch/${framework}-latest.zip" && \
unzip -q "${framework}-latest.zip" && \
rm "${framework}-latest.zip"
for FRAMEWORK in "${FRAMEWORKS[@]}"; do
rm -f "${FRAMEWORK}-${VERSION}.zip"
rm -rf "${FRAMEWORK}.xcframework"
curl -sSLO "https://ossci-ios.s3.amazonaws.com/executorch/${FRAMEWORK}-${VERSION}.zip" && \
unzip -q "${FRAMEWORK}-${VERSION}.zip" && \
rm "${FRAMEWORK}-${VERSION}.zip"
done

0 comments on commit c734ad4

Please sign in to comment.