mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
coin: test with clang compiler
Add CI build target use clang compiler and lld linker. Change-Id: Ie84a6155987e2ba742d81d52bde4f14e9ff1f8d0 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
parent
afc95c93be
commit
d90f91dfd6
|
|
@ -7,7 +7,7 @@ accept_configuration:
|
||||||
equals_value: Yocto
|
equals_value: Yocto
|
||||||
- condition: property
|
- condition: property
|
||||||
property: target.arch
|
property: target.arch
|
||||||
in_values: [TARGET1, TARGET2, TARGET3, TARGET4, TARGET5, TARGET6]
|
in_values: [TARGET1, TARGET2, TARGET3, TARGET4, TARGET5, TARGET6, TARGET7]
|
||||||
|
|
||||||
machine_type:
|
machine_type:
|
||||||
Build:
|
Build:
|
||||||
|
|
@ -15,15 +15,15 @@ machine_type:
|
||||||
|
|
||||||
# Target build matrix:
|
# Target build matrix:
|
||||||
#
|
#
|
||||||
# [target1] [target2] [target3] [target4] [target5] [target6]
|
# [target1] [target2] [target3] [target4] [target5] [target6] [target7]
|
||||||
# [machine] qemuarm64 qemux86-64 qemuarm qemux86 qemuarm64 qemuarm64
|
# [machine] qemuarm64 qemux86-64 qemuarm qemux86 qemuarm64 qemuarm64 qemuarm64
|
||||||
# [yocto] master walnascar scarthgap whinlatter scarthgap master
|
# [yocto] master walnascar scarthgap whinlatter scarthgap master master
|
||||||
# [wayland] yes no yes yes yes no
|
# [wayland] yes no yes yes yes no yes
|
||||||
# [x11] no yes yes no no yes
|
# [x11] no yes yes no no yes yes
|
||||||
# [opengl] yes yes yes yes yes no
|
# [opengl] yes yes yes yes yes no yes
|
||||||
# [mingw] no no yes no no no
|
# [mingw] no no yes no no no no
|
||||||
# [static] no no no no yes no
|
# [static] no no no no yes no no
|
||||||
#
|
# [toolchain] gcc gcc gcc gcc gcc gcc clang
|
||||||
|
|
||||||
target1: &target1
|
target1: &target1
|
||||||
type: Group
|
type: Group
|
||||||
|
|
@ -124,6 +124,22 @@ target6: &target6
|
||||||
condition: property
|
condition: property
|
||||||
property: target.arch
|
property: target.arch
|
||||||
equals_value: TARGET6
|
equals_value: TARGET6
|
||||||
|
target7: &target7
|
||||||
|
type: Group
|
||||||
|
instructions:
|
||||||
|
- type: EnvironmentVariable
|
||||||
|
variableName: MACHINE
|
||||||
|
variableValue: qemuarm64
|
||||||
|
- type: EnvironmentVariable
|
||||||
|
variableName: MANIFEST
|
||||||
|
variableValue: master.xml
|
||||||
|
- type: EnvironmentVariable
|
||||||
|
variableName: TEST_CONFIGS
|
||||||
|
variableValue: ci configs wayland x11 opengl clang
|
||||||
|
enable_if:
|
||||||
|
condition: property
|
||||||
|
property: target.arch
|
||||||
|
equals_value: TARGET7
|
||||||
|
|
||||||
instructions:
|
instructions:
|
||||||
Build:
|
Build:
|
||||||
|
|
@ -133,6 +149,7 @@ instructions:
|
||||||
- *target4
|
- *target4
|
||||||
- *target5
|
- *target5
|
||||||
- *target6
|
- *target6
|
||||||
|
- *target7
|
||||||
- type: EnvironmentVariable
|
- type: EnvironmentVariable
|
||||||
variableName: DL_DIR
|
variableName: DL_DIR
|
||||||
variableValue: "/mnt/yocto-cache/downloads"
|
variableValue: "/mnt/yocto-cache/downloads"
|
||||||
|
|
|
||||||
4
coin/test-clang.inc
Normal file
4
coin/test-clang.inc
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
PREFERRED_TOOLCHAIN_TARGET = "clang"
|
||||||
|
DISTRO_FEATURES:append = " ld-is-lld"
|
||||||
|
|
||||||
|
INSANE_SKIP:grpc-dbg = "buildpaths"
|
||||||
Loading…
Reference in New Issue
Block a user