GitHunt
SL

Slowki/yocto-sysroot

Yocto Sysroot

A hacky Yocto sysroot in Bazel to hermetically compile for X86 and Aarch64 (Raspberry Pis).

Features

  • LLVM (clang, libc++, compiler-rt) and Musl based
  • Vulkan
  • Wayland

Platforms

  • X86_64: Skylake
  • Aarch64: RaspberryPi 3

Making the SDKs

# Build the image to run Yocto in
./scripts/build-container
# Make the Yocto sysroot tarballs
./in-docker build-sdks

TODOs

  • Enable LTO
  • Figure out PGO

Languages

Dockerfile64.0%Shell34.3%Clojure1.6%

Contributors

Created March 5, 2023
Updated May 7, 2023