Skip to content

Toolchains

toolchain is a required argument, and may be one of the following values:

  • gcc-8
  • gcc-9
  • gcc-10
  • gcc-11
  • clang-10
  • clang-11
  • clang-12
  • clang-13
  • clang-nightly
  • clang-android
  • rust
  • rustgcc
  • rustclang
  • rustllvm

Most toolschains are obtained from Debian and are updated on the first day of each month, with the following exceptions:

  • clang-nightly comes from apt.llvm.org directly, and is updated daily.
  • clang-android comes from the Android Clang/LLVM Prebuilts repository and is updated monthly.
  • For rust, rustgcc, rustclang and rustllvm, rustc comes as prebuilt binary release from rust-lang.org, gcc and clang come from Debian, and they are updated monthly.

Examples

tuxsuite build

Perform an arm64 tinyconfig build against mainline using the most recent nightly version of Clang.

tuxsuite build \
--git-repo 'https://github.com/torvalds/linux.git' \
--git-ref master \
--target-arch arm64 \
--toolchain clang-nightly \
--kconfig tinyconfig

tuxsuite build-set

Perform an arm64 tinyconfig build-set with 4 supported versions of clang.

Given ./example.yaml containing the following:

sets:
  - name: example
    builds:
      - toolchain: clang-nightly
        target_arch: arm64
        kconfig: tinyconfig
      - toolchain: clang-12
        target_arch: arm64
        kconfig: tinyconfig
      - toolchain: clang-11
        target_arch: arm64
        kconfig: tinyconfig
      - toolchain: clang-10
        target_arch: arm64
        kconfig: tinyconfig

Perform the build-set:

tuxsuite build-set \
--git-repo 'https://github.com/torvalds/linux.git' \
--git-ref master \
--tux-config example.yaml \
--set-name example