Zetasql Building #288
Replies: 0 comments 18 replies
-
Google那边的研发公司内部都用ubuntu吧, 我有点奇怪就是,他们用了什么东西,对操作系统依赖这么强 |
Beta Was this translation helpful? Give feedback.
-
My building status here: building status https://github.com/aceforeverd/zetasql/actions shows building errors of macos:
We can fix those errors by updating Here are related issues:
jingchen2222/zetasql@cf05607#diff-a70ff1813d701c83652081d186aba748e180da906b69ec3b86e8d6383530d5e2 So far,
|
Beta Was this translation helpful? Give feedback.
-
Build zetasql/... except local_service and jdk.
@aceforeverd We can
Result:
Now that we have passes 9000+ cases by skipping some module tests. Then we have these things to do:
|
Beta Was this translation helpful? Give feedback.
-
We fix zetasql to make https://github.com/jingchen2222/zetasql/runs/2348401484?check_suite_focus=true |
Beta Was this translation helpful? Give feedback.
-
update 0419: |
Beta Was this translation helpful? Give feedback.
-
zetasql as cmake dependencyThere is a sample zetasql-sample zetasql is bazel-based project and have its dependencies in the mean time. We'll use zetasql in a cmake proeject. Generally C-based project only need two things:
We can reorganize zetasql's build output (at
Exceptions Transitive dependencezetasql's thirdparty dependencies, should merge into HybridSQL's standard dependency list. Some may have breaking upgrade:
Compiler and Optionszetasql is built with c++1z(c++17), since c++17 is stabilized in gcc 8 (not sure which specific version but 8.3 works fine), we should upgrade to gcc 8 or later. And use checkout this for more: https://stackoverflow.com/questions/46746878/is-it-safe-to-link-c17-c14-and-c11-objects |
Beta Was this translation helpful? Give feedback.
-
Build SummaryBuild and Test zetasql parserLinux
bazel build -- //... -zetasql/jdk/... -zetasql/local_service/... -java/... -javatests/...
bazel test --test_summary=detailed //zetasql/parser/... Linux system compatibility can be shown as below table:
Macbazel build --features=-supports_dynamic_linker -- //... -zetasql/jdk/... -zetasql/local_service/... -java/... -javatests/...
bazel test --test_summary=detailed --features=-supports_dynamic_linker //zetasql/parser/... Mac system compatibility can be shown as below table:
Build and Test Problemsabsl
abseil/abseil-cpp#848 grpc
See workaround here jingchen2222/zetasql@cf05607#diff-a70ff1813d701c83652081d186aba748e180da906b69ec3b86e8d6383530d5e2 bazel test //zetasql/parser/...
See workaround here: |
Beta Was this translation helpful? Give feedback.
-
Discussing zetasql building issues
My building status here: building status
at https://github.com/aceforeverd/zetasql/tree/dev
Build
since ZetaSQL build every deps from source except gcc & glibc, I'm wondering if gcc/glibc cause those fails.
glibc 2.27/2.28 seems the gap, but I have no idea how to test between different glibc version while keep every else the same
Problems and Solutions
compile seems can be fixed with Linking error when building Tensorflow 2.1 tensorflow/tensorflow#35867 (comment)
Beta Was this translation helpful? Give feedback.
All reactions