Skip to content

Commit 49b1fb6

Browse files
authored
Allow deprecated declarations what using Parallel ExecuTorch
Differential Revision: D64020498 Pull Request resolved: #1031
1 parent 900f9ac commit 49b1fb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torchao/experimental/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ if(TORCHAO_OP_TARGET STREQUAL "aten")
5050
add_library(torchao_ops_${TORCHAO_OP_TARGET} SHARED)
5151
elseif(TORCHAO_OP_TARGET STREQUAL "executorch")
5252
add_library(torchao_ops_${TORCHAO_OP_TARGET} STATIC)
53+
add_compile_options("-Wno-error=deprecated")
5354
else()
5455
message(FATAL_ERROR "Unknown TORCHAO_OP_TARGET: ${TORCHAO_OP_TARGET}. Please choose one of: aten, executorch.")
5556
endif()

0 commit comments

Comments
 (0)