File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
extension/benchmark/apple/Benchmark/Frameworks Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 5
5
# This source code is licensed under the BSD-style license found in the
6
6
# LICENSE file in the root directory of this source tree.
7
7
8
- frameworks=(
8
+ VERSION=" 0.4.0.20241115"
9
+ FRAMEWORKS=(
9
10
" backend_coreml"
10
11
" backend_mps"
11
12
" backend_xnnpack"
@@ -18,10 +19,10 @@ frameworks=(
18
19
19
20
cd " $( dirname " $0 " ) " || exit
20
21
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"
27
28
done
You can’t perform that action at this time.
0 commit comments