File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,6 @@ if(EXECUTORCH_CADENCE_CPU_RUNNER)
60
60
${_common_include_directories}
61
61
)
62
62
63
- set (TARGET_DIR reference )
64
- add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /${TARGET_DIR}/kernels )
65
-
66
63
target_link_libraries (
67
64
cadence_runner
68
65
executorch
@@ -78,12 +75,12 @@ endif()
78
75
if (EXECUTORCH_NNLIB_OPT )
79
76
set (TARGET_DIR hifi )
80
77
add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /${TARGET_DIR}/third-party/nnlib )
81
- add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /${TARGET_DIR}/kernels )
82
- endif ()
83
-
84
- if (EXECUTORCH_FUSION_G3_OPT )
78
+ elseif (EXECUTORCH_FUSION_G3_OPT )
85
79
set (TARGET_DIR fusion_g3 )
86
80
add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /${TARGET_DIR}/third-party/nnlib )
81
+ else ()
82
+ set (TARGET_DIR reference )
87
83
endif ()
88
84
85
+ add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /${TARGET_DIR}/kernels )
89
86
add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /${TARGET_DIR}/operators )
You can’t perform that action at this time.
0 commit comments