Skip to content

Commit c62d28c

Browse files
committed
add vgf to pybind build
Signed-off-by: Rob Elliott <[email protected]>
1 parent 8456567 commit c62d28c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,10 @@ if(EXECUTORCH_BUILD_PYBIND)
829829
list(APPEND _dep_libs vulkan_backend)
830830
endif()
831831

832+
if(EXECUTORCH_BUILD_VGF)
833+
list(APPEND _dep_libs vgf_backend)
834+
endif()
835+
832836
# compile options for pybind
833837
set(_pybind_compile_options -Wno-deprecated-declarations -fPIC -frtti
834838
-fexceptions

tools/cmake/preset/pybind.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright (c) Meta Platforms, Inc. and affiliates.
22
# All rights reserved.
3+
# Copyright 2025 Arm Limited and/or its affiliates.
34
#
45
# This source code is licensed under the BSD-style license found in the
56
# LICENSE file in the root directory of this source tree.
@@ -13,6 +14,8 @@ set_overridable_option(EXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT ON)
1314
set_overridable_option(EXECUTORCH_ENABLE_LOGGING ON)
1415
set_overridable_option(EXECUTORCH_LOG_LEVEL Info)
1516
set_overridable_option(EXECUTORCH_BUILD_XNNPACK ON)
17+
set_overridable_option(EXECUTORCH_BUILD_VULKAN ON)
18+
set_overridable_option(EXECUTORCH_BUILD_VGF ON)
1619
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_TENSOR ON)
1720
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL ON)
1821
set_overridable_option(EXECUTORCH_BUILD_KERNELS_LLM ON)

0 commit comments

Comments
 (0)