mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-09 20:47:49 +08:00
CMake: Add qemu armv7 qtsvg builds
Move the configuration from qtbase into a new cmake_platforms_qemu.yaml file, and include it in qtbase and qtsvg. Also enable CMAKE_AUTOGEN_VERBOSE to see what moc is being called and with what parameters. Task-number: QTBUG-83968 Change-Id: Ib893c6f8cb498b9b5c7da79218de22a28ffdb83f Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
10
coin/platform_configs/cmake_platforms_qemu.yaml
Normal file
10
coin/platform_configs/cmake_platforms_qemu.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Version: 2
|
||||||
|
Configurations:
|
||||||
|
-
|
||||||
|
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||||
|
Target os: 'QEMU'
|
||||||
|
Target arch: 'armv7'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Environment variables: ['TARGET_CONFIGURE_ARGS=-DBUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/../x86_64-pokysdk-linux/usr/share/cmake/OEToolchainConfig.cmake -DQT_FEATURE_system_harfbuzz=OFF -DCMAKE_AUTOGEN_VERBOSE=ON', 'QT_YOCTO_ENVSETUP={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/../../environment-setup-armv7at2hf-neon-poky-linux-gnueabi', "QT_CMAKE_DIR=/opt/cmake-3.17.2/bin", 'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}', 'GST_PLUGIN_SCANNER=/opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/libexec/gstreamer-1.0/gst-plugin-scanner', 'QT_QUICK_BACKEND=software', 'NON_QTBASE_CONFIGURE_ARGS=', 'NON_QTBASE_TARGET_CONFIGURE_ARGS=']
|
||||||
|
Configure arguments: '-DBUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DFEATURE_system_jpeg=OFF -DFEATURE_system_png=OFF -DFEATURE_system_pcre2=OFF -DFEATURE_system_harfbuzz=OFF -DFEATURE_system_doubleconversion=OFF -DFEATURE_libudev=OFF -DCMAKE_AUTOGEN_VERBOSE=ON'
|
||||||
|
|
||||||
@@ -1,13 +1,6 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [cmake_platforms.yaml]
|
Include: [cmake_platforms.yaml, cmake_platforms_qemu.yaml]
|
||||||
Configurations:
|
Configurations:
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Target os: 'QEMU'
|
|
||||||
Target arch: 'armv7'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Environment variables: ['TARGET_CONFIGURE_ARGS=-DBUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/../x86_64-pokysdk-linux/usr/share/cmake/OEToolchainConfig.cmake -DQT_FEATURE_system_harfbuzz=OFF', 'QT_YOCTO_ENVSETUP={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/../../environment-setup-armv7at2hf-neon-poky-linux-gnueabi', "QT_CMAKE_DIR=/opt/cmake-3.17.2/bin", 'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}', 'GST_PLUGIN_SCANNER=/opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/libexec/gstreamer-1.0/gst-plugin-scanner', 'QT_QUICK_BACKEND=software', 'NON_QTBASE_CONFIGURE_ARGS=', 'NON_QTBASE_TARGET_CONFIGURE_ARGS=']
|
|
||||||
Configure arguments: '-DBUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DFEATURE_system_jpeg=OFF -DFEATURE_system_png=OFF -DFEATURE_system_pcre2=OFF -DFEATURE_system_harfbuzz=OFF -DFEATURE_system_doubleconversion=OFF -DFEATURE_libudev=OFF'
|
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-openSUSE-15.1-x86_64'
|
Template: 'qtci-linux-openSUSE-15.1-x86_64'
|
||||||
Target os: 'WebAssembly'
|
Target os: 'WebAssembly'
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [cmake_platforms.yaml]
|
Include: [cmake_platforms.yaml, cmake_platforms_qemu.yaml]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
Reference in New Issue
Block a user