This directory contains a set of scripts and configuration files that allow one to build the same toolchain that is used by Kotlin/Native.
create_image.sh
for it.toolchains
folder. It is organized as $TARGET/$VERSION
. Then run ./run_container.sh $TARGET $VERSION $TOOLCHAIN_VERSION_SUFFIX
. Building a toolchain might take a while (~17 minutes on Ryzen 5 3600). Once ready, an archive will be placed in artifacts
folder. $TOOLCHAIN_VERSION_SUFFIX
is an optional argument that adds suffix to the end of toolchain name../create_image.sh && ./run_container.sh aarch64-unknown-linux-gnu gcc-8.3.0-glibc-2.25-kernel-4.9
Check that Docker can write to artifacts
directory (where build_toolchains.sh
places archives).