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
{ | |
"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", |
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 |
Prepared by dan.rue@linaro.org on 2020-12-01.
Previous demo @ https://gist.github.com/danrue/44803f346b2a45218a5a4bb808ce33f5
https://clangbuiltlinux.github.io/
Agenda
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
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({ |
Prepared by dan.rue@linaro.org on 2020-11-16.
https://clangbuiltlinux.github.io/
Agenda
{ | |
"build": { | |
"targets": [ | |
"config", | |
"kernel", | |
"modules", | |
"dtbs", | |
"debugkernel" | |
], | |
"target_arch": "x86_64", |
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 |