Skip to content

Commit c734ad4

Browse files
authored
Change the branch to download frameworkd from.
Differential Revision: D66031856 Pull Request resolved: #6904
1 parent e32d1b7 commit c734ad4

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

extension/benchmark/apple/Benchmark/Frameworks/download_frameworks.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8-
frameworks=(
8+
VERSION="0.4.0.20241115"
9+
FRAMEWORKS=(
910
"backend_coreml"
1011
"backend_mps"
1112
"backend_xnnpack"
@@ -18,10 +19,10 @@ frameworks=(
1819

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

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

0 commit comments

Comments
 (0)