Skip to content

Commit

Permalink
add training configs for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
rachguo authored and rachguo committed Nov 22, 2023
1 parent 97305dc commit 13e7ee4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
def should_exclude_macos_target
if '@C_POD_NAME@' != 'onnxruntime-c'
if '@C_POD_NAME@' != 'onnxruntime-mobile-c'
return true
end
return false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"iphonesimulator": [
"arm64",
"x86_64"
],
"macosx": [
"arm64",
"x86_64"
]
},
"build_params": {
Expand All @@ -26,6 +30,9 @@
"iphonesimulator": [
"--ios",
"--apple_deploy_target=12.0"
],
"macosx": [
"--apple_deploy_target=11.0"
]
}
}
2 changes: 1 addition & 1 deletion tools/ci_build/github/apple/test_apple_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def _test_apple_packages(args):
cwd=target_proj_path,
)

if PackageVariant[args.variant] == PackageVariant.Full:
if PackageVariant[args.variant] != PackageVariant.Mobile:
subprocess.run(
[
"xcrun",
Expand Down

0 comments on commit 13e7ee4

Please sign in to comment.