Skip to content

Commit 7d846c5

Browse files
committed
build-configs: move rust builds under mainline cfg
PR kernelci#1468 added the mainline rust build in a separate `rust` build configuration instead of adding to the already existing mainline config which can cause unnecessary builds. Move it in the proper place. While at it also change the x86_64_arch anchor to build just the base x86_64_defconfig to avoid unnecessary allmodconfig rebuilds. Fixes: 43875d0 ("config: add rust build configurations") Suggested-by: Guillaume Tucker <[email protected]> Reviewed-by: Miguel Ojeda <[email protected]> Reviewed-by: Alice Ferrazzi <[email protected]> Signed-off-by: Adrian Ratiu <[email protected]>
1 parent f5b5769 commit 7d846c5

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

config/core/build-configs.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,12 @@ build_configs:
834834
clang-15:
835835
build_environment: clang-15
836836
architectures: *arch_clang_configs
837+
rustc-1.62:
838+
build_environment: rustc-1.62
839+
fragments: [rust, rust-samples, kselftest]
840+
architectures:
841+
x86_64:
842+
base_defconfig: 'x86_64_defconfig'
837843

838844
matthiasbgg-for-next:
839845
tree: matthiasbgg
@@ -1007,16 +1013,6 @@ build_configs:
10071013
branch: 'v5.15-rt'
10081014
variants: *preempt_rt_variants
10091015

1010-
rust:
1011-
tree: mainline
1012-
branch: 'master'
1013-
variants:
1014-
rustc-1.62:
1015-
build_environment: rustc-1.62
1016-
fragments: [rust, rust-samples, kselftest]
1017-
architectures:
1018-
x86_64: *x86_64_arch
1019-
10201016
rust-for-linux:
10211017
tree: rust-for-linux
10221018
branch: 'rust'
@@ -1025,7 +1021,8 @@ build_configs:
10251021
build_environment: rustc-1.62
10261022
fragments: [rust, rust-for-linux-samples, kselftest]
10271023
architectures:
1028-
x86_64: *x86_64_arch
1024+
x86_64:
1025+
base_defconfig: 'x86_64_defconfig'
10291026

10301027
samsung:
10311028
tree: samsung

0 commit comments

Comments
 (0)