File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -764,7 +764,11 @@ if (onnxruntime_USE_WEBGPU)
764764 # - (private) Fix compatibility issues with Safari. Contains the following changes:
765765 # - Polyfill for `device.AdapterInfo` (returns `undefined` in Safari v26.0)
766766 #
767- ${Patch_EXECUTABLE} --binary --ignore -whitespace -p1 < ${PROJECT_SOURCE_DIR} /patches/dawn/safari_polyfill.patch)
767+ ${Patch_EXECUTABLE} --binary --ignore -whitespace -p1 < ${PROJECT_SOURCE_DIR} /patches/dawn/safari_polyfill.patch &&
768+
769+ # Remove the test folder to speed up potential file scan operations (70k+ files not needed for build).
770+ # Using <SOURCE_DIR> token ensures the correct absolute path regardless of working directory.
771+ ${CMAKE_COMMAND} -E rm -rf <SOURCE_DIR>/test )
768772
769773 onnxruntime_fetchcontent_declare(
770774 dawn
You can’t perform that action at this time.
0 commit comments