Skip to content

Instantly share code, notes, and snippets.

{
"artifacts": {
"dtbs": [
"dtbs/intel/socfpga_agilex_socdk.dtb",
"dtbs/intel/socfpga_agilex_socdk_nand.dtb",
"dtbs/cavium/thunder2-99xx.dtb",
"dtbs/cavium/thunder-88xx.dtb",
"dtbs/socionext/uniphier-ld20-global.dtb",
"dtbs/socionext/uniphier-ld11-ref.dtb",
"dtbs/socionext/uniphier-pxs3-ref.dtb",
{
"build": {
"environment": {
"SCCACHE_BUCKET": "sccache.tuxbuild.com"
},
"jobs": 8,
"kconfig": "allnoconfig",
"kconfig_add": [],
"reproducer_cmdline": [
"tuxmake",
@danrue
danrue / .gitlab-ci.yml
Last active January 13, 2021 23:14
gitlab-ci for building and then using a container using podman
stages:
- build-image
- mirror
before_script:
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- podman pull $IMAGE_TAG || true # ensure the latest is downloaded
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:latest
drue@jug:~/src/linux-mainline$ git rev-list HEAD| head
2c85ebc57b3e1817b6ce1a6b703928e113a90442
ec6f5e0e5ca0764b4bc522c9f9d5abf876a0e3e3
d2360a398f0b68722641c59aeb2623e79bd03e34
6bff9bb8a292668e7da3e740394b061e5201f683
5ee595d9079b94ee931287ce004d34886b7d3c24
7b1b868e1d9156484ccce9bf11122c053de82617
b53966ffd4c0676c02987d4fc33b99bdfc548cf0
b01deddb8d3cb779ac250978afd200931fd91dcd
31d00f6eb1f2b498a1d7af62cffeba3fbea8cf75
@danrue
danrue / tuxbuild_with_gerrit.md
Created December 2, 2020 14:41
Demonstration of using TuxBuild with Android's Gerrit

TuxBuilding a Gerrit Change From Android Review

A common android kernel gerrit change can be built directly using --git-repo 'https://android.googlesource.com/kernel/common' and the --git-sha of the patch.

To retrieve the full sha of a gerrit change, click the "copy full SHA to clipboard" button next to the patch.

For example, given the following gerrit review https://android-review.googlesource.com/c/kernel/common/+/1511435

@danrue
danrue / tuxbuild_clang_demo.md
Last active December 2, 2020 20:20
Demo of tuxbuild+github actions for clangbuiltlinux
@danrue
danrue / all_tinyconfig_builds.py
Last active December 1, 2020 21:25
Print a tuxbuild build set containing all supported tuxbuild combinations
import json
import requests
response = requests.get("https://api.tuxbuild.com/v1/supportmatrix")
matrix = response.json()
buildset = []
for toolchain,architectures in matrix.items():
for architecture in architectures:
buildset.append({
@danrue
danrue / tuxmake_tuxbuild_demo.md
Last active November 18, 2020 19:56
TuxMake and TuxBuild Demo for ClangBuiltLinux
@danrue
danrue / metadata.json
Created November 16, 2020 22:27
LLVM TuxMake Build
{
"build": {
"targets": [
"config",
"kernel",
"modules",
"dtbs",
"debugkernel"
],
"target_arch": "x86_64",
@danrue
danrue / gist:e7aef347b36c3288183d5020ada4b7bc
Last active November 16, 2020 19:14
Reproducible Builds with TuxMake
drue@jug:~/src/linux-mainline₿ git describe
v5.10-rc4
drue@jug:~/src/linux-mainline₿ tuxmake -r podman -k tinyconfig -e "KBUILD_BUILD_TIMESTAMP='Sun May 1 12:00:00 CEST 2011'" -e "KBUILD_BUILD_USER=tuxmake" -e "KBUILD_BUILD_HOST=tuxmake"
drue@jug:~/src/linux-mainline₿ tuxmake -r podman -k tinyconfig -e "KBUILD_BUILD_TIMESTAMP='Sun May 1 12:00:00 CEST 2011'" -e "KBUILD_BUILD_USER=tuxmake" -e "KBUILD_BUILD_HOST=tuxmake"
drue@jug:~/.cache/tuxmake/builds₿ md5sum 61[56]/* | sort
2a79af3c87ecab9867dcb2b6bd78ff13 616/metadata.json
423642d413c4e35f3bfa9002d202782d 615/bzImage
423642d413c4e35f3bfa9002d202782d 616/bzImage
893d8d621204d0abec6a212a0dd62a54 615/config
893d8d621204d0abec6a212a0dd62a54 616/config