Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions scripts/build_apple_frameworks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,11 @@ for preset_index in "${!PRESETS[@]}"; do
echo "Building preset ${preset} (${mode}) in ${preset_output_dir}..."

# Do NOT add options here. Update the respective presets instead.
# Xcode multi-config presets leave CMAKE_BUILD_TYPE empty, so force EXECUTORCH_ENABLE_LOGGING per-mode.
cmake -S "${SOURCE_ROOT_DIR}" \
-B "${preset_output_dir}" \
--fresh \
-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY="${preset_output_dir}" \
-DCMAKE_BUILD_TYPE="${mode}" \
-UEXECUTORCH_ENABLE_LOGGING \
-DEXECUTORCH_ENABLE_LOGGING=$([ "${mode}" = "Debug" ] && echo ON || echo OFF) \
${CMAKE_OPTIONS_OVERRIDE[@]:-} \
--preset "${preset}"

Expand Down
Loading