Skip to content

Commit

Permalink
[infra] Disable NPU daemon build on tizen (Samsung#12888)
Browse files Browse the repository at this point in the history
This commit disables npud build on tizen.

ONE-DCO-1.0-Signed-off-by: Jiyoung Yun <[email protected]>
  • Loading branch information
jyoungyun authored Apr 22, 2024
1 parent 3a238b3 commit 57a97e4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion infra/nnfw/cmake/options/options_aarch64-tizen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ option(BUILD_LOGGING "Build logging runtime" OFF)
option(GENERATE_RUNTIME_NNAPI_TESTS "Generate NNAPI operation gtest" OFF)
option(ENVVAR_ONERT_CONFIG "Use environment variable for onert configuration" OFF)

option(BUILD_NPUD "Build NPU daemon" ON)
option(BUILD_NPUD "Build NPU daemon" OFF)
# Do not allow to use CONFIG option on Tizen
option(ENVVAR_NPUD_CONFIG "Use environment variable for npud configuration" OFF)

Expand Down
2 changes: 1 addition & 1 deletion infra/nnfw/cmake/options/options_armv7hl-tizen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ option(DOWNLOAD_VULKAN "Download vulkan source" ON)
option(BUILD_GPU_CL "Build gpu_cl backend" ON)
option(BUILD_TENSORFLOW_LITE_GPU "Build TensorFlow Lite GPU delegate from the downloaded source" ON)

option(BUILD_NPUD "Build NPU daemon" ON)
option(BUILD_NPUD "Build NPU daemon" OFF)
# Do not allow to use CONFIG option on Tizen
option(ENVVAR_NPUD_CONFIG "Use environment variable for npud configuration" OFF)

Expand Down
2 changes: 1 addition & 1 deletion infra/nnfw/cmake/options/options_armv7l-tizen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ option(DOWNLOAD_VULKAN "Download vulkan source" ON)
option(BUILD_GPU_CL "Build gpu_cl backend" ON)
option(BUILD_TENSORFLOW_LITE_GPU "Build TensorFlow Lite GPU delegate from the downloaded source" ON)

option(BUILD_NPUD "Build NPU daemon" ON)
option(BUILD_NPUD "Build NPU daemon" OFF)
# Do not allow to use CONFIG option on Tizen
option(ENVVAR_NPUD_CONFIG "Use environment variable for npud configuration" OFF)

Expand Down
2 changes: 1 addition & 1 deletion infra/nnfw/cmake/options/options_i686-tizen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ option(ENVVAR_ONERT_CONFIG "Use environment variable for onert configuration" OF
option(BUILD_XNNPACK "Build XNNPACK" OFF)
option(DOWNLOAD_OPENCL_HEADERS "Download opencl headers" OFF)

option(BUILD_NPUD "Build NPU daemon" ON)
option(BUILD_NPUD "Build NPU daemon" OFF)
# Do not allow to use CONFIG option on Tizen
option(ENVVAR_NPUD_CONFIG "Use environment variable for npud configuration" OFF)

Expand Down
2 changes: 1 addition & 1 deletion infra/nnfw/cmake/options/options_x86_64-tizen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ option(ENVVAR_ONERT_CONFIG "Use environment variable for onert configuration" OF
option(BUILD_XNNPACK "Build XNNPACK" OFF)
option(DOWNLOAD_OPENCL_HEADERS "Download opencl headers" OFF)

option(BUILD_NPUD "Build NPU daemon" ON)
option(BUILD_NPUD "Build NPU daemon" OFF)
# Do not allow to use CONFIG option on Tizen
option(ENVVAR_NPUD_CONFIG "Use environment variable for npud configuration" OFF)

Expand Down
2 changes: 1 addition & 1 deletion packaging/nnfw.spec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Source3020: NEON2SSE.tar.gz
Source3021: FLATBUFFERS-2.0.tar.gz

%{!?build_type: %define build_type Release}
%{!?npud_build: %define npud_build 1}
%{!?npud_build: %define npud_build 0}
%{!?trix_support: %define trix_support 1}
%{!?odc_build: %define odc_build 1}
%{!?coverage_build: %define coverage_build 0}
Expand Down

0 comments on commit 57a97e4

Please sign in to comment.