~wooksong/neural-network-support/+git/flatbuffers:tizen_6.5_m1

Last commit made on 2021-02-03
Get this branch:
git clone -b tizen_6.5_m1 https://git.launchpad.net/~wooksong/neural-network-support/+git/flatbuffers

Branch merges

Branch information

Recent commits

d7dfaf3... by Dongju Chae

[gRPC] Fix cpp codegen for gRPC-1.35.0

This patch fixes cpp codegen for gRPC-1.35.0,
which is to be the latest version in tizen upstream.

The path of cpp header files has been changed.

See also
- https://github.com/google/flatbuffers/issues/5836
- https://github.com/google/flatbuffers/pull/6338

Change-Id: I8b284c08de6387d4df45f4a94678d29d5725fb98
Signed-off-by: Dongju Chae <email address hidden>

9b66d92... by Dongju Chae

[gRPC] Fix out-of-sync in gRPC support

This patch fixes out-of-sync in flatbuffer's gRPC support.
The inferface between gRPC and flatbuf has been broken since gRPC 1.17.

This problem comes from that gRPC decided to hide its internal byte buffer.
(e.g., gRPC::ByteBuffer contains grpc_byte_buffer, but not exposed)

As the version of gRPC is already 1.20.1 in tizen upstream,
I want to directly fix the glue header in flatbuffers by applying
this workaround patch.

Related issues:
- https://github.com/google/flatbuffers/issues/5836
- https://github.com/google/flatbuffers/issues/5096
- https://github.com/grpc/grpc/issues/20594

Change-Id: Ia4149826cc74c690fbc48d07c3141d2221c718f6
Signed-off-by: Dongju Chae <email address hidden>

1bfa4dd... by Wook Song

[Dist/Debian] Include .pc file in the dev-kit package

This patch revises the packaging files for Debian/Ubuntu to include .pc
file in the development kit package.

Change-Id: Ib94702ace3a970cfe5ab435c34795ac03296e02e
Signed-off-by: Wook Song <email address hidden>

e92b006... by Wook Song

[Dist/Tizen] Revise the rpm spec file to include .pc in the dev package

This patch revises the rpm spec file to include the .pc file in the
dev-kit package.

Change-Id: I456b1fa494a38cd9cd1724863028a9b69ac7df4b
Signed-off-by: Wook Song <email address hidden>

a2448ae... by Wook Song

[PkgConfig] Add a template for .pc file generation

This patch adds a template file to use .pc file generation.

Change-Id: Ia4841a6c4bcf3560e1156a606a85f0d2103ffebd
Signed-off-by: Wook Song <email address hidden>

e17ddb5... by Wook Song

[Dist/Debian] Fix unmet dependency on libgcc-s1 in the PPA package

Since PPA tries to use the latest gcc, the package released via PPA has
an issue related to the unmet dependency on libgcc-s1. To fix it, this
patch adds explicit build dependencies on gcc << 10.

Change-Id: If76cde33d9b6aaeb051894b55c22f256bddc9a36
Signed-off-by: Wook Song <email address hidden>

83938a3... by Geunsik Lim <email address hidden>

Bump to flatbuffers 1.12.0

Change-Id: I228241b006edf9850e035a96b69fc6c305905280
Signed-off-by: Geunsik Lim <email address hidden>

531a286... by Semun Lee <email address hidden>

Add -fno-lto for creating static library

When -flto option is used, static library doesn't contain
symbol names in it.
It may leads "undefined symbol" problem in some applications.

Change-Id: I3ab5f644b72e504d9390311e4ce945d9ac28527e
Signed-off-by: Semun Lee <email address hidden>

b77b54b... by Wook Song

[Dist/Debian] Initial debianization for v1.11.0

Initial debianization for v1.11.0.

Change-Id: Ie27a37855e782277c60908ebea9b363d296d34a3
Signed-off-by: Wook Song <email address hidden>

e859e1c... by MyungJoo Ham

Re-ported build-error workaround from 1.6.0

There was a build-error fix in flatbuffers-1.6.0, which
was in bash build script. They appear to lose it when
they abandoned the bash build script.

The following is the commit message of the workaround
of flatbuffers 1.6.0 mainline:

Work around flatbuffers flaky build

The flatbuffers build ocasionally fails with the following error:

/flatbuffers/flatbuffers-1.6.0/src/idl_parser.cpp
/mnt/source/flatbuffers/flatbuffers-1.6.0/samples/sample_binary.cpp:19:17:
error: 'MyGame' has not been declared
 using namespace MyGame::Sample;
                 ^
/mnt/source/flatbuffers/flatbuffers-1.6.0/samples/sample_binary.cpp:19:25:
error: 'Sample' is not a namespace-name
 using namespace MyGame::Sample;
                         ^
/mnt/source/flatbuffers/flatbuffers-1.6.0/samples/sample_binary.cpp:19:31:
error: expected namespace-name before ';' token
 using namespace MyGame::Sample;
                               ^
/mnt/source/flatbuffers/flatbuffers-1.6.0/samples/sample_binary.cpp: In
function 'int main(int, const char**)':
/mnt/source/flatbuffers/flatbuffers-1.6.0/samples/sample_binary.cpp:25:3:
error: 'flatbuffers' has not been declared
   flatbuffers::FlatBufferBuilder builder;
   ^
/mnt/source/flatbuffers/flatbuffers-1.6.0/samples/sample_binary.cpp:28:26:
error: 'builder' was not declared in this scope
   auto weapon_one_name = builder.CreateString("Sword");
                          ^
...

Disabling the BUILD_TESTS target removes the flakiness and makes the
compilation faster.

Reviewed-on: http://gerrit.cloudera.org:8080/12886
Reviewed-by: Tim Armstrong <email address hidden>
Tested-by: Tim Armstrong <email address hidden>

Change-Id: Ica8300d7edad7d10adad311cc22c18b8987b1f9b
Signed-off-by: MyungJoo Ham <email address hidden>