File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -315,6 +315,9 @@ jobs:
315315 build-benchmark-app :
316316 name : build-benchmark-app
317317 uses : pytorch/test-infra/.github/workflows/macos_job.yml@main
318+ uses : maxim-lobanov/setup-xcode@v1
319+ with :
320+ xcode-version : ' 16.0'
318321 needs :
319322 - set-parameters
320323 secrets : inherit
Original file line number Diff line number Diff line change 88set -euo pipefail
99
1010SOURCE_ROOT_DIR=" "
11- OUTPUT=" cmake-out"
11+ OUTPUT=" cmake-out-apple "
1212MODE=" Release"
1313TOOLCHAIN=" "
1414PYTHON=$( which python3)
@@ -76,7 +76,7 @@ usage() {
7676 echo " SOURCE_ROOT_DIR defaults to the current directory if not provided."
7777 echo
7878 echo " Options:"
79- echo " --output=DIR Output directory. Default: 'cmake-out'"
79+ echo " --output=DIR Output directory. Default: 'cmake-out-apple '"
8080 echo " --Debug Use Debug build mode. Default: Uses Release build mode."
8181 echo " --toolchain=FILE Cmake toolchain file. Default: '\$ SOURCE_ROOT_DIR/third-party/ios-cmake/ios.toolchain.cmake'"
8282 echo " --python=FILE Python executable path. Default: Path of python3 found in the current \$ PATH"
@@ -188,7 +188,7 @@ echo "Exporting headers"
188188mkdir -p " $HEADERS_PATH "
189189
190190# Set BUCK2 to the path of the buck2 executable in $OUTPUT/*/buck2-bin/buck2-*
191- BUCK2=$( find . -type f -path ' */ buck2-bin/buck2-* ' | head -n 1)
191+ BUCK2=$( find ${SOURCE_ROOT_DIR} /buck2-bin -type f -name " buck2-* " | head -n 1)
192192if [[ -z " $BUCK2 " ]]; then
193193 echo " Could not find buck2 executable in any buck2-bin directory under $OUTPUT "
194194 BUCK2=$( which buck2)
Original file line number Diff line number Diff line change @@ -158,11 +158,7 @@ def _validate_ios_version() -> None:
158158 op_linear_quantizer_config = op_linear_quantizer_config ,
159159 )
160160
161- # ExecuTorch does not build CoreML delegate runtime to handle state
162- # when using OSS scripts, so we define take_over_mutable_buffer = False,
163- # even when target is iOS18
164- # take_over_mutable_buffer = minimum_deployment_target >= ct.target.iOS18
165- take_over_mutable_buffer = False
161+ take_over_mutable_buffer = minimum_deployment_target >= ct .target .iOS18
166162 return CoreMLPartitioner ( # pyre-fixme[16]
167163 compile_specs = compile_specs ,
168164 take_over_mutable_buffer = take_over_mutable_buffer ,
You can’t perform that action at this time.
0 commit comments