File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,8 @@ target_link_options_shared_lib(quantized_ops_lib)
111111list (APPEND link_libraries quantized_kernels quantized_ops_lib)
112112
113113if (EXECUTORCH_BUILD_KERNELS_CUSTOM)
114- list (APPEND link_libraries $<LINK_LIBRARY:WHOLE_ARCHIVE,custom_ops>)
114+ target_link_options_shared_lib(custom_ops)
115+ list (APPEND link_libraries custom_ops)
115116endif ()
116117
117118if (EXECUTORCH_BUILD_TORCHAO)
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ cmake -DPYTHON_EXECUTABLE=python \
431431 -DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON \
432432 -DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
433433 -DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \
434- -DEXECUTORCH_BUILD_XNNPACK=ON \
434+ -DEXECUTORCH_BUILD_XNNPACK=OFF \
435435 -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON \
436436 -DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \
437437 -DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON \
You can’t perform that action at this time.
0 commit comments