Skip to content

Commit

Permalink
[infra/gbs] Fix build fail for tizen armv7hl (#11537)
Browse files Browse the repository at this point in the history
This commit resolves build fail for tizen armv7hl by setting TARGET_ARCH explicitly.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <[email protected]>
  • Loading branch information
hseok-oh authored Sep 17, 2023
1 parent d61df56 commit 2537288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/nnfw.spec
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ tar -xf %{SOURCE3019} -C ./externals
%ifarch arm armv7l armv7hl aarch64 x86_64 %ix86
# nncc build
%if %{odc_build} == 1
%{nncc_env} ./nncc configure -DBUILD_GTEST=OFF -DENABLE_TEST=OFF -DEXTERNALS_BUILD_THREADS=%{nproc} -DCMAKE_BUILD_TYPE=%{build_type} -DTARGET_OS=tizen \
%{nncc_env} ./nncc configure -DBUILD_GTEST=OFF -DENABLE_TEST=OFF -DEXTERNALS_BUILD_THREADS=%{nproc} -DCMAKE_BUILD_TYPE=%{build_type} -DTARGET_ARCH=%{target_arch} -DTARGET_OS=tizen \
-DCMAKE_INSTALL_PREFIX=$(pwd)/%{overlay_path} \
-DBUILD_WHITELIST="luci;foder;pepper-csv2vec;loco;locop;logo;logo-core;mio-circle06;luci-compute;oops;hermes;hermes-std;angkor;pp;pepper-strcast;pepper-str"
%{nncc_env} ./nncc build %{build_jobs}
Expand Down

0 comments on commit 2537288

Please sign in to comment.