aboutsummaryrefslogtreecommitdiffstats
path: root/coin/conan/profiles/ci-unix-android-x86-clang
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@qt.io>2021-10-26 14:51:47 +0300
committerIikka Eklund <iikka.eklund@qt.io>2021-11-27 15:49:12 +0200
commit2f89f40bd2908757595ef2445008d4c371cf4f66 (patch)
treecfeabfac799f1cce2699b2eed637c84ad5a7f185 /coin/conan/profiles/ci-unix-android-x86-clang
parent347bccf893b145341db3955375c875d6e2bf139c (diff)
Conan: Provide separate build profiles for end users and CI
The CI uses e.g. "sccache" which is rarely used outside CI systems. Also openssl install directories in the build profiles are specific to CI build agents. Also headersclean option should be CI specific. Split the current profiles in two: the CI specific profile defines only the CI related details and includes the matching profile for the end users. The profile which includes other profile(s) will override the Settings or Options if redefined. Task-number: QTQAINFRA-4619 Change-Id: If69e8c0c283655475671fcb0ca739087cd9d2567 Reviewed-by: Kai Koehne <kai.koehne@qt.io> (cherry picked from commit d6fcea563f4bc32ed15fc045231dc005163c3d01) Reviewed-by: Toni Saario <toni.saario@qt.io>
Diffstat (limited to 'coin/conan/profiles/ci-unix-android-x86-clang')
-rw-r--r--coin/conan/profiles/ci-unix-android-x86-clang5
1 files changed, 5 insertions, 0 deletions
diff --git a/coin/conan/profiles/ci-unix-android-x86-clang b/coin/conan/profiles/ci-unix-android-x86-clang
new file mode 100644
index 00000000..1dfa600a
--- /dev/null
+++ b/coin/conan/profiles/ci-unix-android-x86-clang
@@ -0,0 +1,5 @@
+include(unix-android-x86-clang)
+
+[options]
+qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOPENSSL_ROOT_DIR=$OPENSSL_ANDROID_HOME -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_ROOT/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
+*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"