Skip to content

Commit 0ddd913

Browse files
shoumikhinfacebook-github-bot
authored andcommitted
Add a script to download frameworks. (#5858)
Summary: Pull Request resolved: #5858 . Reviewed By: kirklandsign Differential Revision: D63869082 fbshipit-source-id: add46b2d73ec0cb7d98ac4021211bd6e4b4f63b7
1 parent 876c665 commit 0ddd913

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the BSD-style license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
8+
frameworks=(
9+
"backend_coreml"
10+
"backend_mps"
11+
"backend_xnnpack"
12+
"executorch"
13+
"kernels_custom"
14+
"kernels_optimized"
15+
"kernels_portable"
16+
"kernels_quantized"
17+
)
18+
19+
for framework in "${frameworks[@]}"; do
20+
rm -f "${f}-latest.zip"
21+
rm -rf "${f}.xcframework"
22+
curl -sSLO "https://ossci-ios.s3.amazonaws.com/executorch/${framework}-latest.zip" && \
23+
unzip -q "${framework}-latest.zip" && \
24+
rm "${framework}-latest.zip"
25+
done

0 commit comments

Comments
 (0)