Repository navigation
[GLUTEN-12456][BOLT] Add bolt backend in gluten - #12454
Merged
Merged
Conversation
taiyang-li
force-pushed
the
add_bolt_backend_new
branch
from
July 6, 2026 09:47
23d492b to
8d197c4
Compare
|
Run Gluten Clickhouse CI on x86 |
1 similar comment
|
Run Gluten Clickhouse CI on x86 |
taiyang-li
force-pushed
the
add_bolt_backend_new
branch
from
July 6, 2026 11:14
8d197c4 to
2b6f49a
Compare
|
Run Gluten Clickhouse CI on x86 |
taiyang-li
force-pushed
the
add_bolt_backend_new
branch
from
July 6, 2026 11:21
2b6f49a to
e04cc1c
Compare
|
Run Gluten Clickhouse CI on x86 |
taiyang-li
force-pushed
the
add_bolt_backend_new
branch
from
July 6, 2026 11:26
e04cc1c to
9cb20f4
Compare
|
Run Gluten Clickhouse CI on x86 |
This was referenced Jul 6, 2026
taiyang-li
force-pushed
the
add_bolt_backend_new
branch
from
July 8, 2026 08:44
9cb20f4 to
f74ab91
Compare
|
Run Gluten Clickhouse CI on x86 |
taiyang-li
force-pushed
the
add_bolt_backend_new
branch
from
July 8, 2026 09:19
f74ab91 to
a148383
Compare
|
Run Gluten Clickhouse CI on x86 |
4 similar comments
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
1 similar comment
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
The cpp tests had not been built since BUILD_TESTS was never enabled in CI, so several things had rotted: - cpp/bolt/tests/CMakeLists.txt was mangled by the C++ formatter run in b436c03 (source names split like `MemoryManagerTest .cc`); restore it. - Core tests linked bolt::bolt although they include no Bolt headers, and the target does not even exist yet when core/ is configured; drop it. Link glog before gluten so the test resolves gflags from the static archives instead of the copy exported by libgluten.so. - Bolt tests use -export-dynamic; hide the statically linked gflags with --exclude-libs so libgluten.so's own glog does not register its flags into the executable's registry a second time. - MemoryManagerTest / RuntimeTest were out of date with the 3-argument BoltMemoryManager constructor, Metrics(unsigned, std::string) and the createShuffleReader signature. - CreateBoltRuntime runs without a JVM, so keep spark.gluten.useBoltMemoryManager off there; enabling it makes BoltRuntime fetch the task attempt id via JNI. The shared-library build no longer runs `cmake --target install`: nothing consumes /usr/local/lib/libgluten.so, and Maven packages the natives from cpp/build/package/bolt/<platform>/<arch>/ which the build stages itself. The staging step now also drops the three libraries into cpp/build/releases/ so that directory keeps working without an install step.
|
Run Gluten Clickhouse CI on x86 |
FelixYBW
approved these changes
Sep 10, 2026
This was referenced Sep 11, 2026
Closed
This was referenced Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are proposed in this pull request?
Add Bolt backend in Gluten.
This PR depends on the following common patches first:
For more details, please refer to #12456.
How was this patch tested?
WIP stage.
Was this patch authored or co-authored using generative AI tooling?
Generated-by: TraeCli openrouter-3o