Initial support for risc-v#31309
Merged
alexey-milovidov merged 2 commits intoClickHouse:masterfrom Nov 12, 2021
Merged
Conversation
Make ClickHouse compilable and runnable on risc-v 64 So far only basic functionality was tested (on real hw), clickhouse server runs, exceptions works, client works, simple tests works. What doesn't work: 1. traces - they are always empty 2. system.stack_trace only have first frame
alexey-milovidov
approved these changes
Nov 11, 2021
Contributor
Author
(that was based on version I was initially working on, however current one also builds and runs, it just take some time for my board to start clickhouse-server, mostly due to slow sdcard). |
Contributor
Author
|
And for the context: lld doesn't work as of now, as it misses support for riscv relaxation for There are several attempts to implement it:
But as far as I understand all of them are stall at this moment. |
Contributor
Author
|
Performance of that build was not tested as the board I have is not very suitable for that (based on pre-production SoC and therefore not suitable for any performance testing) |
2 tasks
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.
Make ClickHouse compilable and runnable on risc-v 64
So far only basic functionality was tested (on real hw),
clickhouse server runs, exceptions works, client works,
simple tests works.
What doesn't work:
What might cause problems: jemalloc's header seems to have too many custom changes (not documented) so it is based on aarch64 version and not actually autogenerated.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Initial support for risc-v. See development/build-cross-riscv for quirks and build command that was tested.
Detailed description / Documentation draft: N/A
...