aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-04-19 15:48:08 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-06-08 23:28:10 +0200
commit7c9601115d37f17dc77ecabdc0dbf7883c8e667a (patch)
treebdac20f0fb5dd01b61a42a92964f9bd2647cd21a
parent615091a6a80525e40438bf38e71e194f24114bfa (diff)
coin: Use configure for QNX configurations
Use the configure script to configure Qt in the CI, instead of calling CMake directly. Pick-to: 6.2 6.3 6.4 Task-number: QTQAINFRA-4357 Task-number: QTQAINFRA-4815 Change-Id: Ibb84a88f7f1ebd1f98e9998fac4180b257e80461 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
-rw-r--r--coin/platform_configs/cmake_platforms_qemu_qnx710.yaml21
1 files changed, 12 insertions, 9 deletions
diff --git a/coin/platform_configs/cmake_platforms_qemu_qnx710.yaml b/coin/platform_configs/cmake_platforms_qemu_qnx710.yaml
index a418911c..291b621e 100644
--- a/coin/platform_configs/cmake_platforms_qemu_qnx710.yaml
+++ b/coin/platform_configs/cmake_platforms_qemu_qnx710.yaml
@@ -8,12 +8,13 @@ Configurations:
Compiler: 'GCC'
Target compiler: 'QCC'
Platform dependency: 'Ubuntu-20.04-host'
- Features: ['Packaging', 'VMSize8']
+ Features: ['Packaging', 'VMSize8', 'UseConfigure']
Environment variables: [
- 'TARGET_CONFIGURE_ARGS=-DFEATURE_developer_build=ON -DQT_FEATURE_dbus=OFF -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-x8664.cmake',
+ 'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-dbus -nomake examples',
+ 'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-x8664.cmake',
'QT_CMAKE_DIR=/opt/cmake-3.21.3/bin',
'QNX_TEST_ENV=LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen QTEST_ENVIRONMENT=ci',
- 'NON_QTBASE_TARGET_CONFIGURE_ARGS=']
+ ]
-
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
Target os: 'QNX_710'
@@ -21,10 +22,11 @@ Configurations:
Compiler: 'GCC'
Target compiler: 'QCC'
Platform dependency: 'Ubuntu-20.04-host'
- Features: ['Packaging', 'DisableTests']
+ Features: ['Packaging', 'DisableTests', 'UseConfigure']
Environment variables: [
- 'TARGET_CONFIGURE_ARGS=-DQT_FEATURE_dbus=OFF -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-aarch64le.cmake',
- 'NON_QTBASE_TARGET_CONFIGURE_ARGS=']
+ 'TARGET_CONFIGURE_ARGS=-release -force-debug-info -no-dbus -nomake examples',
+ 'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-aarch64le.cmake',
+ ]
-
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
Target os: 'QNX_710'
@@ -32,7 +34,8 @@ Configurations:
Compiler: 'GCC'
Target compiler: 'QCC'
Platform dependency: 'Ubuntu-20.04-host'
- Features: ['Packaging', 'DisableTests']
+ Features: ['Packaging', 'DisableTests', 'UseConfigure']
Environment variables: [
- 'TARGET_CONFIGURE_ARGS=-DQT_FEATURE_dbus=OFF -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-armv7le.cmake',
- 'NON_QTBASE_TARGET_CONFIGURE_ARGS=']
+ 'TARGET_CONFIGURE_ARGS=-release -force-debug-info -no-dbus -nomake examples',
+ 'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-armv7le.cmake',
+ ]