File tree 2 files changed +3
-2
lines changed
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)
111
111
list (APPEND link_libraries quantized_kernels quantized_ops_lib)
112
112
113
113
if (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)
115
116
endif ()
116
117
117
118
if (EXECUTORCH_BUILD_TORCHAO)
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ cmake -DPYTHON_EXECUTABLE=python \
431
431
-DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON \
432
432
-DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
433
433
-DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \
434
- -DEXECUTORCH_BUILD_XNNPACK=ON \
434
+ -DEXECUTORCH_BUILD_XNNPACK=OFF \
435
435
-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON \
436
436
-DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \
437
437
-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON \
You can’t perform that action at this time.
0 commit comments