Skip to content

Commit 4af30de

Browse files
committed
Update on "Remove ExecuTorch copy of Vectorized"
All uses are outside ExecuTorch core, so we can just use ATen Vectorized. Differential Revision: [D66396016](https://our.internmc.facebook.com/intern/diff/D66396016/) [ghstack-poisoned]
2 parents 9a552c8 + c34aa64 commit 4af30de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,9 @@ if(NOT "${_repo_dir_name}" STREQUAL "executorch")
337337
"fix for this restriction."
338338
)
339339
endif()
340-
set(_common_include_directories ${CMAKE_CURRENT_SOURCE_DIR}/..)
340+
set(_common_include_directories ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/runtime/core/portable_type)
341+
# We don't need any of C10's CMake macros.
342+
add_definitions(-DC10_USING_CUSTOM_GENERATED_MACROS)
341343

342344
#
343345
# The `_<target>_srcs` lists are defined by including ${EXECUTORCH_SRCS_FILE}.

0 commit comments

Comments
 (0)