-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Experiment with minimized toolchain (2) #29974
Conversation
We will be able to add |
@@ -0,0 +1,32 @@ | |||
set (CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But where have you set CMAKE_TOOLCHAIN_FILE
to this toolchain file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently in command line.
I've just tested that it works. I plan to also set it by default either in CMakeLists.txt on top or in PreLoad.cmake if the former is not possible.
Special build check Ok. Something strange with PVS-Studio... |
Fixed PVS-Studio. |
I've found how to build |
I've successfully built AArch64 binary with all the enabled libraries (LLVM, MySQL, Protobuf, GRPC, Parquet/ORC/Avro). Most likely it's due to the fact that I have QEMU with binfmt-misc and AArch64 glibc installed, |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Leave only required files in cross-compile toolchains. Include them as submodules (earlier they were downloaded as tarballs).
Motivation: