Skip to content

Commit f2ef7ca

Browse files
committed
generator.yml: Add support for ChromeOS
Closes: ClangBuiltLinux#328 Signed-off-by: Nathan Chancellor <[email protected]>
1 parent 21062f0 commit f2ef7ca

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

generator.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ urls:
1111
- &next-url https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
1212
- &stable-url https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
1313
- &android-url https://android.googlesource.com/kernel/common.git
14+
- &chromeos-url https://chromium.googlesource.com/chromiumos/third_party/kernel.git
1415
- &tip-url https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
1516
- &arm64-url https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
1617
# Configuration URLs
@@ -54,6 +55,8 @@ trees:
5455
- &android-4_19 {git_repo: *android-url, git_ref: android-4.19-stable, name: android-4.19}
5556
- &android-4_14 {git_repo: *android-url, git_ref: android-4.14-stable, name: android-4.14}
5657
- &android-4_9 {git_repo: *android-url, git_ref: android-4.9-q, name: android-4.9}
58+
- &chromeos-5_15 {git_repo: *chromeos-url, git_ref: chromeos-5.15, name: chromeos-5.15}
59+
- &chromeos-5_10 {git_repo: *chromeos-url, git_ref: chromeos-5.10, name: chromeos-5.10}
5760
- &tip {git_repo: *tip-url, git_ref: master, name: tip}
5861
- &arm64-core {git_repo: *arm64-url, git_ref: for-next/core, name: arm64}
5962
- &arm64-fixes {git_repo: *arm64-url, git_ref: for-next/fixes, name: arm64-fixes}
@@ -136,6 +139,14 @@ tree_schedules:
136139
- &android-4_9_llvm_13 {<< : *llvm_13, << : *android-4_9, << : *sundays}
137140
- &android-4_9_llvm_12 {<< : *llvm_12, << : *android-4_9, << : *sundays}
138141
- &android-4_9_llvm_android {<< : *llvm_android, << : *android-4_9, << : *daily_six}
142+
- &chromeos-5_15_llvm_tot {<< : *llvm_tot, << : *chromeos-5_15, << : *daily_six}
143+
- &chromeos-5_15_llvm_latest {<< : *llvm_latest, << : *chromeos-5_15, << : *daily_six}
144+
- &chromeos-5_15_llvm_13 {<< : *llvm_13, << : *chromeos-5_15, << : *sundays}
145+
- &chromeos-5_15_llvm_12 {<< : *llvm_12, << : *chromeos-5_15, << : *sundays}
146+
- &chromeos-5_10_llvm_tot {<< : *llvm_tot, << : *chromeos-5_10, << : *daily_six}
147+
- &chromeos-5_10_llvm_latest {<< : *llvm_latest, << : *chromeos-5_10, << : *daily_six}
148+
- &chromeos-5_10_llvm_13 {<< : *llvm_13, << : *chromeos-5_10, << : *sundays}
149+
- &chromeos-5_10_llvm_12 {<< : *llvm_12, << : *chromeos-5_10, << : *sundays}
139150
- &tip_llvm_tot {<< : *llvm_tot, << : *tip, << : *daily_midnight}
140151
- &tip_llvm_latest {<< : *llvm_latest, << : *tip, << : *daily_midnight}
141152
- &tip_llvm_13 {<< : *llvm_13, << : *tip, << : *daily_eighteen}
@@ -178,6 +189,9 @@ targets:
178189
- &default {targets: [default]}
179190
- &kernel {targets: [kernel]}
180191
- &kernel_dtbs {targets: [kernel,dtbs]}
192+
chromeos_configs:
193+
- &arm64-cros-configs {config: [chromeos/config/chromeos/base.config, chromeos/config/chromeos/arm64/common.config, chromeos/config/chromeos/arm64/chromiumos-arm64.flavour.config]}
194+
- &x86_64-cros-configs {config: [chromeos/config/chromeos/base.config, chromeos/config/chromeos/x86_64/common.config, chromeos/config/chromeos/x86_64/chromiumos-x86_64.flavour.config]}
181195
configs:
182196
# config: image target (optional) [triples:] (Optional: x86) targets to build
183197
- &arm32_v5 {config: multi_v5_defconfig, << : *arm-triple, << : *kernel_dtbs}
@@ -197,6 +211,7 @@ configs:
197211
# https://github.com/ClangBuiltLinux/linux/issues/595
198212
- &arm64_no_vdso32 {config: [defconfig, CONFIG_COMPAT_VDSO=n], << : *arm64-triple, << : *kernel}
199213
- &arm64be {config: [defconfig, CONFIG_CPU_BIG_ENDIAN=y], << : *arm64-triple, << : *kernel}
214+
- &arm64_cros {<< : *arm64-cros-configs, << : *arm64-triple, << : *kernel}
200215
- &arm64_lto_full {config: [defconfig, CONFIG_LTO_CLANG_FULL=y], << : *arm64-triple, << : *kernel}
201216
- &arm64_lto_thin {config: [defconfig, CONFIG_LTO_CLANG_THIN=y], << : *arm64-triple, << : *kernel}
202217
- &arm64_cfi {config: [defconfig, CONFIG_LTO_CLANG_THIN=y, CONFIG_CFI_CLANG=y], << : *arm64-triple, << : *kernel}
@@ -240,6 +255,7 @@ configs:
240255
- &x86_64_lto_full {config: [defconfig, CONFIG_LTO_CLANG_FULL=y], << : *kernel}
241256
- &x86_64_lto_thin {config: [defconfig, CONFIG_LTO_CLANG_THIN=y], << : *kernel}
242257
- &x86_64_cfi {config: [defconfig, CONFIG_LTO_CLANG_THIN=y, CONFIG_CFI_CLANG=y], << : *kernel}
258+
- &x86_64_cros {<< : *x86_64-cros-configs, << : *kernel}
243259
- &x86_64_gki {config: gki_defconfig, << : *kernel}
244260
- &x86_64_cut {config: x86_64_cuttlefish_defconfig, << : *kernel}
245261
- &x86_64_allmod {config: [allmodconfig, CONFIG_WERROR=n], << : *default}
@@ -607,6 +623,13 @@ builds:
607623
- {<< : *x86_64_cut, << : *android-4_14, << : *lld, boot: true, << : *llvm_tot}
608624
- {<< : *arm64_cut, << : *android-4_9, << : *clang, boot: true, << : *llvm_tot}
609625
- {<< : *x86_64_cut, << : *android-4_9, << : *clang, boot: true, << : *llvm_tot}
626+
##############
627+
# ChromeOS #
628+
##############
629+
- {<< : *arm64_cros, << : *chromeos-5_15, << : *llvm_full, boot: true, << : *llvm_tot}
630+
- {<< : *x86_64_cros, << : *chromeos-5_15, << : *llvm_full, boot: true, << : *llvm_tot}
631+
- {<< : *arm64_cros, << : *chromeos-5_10, << : *llvm_full, boot: true, << : *llvm_tot}
632+
- {<< : *x86_64_cros, << : *chromeos-5_10, << : *llvm_full, boot: true, << : *llvm_tot}
610633
#########
611634
# TIP #
612635
#########
@@ -965,6 +988,13 @@ builds:
965988
- {<< : *x86_64_cut, << : *android-4_14, << : *lld, boot: true, << : *llvm_latest}
966989
- {<< : *arm64_cut, << : *android-4_9, << : *clang, boot: true, << : *llvm_latest}
967990
- {<< : *x86_64_cut, << : *android-4_9, << : *clang, boot: true, << : *llvm_latest}
991+
##############
992+
# ChromeOS #
993+
##############
994+
- {<< : *arm64_cros, << : *chromeos-5_15, << : *llvm_full, boot: true, << : *llvm_latest}
995+
- {<< : *x86_64_cros, << : *chromeos-5_15, << : *llvm_full, boot: true, << : *llvm_latest}
996+
- {<< : *arm64_cros, << : *chromeos-5_10, << : *llvm_full, boot: true, << : *llvm_latest}
997+
- {<< : *x86_64_cros, << : *chromeos-5_10, << : *llvm_full, boot: true, << : *llvm_latest}
968998
#########
969999
# TIP #
9701000
#########
@@ -1321,6 +1351,13 @@ builds:
13211351
- {<< : *x86_64_cut, << : *android-4_14, << : *lld, boot: true, << : *llvm_13}
13221352
- {<< : *arm64_cut, << : *android-4_9, << : *clang, boot: true, << : *llvm_13}
13231353
- {<< : *x86_64_cut, << : *android-4_9, << : *clang, boot: true, << : *llvm_13}
1354+
##############
1355+
# ChromeOS #
1356+
##############
1357+
- {<< : *arm64_cros, << : *chromeos-5_15, << : *llvm_full, boot: true, << : *llvm_13}
1358+
- {<< : *x86_64_cros, << : *chromeos-5_15, << : *llvm_full, boot: true, << : *llvm_13}
1359+
- {<< : *arm64_cros, << : *chromeos-5_10, << : *llvm_full, boot: true, << : *llvm_13}
1360+
- {<< : *x86_64_cros, << : *chromeos-5_10, << : *llvm_full, boot: true, << : *llvm_13}
13241361
#########
13251362
# TIP #
13261363
#########
@@ -1629,6 +1666,13 @@ builds:
16291666
- {<< : *x86_64_cut, << : *android-4_14, << : *lld, boot: true, << : *llvm_12}
16301667
- {<< : *arm64_cut, << : *android-4_9, << : *clang, boot: true, << : *llvm_12}
16311668
- {<< : *x86_64_cut, << : *android-4_9, << : *clang, boot: true, << : *llvm_12}
1669+
##############
1670+
# ChromeOS #
1671+
##############
1672+
- {<< : *arm64_cros, << : *chromeos-5_15, << : *llvm_full, boot: true, << : *llvm_12}
1673+
- {<< : *x86_64_cros, << : *chromeos-5_15, << : *llvm_full, boot: true, << : *llvm_12}
1674+
- {<< : *arm64_cros, << : *chromeos-5_10, << : *llvm_full, boot: true, << : *llvm_12}
1675+
- {<< : *x86_64_cros, << : *chromeos-5_10, << : *llvm_full, boot: true, << : *llvm_12}
16321676
#########
16331677
# TIP #
16341678
#########

0 commit comments

Comments
 (0)