Tim Armstrong has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/12886 )
Change subject: Work around flatbuffers flaky build ...................................................................... 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. Change-Id: I57e95617ccfc2d7d63cc277ab2b858f28ccad44c Reviewed-on: http://gerrit.cloudera.org:8080/12886 Reviewed-by: Tim Armstrong <tarmstr...@cloudera.com> Tested-by: Tim Armstrong <tarmstr...@cloudera.com> --- M source/flatbuffers/build.sh 1 file changed, 6 insertions(+), 1 deletion(-) Approvals: Tim Armstrong: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/12886 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: native-toolchain Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I57e95617ccfc2d7d63cc277ab2b858f28ccad44c Gerrit-Change-Number: 12886 Gerrit-PatchSet: 5 Gerrit-Owner: Hector Acosta <hector.aco...@cloudera.com> Gerrit-Reviewer: Laszlo Gaal <laszlo.g...@cloudera.com> Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com>