Skip to content

Instantly share code, notes, and snippets.

@danrue
Last active December 2, 2020 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danrue/b75f9d74fda759118ab0e50a2f8fa118 to your computer and use it in GitHub Desktop.
Save danrue/b75f9d74fda759118ab0e50a2f8fa118 to your computer and use it in GitHub Desktop.
Demo of tuxbuild+github actions for clangbuiltlinux

Demo for Clang Built Linux

Prepared by dan.rue@linaro.org on 2020-12-01.

Previous demo @ https://gist.github.com/danrue/44803f346b2a45218a5a4bb808ce33f5

https://clangbuiltlinux.github.io/

Agenda

TuxMake / TuxBuild Update

  • clang-nightly now supported in tuxmake and tuxbuild
  • Clang now supported for powerpc, s390, and sparc
  • tuxmake now works on fedora (there were a couple bugs)
  • tuxmake and tuxbuild reproducers now published with all tuxbuilds

GitHub Actions with Clang Linux and TuxBuild

GitHub Actions set up at https://github.com/danrue/tuxbuild-demo

Builds definition: https://github.com/danrue/tuxbuild-demo/blob/main/tuxbuilds.yml

Job definition: https://github.com/danrue/tuxbuild-demo/blob/main/.github/workflows/builds.yml

Example run: https://github.com/danrue/tuxbuild-demo/actions/runs/394755380

Clang Status in TuxMake and TuxBuild

As of 2020-12-01, the following architectures were built with clang-10, clang-11, and clang-nightly using tinyconfig and mainline tag 5.10-rc6.

arc arm arm64 i386 mips parisc powerpc riscv s390 sh sparc x86_64
clang-10 pass pass pass fail fail pass pass fail pass
clang-11 pass pass pass fail fail pass pass fail pass
clang-nightly pass pass pass fail fail pass pass fail pass

Follow links to get to logs and tuxmake reproducers:

Next Steps

  • Make variables support in tuxmake and then tuxbuild (e.g. LLVM=1)
  • Ensure tuxmake and tuxbuild are working with clang as-expected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment