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()
455
455
456
456
add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /configurations )
457
457
458
- #
459
- # gflags: Commandline flag host library.
460
- #
461
-
462
- if (EXECUTORCH_BUILD_GFLAGS )
463
- add_subdirectory (third-party/gflags )
464
- endif ()
465
-
466
458
# Install `executorch` library as well as `executorch-config.cmake` under
467
459
# ${CMAKE_INSTALL_PREFIX}/
468
460
install (
Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ cmake "$EXECUTORCH_ROOT_PATH" -B"$CMAKE_EXECUTORCH_BUILD_DIR_PATH" \
33
33
-DPLATFORM=MAC_UNIVERSAL \
34
34
-DDEPLOYMENT_TARGET=13.0 \
35
35
-DEXECUTORCH_BUILD_EXECUTOR_RUNNER=OFF \
36
- -DEXECUTORCH_BUILD_XNNPACK=OFF \
37
- -DEXECUTORCH_BUILD_GFLAGS=OFF
36
+ -DEXECUTORCH_BUILD_XNNPACK=OFF
38
37
39
38
cmake --build " $CMAKE_EXECUTORCH_BUILD_DIR_PATH " -j9 -t executorch
40
39
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ if $STEPWISE_BUILD; then
50
50
-DEXECUTORCH_BUILD_KERNELS_CUSTOM=OFF \
51
51
-DPYTHON_EXECUTABLE=python3 \
52
52
-DEXECUTORCH_FUSION_G3_OPT=ON \
53
- -DEXECUTORCH_BUILD_GFLAGS=ON \
54
53
-DHAVE_FNMATCH_H=OFF \
55
54
-Bcmake-out/backends/cadence \
56
55
backends/cadence
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ if $STEPWISE_BUILD; then
49
49
-DEXECUTORCH_BUILD_KERNELS_CUSTOM=OFF \
50
50
-DPYTHON_EXECUTABLE=python3 \
51
51
-DEXECUTORCH_NNLIB_OPT=ON \
52
- -DEXECUTORCH_BUILD_GFLAGS=ON \
53
52
-DHAVE_FNMATCH_H=OFF \
54
53
-Bcmake-out/backends/cadence \
55
54
backends/cadence
Original file line number Diff line number Diff line change 5
5
# LICENSE file in the root directory of this source tree.
6
6
7
7
add_subdirectory (json )
8
+ add_subdirectory (gflags )
8
9
9
10
if (EXECUTORCH_BUILD_PYBIND )
10
11
add_subdirectory (pybind11 )
Original file line number Diff line number Diff line change @@ -209,11 +209,6 @@ define_overridable_option(
209
209
"Build the Cortex-M backend"
210
210
BOOL OFF
211
211
)
212
- define_overridable_option (
213
- EXECUTORCH_BUILD_GFLAGS
214
- "Build the gflags library."
215
- BOOL ON
216
- )
217
212
define_overridable_option (
218
213
EXECUTORCH_COREML_BUILD_EXECUTOR_RUNNER
219
214
"Build CoreML executor runner."
You can’t perform that action at this time.
0 commit comments