diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2022-03-25 14:08:26 +0100 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2022-05-04 17:06:40 +0000 |
commit | b9a7cd83eecf1c6a4a3a1a7112369a544fe207b9 (patch) | |
tree | d8136f125ce54483df0731bc5c00a45ef15a220b | |
parent | c3b063a6f2909dcbd9d1710a1c92fcd1db8ecc7b (diff) |
wasm: add thread-asyncify build variant
Add thread-asyncify build variant for the linux host. This configuration
will be used for running auto-tests, and may also be packaged for
distribution in the installer at a future point in time.
The config options are:
thread: -DFEATURE_thread=ON
asyncify: -DQT_QMAKE_DEVICE_OPTIONS="QT_EMSCRIPTEN_ASYNCIFY=1"
Task-number: QTQAINFRA-4876
Change-Id: Id3ab3134ddd1cb47cf0ae9ac4cd3db239cdde01f
Reviewed-by: David Skoland <david.skoland@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-rw-r--r-- | coin/platform_configs/cmake_platforms_wasm.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/coin/platform_configs/cmake_platforms_wasm.yaml b/coin/platform_configs/cmake_platforms_wasm.yaml index 1dbff8b4..bffa8208 100644 --- a/coin/platform_configs/cmake_platforms_wasm.yaml +++ b/coin/platform_configs/cmake_platforms_wasm.yaml @@ -13,6 +13,17 @@ Configurations: 'CONAN_PROFILE=coin/conan/profiles/ci-linux-webassembly-x86_64-clang' ] - + Id: 'webassembly-thread-asyncify' + Template: 'qtci-linux-openSUSE-15.3-x86_64-50' + Target os: 'WebAssembly' + Compiler: 'GCC' + Platform dependency: 'OpenSUSE-15.3-host' + Features: ['Sccache', 'DisableTests'] + Environment variables: [ + 'EM_CONFIG={{.Env.EMSDK}}/.emscripten', + 'TARGET_CONFIGURE_ARGS=-DQT_QMAKE_TARGET_MKSPEC=wasm-emscripten -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_thread=ON -DQT_QMAKE_DEVICE_OPTIONS="QT_EMSCRIPTEN_ASYNCIFY=1"', + 'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'] +- Template: 'qtci-windows-10_21H2-x86_64-51' Target os: 'WebAssembly' Compiler: 'Mingw' |