Skip to content

Commit 36f83eb

Browse files
swolchokfacebook-github-bot
authored andcommitted
Make //executorch/backends/apple/mps:mps build internally (#3641)
Summary: Pull Request resolved: #3641 Was getting linker errors due to missing foundation framework, and need to deploy to recent macOS SDK. Reviewed By: cccclai Differential Revision: D57456696 fbshipit-source-id: a8b35d4c09d357bb6d68259a46e2dbcf5bbd98eb
1 parent 524703f commit 36f83eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backends/apple/mps/targets.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,13 @@ def define_common_targets(is_xplat = False, platforms = []):
5656

5757
if is_xplat:
5858
kwargs["fbobjc_frameworks"] = [
59+
"Foundation",
5960
"Metal",
6061
"MetalPerformanceShaders",
6162
"MetalPerformanceShadersGraph",
6263
]
6364
kwargs["fbobjc_ios_target_sdk_version"] = "17.0"
65+
kwargs["fbobjc_macosx_target_sdk_version"] = "14.0"
6466
kwargs["platforms"] = platforms
6567

6668
if runtime.is_oss or is_xplat:

0 commit comments

Comments
 (0)