File tree Expand file tree Collapse file tree 6 files changed +2
-17
lines changed Expand file tree Collapse file tree 6 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -455,14 +455,6 @@ endif()
455455
456456add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /configurations )
457457
458- #
459- # gflags: Commandline flag host library.
460- #
461-
462- if (EXECUTORCH_BUILD_GFLAGS)
463- add_subdirectory (third-party/gflags)
464- endif ()
465-
466458# Install `executorch` library as well as `executorch-config.cmake` under
467459# ${CMAKE_INSTALL_PREFIX}/
468460install (
Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ cmake "$EXECUTORCH_ROOT_PATH" -B"$CMAKE_EXECUTORCH_BUILD_DIR_PATH" \
3333-DPLATFORM=MAC_UNIVERSAL \
3434-DDEPLOYMENT_TARGET=13.0 \
3535-DEXECUTORCH_BUILD_EXECUTOR_RUNNER=OFF \
36- -DEXECUTORCH_BUILD_XNNPACK=OFF \
37- -DEXECUTORCH_BUILD_GFLAGS=OFF
36+ -DEXECUTORCH_BUILD_XNNPACK=OFF
3837
3938cmake --build " $CMAKE_EXECUTORCH_BUILD_DIR_PATH " -j9 -t executorch
4039
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ if $STEPWISE_BUILD; then
5050 -DEXECUTORCH_BUILD_KERNELS_CUSTOM=OFF \
5151 -DPYTHON_EXECUTABLE=python3 \
5252 -DEXECUTORCH_FUSION_G3_OPT=ON \
53- -DEXECUTORCH_BUILD_GFLAGS=ON \
5453 -DHAVE_FNMATCH_H=OFF \
5554 -Bcmake-out/backends/cadence \
5655 backends/cadence
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ if $STEPWISE_BUILD; then
4949 -DEXECUTORCH_BUILD_KERNELS_CUSTOM=OFF \
5050 -DPYTHON_EXECUTABLE=python3 \
5151 -DEXECUTORCH_NNLIB_OPT=ON \
52- -DEXECUTORCH_BUILD_GFLAGS=ON \
5352 -DHAVE_FNMATCH_H=OFF \
5453 -Bcmake-out/backends/cadence \
5554 backends/cadence
Original file line number Diff line number Diff line change 55# LICENSE file in the root directory of this source tree.
66
77add_subdirectory (json)
8+ add_subdirectory (gflags)
89
910if (EXECUTORCH_BUILD_PYBIND)
1011 add_subdirectory (pybind11)
Original file line number Diff line number Diff line change @@ -209,11 +209,6 @@ define_overridable_option(
209209 "Build the Cortex-M backend"
210210 BOOL OFF
211211)
212- define_overridable_option(
213- EXECUTORCH_BUILD_GFLAGS
214- "Build the gflags library."
215- BOOL ON
216- )
217212define_overridable_option(
218213 EXECUTORCH_COREML_BUILD_EXECUTOR_RUNNER
219214 "Build CoreML executor runner."
You can’t perform that action at this time.
0 commit comments