Skip to content

Add cross-build for PowerPC 64le#30010

Merged
alexey-milovidov merged 8 commits intomasterfrom
ppc64le
Oct 12, 2021
Merged

Add cross-build for PowerPC 64le#30010
alexey-milovidov merged 8 commits intomasterfrom
ppc64le

Conversation

@alexey-milovidov
Copy link
Copy Markdown
Member

@alexey-milovidov alexey-milovidov commented Oct 11, 2021

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Add cross-build for PowerPC (powerpc64le). This closes #9589. Enable support for interaction with MySQL for AArch64 and PowerPC. This closes #26301.

Detailed description / Documentation draft:
Merging #25486.

@robot-clickhouse robot-clickhouse added the pr-build Pull request with build/testing/packaging improvement label Oct 11, 2021
@robot-ch-test-poll4 robot-ch-test-poll4 added the submodule changed At least one submodule changed in this PR. label Oct 11, 2021
@alexey-milovidov
Copy link
Copy Markdown
Member Author

$ docker run -it --rm --volume $(pwd):/ClickHouse ppc64le/ubuntu:14.04
WARNING: The requested image's platform (linux/ppc64le) does not match the detected host platform (linux/amd64) and no specific platform was requested
root@cf3e1e887242:/# /ClickHouse/programs/clickhouse
<jemalloc>: MADV_DONTNEED does not work (memset will be used instead)
<jemalloc>: (This is the expected behaviour if you are running under QEMU)
Use one of the following commands:
clickhouse local [args] 
clickhouse client [args] 
clickhouse benchmark [args] 
clickhouse server [args] 
clickhouse extract-from-config [args] 
clickhouse compressor [args] 
clickhouse format [args] 
clickhouse copier [args] 
clickhouse obfuscator [args] 
clickhouse git-import [args] 
clickhouse keeper [args] 
clickhouse keeper-converter [args] 
clickhouse install [args] 
clickhouse start [args] 
clickhouse stop [args] 
clickhouse status [args] 
clickhouse restart [args] 
clickhouse static-files-disk-uploader [args] 
clickhouse hash-binary [args] 
root@cf3e1e887242:/# /ClickHouse/programs/clickhouse local --query "SELECT 1"
<jemalloc>: MADV_DONTNEED does not work (memset will be used instead)
<jemalloc>: (This is the expected behaviour if you are running under QEMU)
1
root@cf3e1e887242:/# /ClickHouse/programs/clickhouse local --query "SELECT throwIf(1)"
<jemalloc>: MADV_DONTNEED does not work (memset will be used instead)
<jemalloc>: (This is the expected behaviour if you are running under QEMU)
Code: 395. DB::Exception: Value passed to 'throwIf' function is non zero: While processing throwIf(1). (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 21.11.1.1)

This was referenced Oct 11, 2021
@alexey-milovidov alexey-milovidov self-assigned this Oct 12, 2021
@alexey-milovidov alexey-milovidov merged commit 9a1f930 into master Oct 12, 2021
@alexey-milovidov alexey-milovidov deleted the ppc64le branch October 12, 2021 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-build Pull request with build/testing/packaging improvement submodule changed At least one submodule changed in this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support mysql engine in ARM (AArch64) build Add PowerPC build to CI.

3 participants