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.
But where have you set CMAKE_TOOLCHAIN_FILE to this toolchain file?
There was a problem hiding this comment.
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: