File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,8 @@ function(extract_sources sources_file)
206206 if (CMAKE_SYSTEM_NAME STREQUAL "Darwin" )
207207 if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" )
208208 set (target_platforms_arg "--target-platforms=shim//:macos-arm64" )
209+ elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" )
210+ set (target_platforms_arg "--target-platforms=shim//:macos-x86_64" )
209211 endif ()
210212 endif ()
211213
Original file line number Diff line number Diff line change @@ -90,3 +90,11 @@ execution_platform(
9090 use_windows_path_separators = False ,
9191 visibility = ["PUBLIC" ],
9292)
93+
94+ execution_platform (
95+ name = "macos-x86_64" ,
96+ cpu_configuration = "prelude//cpu:x86_64" ,
97+ os_configuration = "prelude//os:macos" ,
98+ use_windows_path_separators = False ,
99+ visibility = ["PUBLIC" ],
100+ )
You can’t perform that action at this time.
0 commit comments