Skip to content

Commit e17b128

Browse files
authored
Build iOS example app for metal MSM benchmark (#85)
Build iOS example app for metal MSM benchmark
2 parents 8d51dc1 + 6c5fb22 commit e17b128

43 files changed

Lines changed: 6381 additions & 2 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

example-app/Config.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
target_adapters = ["circom"]
2-
target_platforms = []
3-
ios = []
2+
target_platforms = ["ios"]
3+
ios = [
4+
"aarch64-apple-ios-sim",
5+
"aarch64-apple-ios",
6+
"x86_64-apple-ios",
7+
]
48
android = []
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AvailableLibraries</key>
6+
<array>
7+
<dict>
8+
<key>BinaryPath</key>
9+
<string>libexample_app.a</string>
10+
<key>HeadersPath</key>
11+
<string>Headers</string>
12+
<key>LibraryIdentifier</key>
13+
<string>ios-arm64_x86_64-simulator</string>
14+
<key>LibraryPath</key>
15+
<string>libexample_app.a</string>
16+
<key>SupportedArchitectures</key>
17+
<array>
18+
<string>arm64</string>
19+
<string>x86_64</string>
20+
</array>
21+
<key>SupportedPlatform</key>
22+
<string>ios</string>
23+
<key>SupportedPlatformVariant</key>
24+
<string>simulator</string>
25+
</dict>
26+
<dict>
27+
<key>BinaryPath</key>
28+
<string>libexample_app.a</string>
29+
<key>HeadersPath</key>
30+
<string>Headers</string>
31+
<key>LibraryIdentifier</key>
32+
<string>ios-arm64</string>
33+
<key>LibraryPath</key>
34+
<string>libexample_app.a</string>
35+
<key>SupportedArchitectures</key>
36+
<array>
37+
<string>arm64</string>
38+
</array>
39+
<key>SupportedPlatform</key>
40+
<string>ios</string>
41+
</dict>
42+
</array>
43+
<key>CFBundlePackageType</key>
44+
<string>XFWK</string>
45+
<key>XCFrameworkFormatVersion</key>
46+
<string>1.0</string>
47+
</dict>
48+
</plist>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module moproFFI {
2+
header "moproFFI.h"
3+
export *
4+
}

0 commit comments

Comments
 (0)