Dockerfile for creating an image based on compiled from source Xuantie THead GNU Risc-V compiler
Go to file
2023-04-24 17:56:52 -07:00
Dockerfile add make to the final install as well 2023-04-24 17:56:52 -07:00
LICENSE add license/readme 2023-04-24 16:09:59 -07:00
README.md add license/readme 2023-04-24 16:09:59 -07:00

Xuantie GNU Toolchain Docker Image

This dockerfile will build the image based on the default branch of https://github.com/T-head-Semi/xuantie-gnu-toolchain

There is a completed docker image you can pull

docker pull git.lerch.org/lobo/xuantie-gnu-toolchain:b181cea

As of b181cea, it appears no T-Head proprietary binaries are involved with the build process

This takes 1hr 9min on a 16 core Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz. Recommend at least 16GB RAM to build.

The image is based on debian bookworm, which is still in testing at the time of writing. The image also adds cmake to this toolkit. This allows for downstream usage of Bouffalo Lab SDK which requires a fairly modern version of cmake.