File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
1
.hypothesis
2
2
buck-out /
3
+ buck2-bin /
3
4
cmake-out *
4
5
.DS_Store
5
6
cmake-android-out /
Original file line number Diff line number Diff line change @@ -257,6 +257,17 @@ if(EXECUTORCH_BUILD_KERNELS_CUSTOM)
257
257
set (EXECUTORCH_BUILD_KERNELS_OPTIMIZED ON )
258
258
endif ()
259
259
260
+ if (NOT DEFINED FXDIV_SOURCE_DIR )
261
+ set (ORIGINAL_CMAKE_POSITION_INDEPENDENT_CODE_FLAG
262
+ ${CMAKE_POSITION_INDEPENDENT_CODE}
263
+ )
264
+ set (FXDIV_SOURCE_DIR "backends/xnnpack/third-party/FXdiv" )
265
+ add_subdirectory ("${FXDIV_SOURCE_DIR} " )
266
+ set (CMAKE_POSITION_INDEPENDENT_CODE
267
+ ${ORIGINAL_CMAKE_POSITION_INDEPENDENT_CODE_FLAG}
268
+ )
269
+ endif ()
270
+
260
271
if (EXECUTORCH_BUILD_CPUINFO )
261
272
# --- cpuinfo
262
273
set (ORIGINAL_CMAKE_POSITION_INDEPENDENT_CODE_FLAG
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ function(resolve_buck2)
235
235
236
236
set (resolve_buck2_command
237
237
${PYTHON_EXECUTABLE} ${executorch_root} /build/resolve_buck.py
238
- --cache_dir=${CMAKE_CURRENT_BINARY_DIR}/ buck2-bin
238
+ --cache_dir=buck2-bin
239
239
)
240
240
241
241
if (NOT ${BUCK2} STREQUAL "" )
You can’t perform that action at this time.
0 commit comments