Skip to content

Commit f370521

Browse files
jcm93LukeUsher
authored andcommitted
build: Disable Metal GPU capture by default due to Xcode memory issues
1 parent c763218 commit f370521

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/macos/xcode.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,6 @@ set(CMAKE_XCODE_ATTRIBUTE_LD_RUNPATH_SEARCH_PATHS "@executable_path/../Framework
165165
if(ARES_DEBUG_DEPENDENCIES)
166166
set(CMAKE_XCODE_SCHEME_LLDB_INIT_FILE ${CMAKE_BINARY_DIR}/.lldbinit)
167167
endif()
168+
169+
# Enabling GPU capture in Xcode 16+ can result in runaway memory use even when not capturing. Disable by default.
170+
set(CMAKE_XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE Disabled)

0 commit comments

Comments
 (0)