mirror of
https://github.com/zebrajr/pytorch.git
synced 2026-01-15 12:15:51 +00:00
Remove deprecated declaration suppression (#99749)
As https://github.com/pytorch/pytorch/pull/55889 landed a while back Pull Request resolved: https://github.com/pytorch/pytorch/pull/99749 Approved by: https://github.com/huydhn, https://github.com/kit1980
This commit is contained in:
committed by
PyTorch MergeBot
parent
a964a3dbed
commit
7749eec8df
@@ -493,9 +493,6 @@ else()
|
||||
append_filelist("lazy_tensor_ts_sources" LIBTORCH_CMAKE_SRCS)
|
||||
endif()
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
# TODO: Delete this line once https://github.com/pytorch/pytorch/pull/55889 lands
|
||||
set_source_files_properties(../torch/csrc/jit/serialization/export.cpp PROPERTIES COMPILE_FLAGS -Wno-deprecated-declarations)
|
||||
|
||||
# TODO: Delete this when https://github.com/pytorch/pytorch/issues/35026 is fixed
|
||||
set_source_files_properties(../torch/csrc/autograd/record_function_ops.cpp PROPERTIES COMPILE_FLAGS -Wno-deprecated-declarations)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user