Open chunseoklee opened 8 months ago
I'll check.
Patch
diff --git a/compiler/pp/include/pp/IndentedStringBuilder.h b/compiler/pp/include/pp/IndentedStringBuilder.h
index 9b398594e..9bb8124af 100644
--- a/compiler/pp/include/pp/IndentedStringBuilder.h
+++ b/compiler/pp/include/pp/IndentedStringBuilder.h
@@ -19,6 +19,8 @@
#include "pp/Format.h"
+#include <cstdint>
+
namespace pp
{
diff --git a/infra/cmake/packages/FlatBuffers-2.0/FlatBuffersConfig.cmake b/infra/cmake/packages/FlatBuffers-2.0/FlatBuffersConfig.cmake
index b7ae666b8..99da30803 100644
--- a/infra/cmake/packages/FlatBuffers-2.0/FlatBuffersConfig.cmake
+++ b/infra/cmake/packages/FlatBuffers-2.0/FlatBuffersConfig.cmake
@@ -22,6 +22,9 @@ function(_FlatBuffers_build)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 8.0)
set(ADDITIONAL_CXX_FLAGS "-Wno-error=class-memaccess")
endif()
+ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 12.0)
+ set(ADDITIONAL_CXX_FLAGS "-Wno-error=stringop-overflow")
+ endif()
nnas_include(ExternalBuildTools)
ExternalBuild_CMake(CMAKE_DIR ${FlatBuffersSource_DIR}
Test
gbs.conf
diff --git a/infra/nnfw/config/gbs.conf b/infra/nnfw/config/gbs.conf
index 3e5b3545c..f15d26841 100644
--- a/infra/nnfw/config/gbs.conf
+++ b/infra/nnfw/config/gbs.conf
@@ -8,6 +8,9 @@ repos = repo.base, repo.unified
[profile.tizen_8]
repos = repo.base_8, repo.unified_8
+[profile.tizen-dev] +repos = repo.base-dev, repo.unified-dev + [repo.unified] url = http://download.tizen.org/snapshots/TIZEN/Tizen-7.0/Tizen-7.0-Unified/latest/repos/standard/packages/
@@ -19,3 +22,9 @@ url = http://download.tizen.org/snapshots/TIZEN/Tizen-8.0/Tizen-8.0-Unified/late
[repo.base_8] url = http://download.tizen.org/snapshots/TIZEN/Tizen-8.0/Tizen-8.0-Base/latest/repos/standard/packages/ + +[repo.unified-dev] +url = http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified-Dev/latest/repos/standard/packages/ + +[repo.base-dev] +url = http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Dev/latest/repos/standard/packages/
2. Build with `tizen-dev` profile
$ gbs -c infra/nnfw/config/gbs.conf build -A armv7l --include-all --profile=profile.tizen-dev
Also, we need to SBS this patch :
Tizen-Unified / Tizen-Unified-RISCV에 SBS 요청 드립니다.
For risc-v build,
https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified-RISCV/latest/repos/standard/packages/
https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-RISCV/latest/repos/standard/packages/
Our package may empty on RISC-V target.
Our package may empty on RISC-V target.
I haven't try to build for riscv in gbs . I will find the way .
Our package may empty on RISC-V target. https://github.com/Samsung/ONE/blob/8533c5a001b129b7aea2161eb820cd0ff3430ccc/packaging/nnfw.spec#L208-L209
I haven't try to build for riscv in gbs . I will find the way .
Please refer PR #12343
I will SBS to RISCV quickbuild at https://quickbuild.tizen.org/build/382461 -> accepted. (build success, submitted) -> accepted.