mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-24 07:36:25 +08:00
Compare commits
181 Commits
v6.0.2
...
v6.1.0-alp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55b0bc23ac | ||
|
|
bcad6a23df | ||
|
|
2ae5ac5dc2 | ||
|
|
7485ae5908 | ||
|
|
7b7ab4088c | ||
|
|
ae0eb06a3a | ||
|
|
e2c6b9e581 | ||
|
|
df50ad4274 | ||
|
|
e0fcf126c6 | ||
|
|
4bcbf25951 | ||
|
|
117bdd9867 | ||
|
|
b194786ec9 | ||
|
|
0adddf1ebe | ||
|
|
3a8a4d2b11 | ||
|
|
bda4400579 | ||
|
|
124aba8e7a | ||
|
|
d2f01f17c2 | ||
|
|
4e3b53f228 | ||
|
|
efb6f87cf6 | ||
|
|
f4fe244392 | ||
|
|
ab4da065ec | ||
|
|
d86303a561 | ||
|
|
c45c7617f6 | ||
|
|
ca70f218e0 | ||
|
|
e6ecc001f6 | ||
|
|
268283a7c5 | ||
|
|
1d9d454474 | ||
|
|
e67fa087db | ||
|
|
6531f112e4 | ||
|
|
7af7a89d4e | ||
|
|
6d20944daf | ||
|
|
f4fa7d40fe | ||
|
|
66ead0a685 | ||
|
|
b57b2358cb | ||
|
|
b22c2c5757 | ||
|
|
c149644775 | ||
|
|
31e212d12f | ||
|
|
f6b0b21ba2 | ||
|
|
d538d7a2ef | ||
|
|
5162bcdffb | ||
|
|
94dd55aaea | ||
|
|
0e99350c54 | ||
|
|
8c32c1dcd7 | ||
|
|
fea422c0a6 | ||
|
|
7b68a0021f | ||
|
|
cad93542fd | ||
|
|
9ab5968c18 | ||
|
|
ca8a34f687 | ||
|
|
78f7193bdd | ||
|
|
5c8ed2840e | ||
|
|
3dc9568df5 | ||
|
|
665dfa1706 | ||
|
|
25dbd78d3f | ||
|
|
af8f88606a | ||
|
|
68e2872e50 | ||
|
|
fac571494b | ||
|
|
51cc4bd531 | ||
|
|
c657dbee63 | ||
|
|
3b8341006f | ||
|
|
7994e5fee0 | ||
|
|
d42ba5289c | ||
|
|
2ade76fecd | ||
|
|
a4d03dbc19 | ||
|
|
9be91e74a4 | ||
|
|
301ddcc75c | ||
|
|
09a48699cb | ||
|
|
c9b515a9fd | ||
|
|
dc1d95f232 | ||
|
|
b0325dc0eb | ||
|
|
2423f0846a | ||
|
|
61e28c4e57 | ||
|
|
372306a5ea | ||
|
|
6f7b14a3f3 | ||
|
|
bc9a790126 | ||
|
|
72042d9441 | ||
|
|
f79742edb1 | ||
|
|
27c87ecec6 | ||
|
|
5de8c70c45 | ||
|
|
7714f29464 | ||
|
|
cf3239347a | ||
|
|
710c59cfd2 | ||
|
|
83766e1501 | ||
|
|
ab05df0194 | ||
|
|
beb670a391 | ||
|
|
8383635261 | ||
|
|
04645bf0ff | ||
|
|
ae01600c41 | ||
|
|
1a02082c73 | ||
|
|
68a183324d | ||
|
|
ce27bd8f0e | ||
|
|
1ae018e519 | ||
|
|
05a4401802 | ||
|
|
1d7b7d38ae | ||
|
|
3150d4887b | ||
|
|
d0ac083c6a | ||
|
|
eff3b74d3b | ||
|
|
8e1e656af2 | ||
|
|
dddb69b6eb | ||
|
|
1742705215 | ||
|
|
b792fd56db | ||
|
|
00f940b4e2 | ||
|
|
d850eaed21 | ||
|
|
5f4bd8911d | ||
|
|
0350263a07 | ||
|
|
8aa15f4bbd | ||
|
|
ccac1dc652 | ||
|
|
2c20fac6ad | ||
|
|
966760de03 | ||
|
|
450fef08e8 | ||
|
|
c322db0c99 | ||
|
|
24ade60b40 | ||
|
|
68558a37a7 | ||
|
|
e2e28e7764 | ||
|
|
d49cd07d9f | ||
|
|
5d7dae8dcb | ||
|
|
6a9193ef40 | ||
|
|
7f0113ef9e | ||
|
|
96d3431ccb | ||
|
|
fef1cd938d | ||
|
|
1499e48c4c | ||
|
|
e38fc45740 | ||
|
|
d5eeee1cd2 | ||
|
|
4aa14ea9d7 | ||
|
|
acd57540e3 | ||
|
|
1aa6819016 | ||
|
|
602d23304d | ||
|
|
51bc500098 | ||
|
|
cf8c35e562 | ||
|
|
5f6935b88c | ||
|
|
b619ed1ba6 | ||
|
|
84257dc4b9 | ||
|
|
2479d6c2da | ||
|
|
0592ccadc2 | ||
|
|
5efeea3b47 | ||
|
|
88c9dee48c | ||
|
|
6202850d62 | ||
|
|
2bfbdc419b | ||
|
|
1015211da7 | ||
|
|
6b80f49efe | ||
|
|
aa79f38529 | ||
|
|
bb4606c5c8 | ||
|
|
93f7472fac | ||
|
|
4a0fe8680e | ||
|
|
aff94d55ff | ||
|
|
d3fc95535c | ||
|
|
478c779baf | ||
|
|
420d7f809c | ||
|
|
68a07c69f1 | ||
|
|
1232340ad7 | ||
|
|
e252349c44 | ||
|
|
abec558476 | ||
|
|
45ce639a62 | ||
|
|
cdea442a3a | ||
|
|
8846d0d52d | ||
|
|
94715a71ef | ||
|
|
c416896e62 | ||
|
|
6e619b06d7 | ||
|
|
5bbec95c48 | ||
|
|
21fea13125 | ||
|
|
2218bf230b | ||
|
|
b6dfb5e295 | ||
|
|
a60501e35b | ||
|
|
b8ae74d78a | ||
|
|
0167a01022 | ||
|
|
315ad7e5b6 | ||
|
|
f7659f5c7b | ||
|
|
cb1df1dd5e | ||
|
|
395fe976be | ||
|
|
e472db17f3 | ||
|
|
ace087df68 | ||
|
|
9b5c3f0a6d | ||
|
|
64f21fd0cc | ||
|
|
2ea6fd2eb2 | ||
|
|
1468849b30 | ||
|
|
4a37ec2dd5 | ||
|
|
ed8cddd726 | ||
|
|
c20aba6f04 | ||
|
|
302548040c | ||
|
|
6b46bc3b7b | ||
|
|
d2b637469f | ||
|
|
c0b8c8254c |
75
.gitmodules
vendored
75
.gitmodules
vendored
@@ -1,27 +1,28 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = 6.0
|
||||
branch = 6.1
|
||||
status = essential
|
||||
[submodule "qtsvg"]
|
||||
depends = qtbase
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = 6.0
|
||||
branch = 6.1
|
||||
status = addon
|
||||
[submodule "qtdeclarative"]
|
||||
depends = qtbase
|
||||
recommends = qtsvg
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = 6.0
|
||||
branch = 6.1
|
||||
status = essential
|
||||
[submodule "qtactiveqt"]
|
||||
depends = qtbase
|
||||
recommends = qttools
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
status = additionalLibrary
|
||||
[submodule "qtmultimedia"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
@@ -34,7 +35,7 @@
|
||||
recommends = qtdeclarative qtactiveqt
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = 6.0
|
||||
branch = 6.1
|
||||
status = essential
|
||||
[submodule "qtxmlpatterns"]
|
||||
depends = qtbase
|
||||
@@ -47,7 +48,7 @@
|
||||
depends = qttools
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 6.0
|
||||
branch = 6.1
|
||||
status = essential
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
@@ -55,7 +56,7 @@
|
||||
recommends = qtmultimedia qtquickcontrols qtquickcontrols2
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = 6.0
|
||||
branch = 6.1
|
||||
status = essential
|
||||
priority = 40
|
||||
[submodule "qtrepotools"]
|
||||
@@ -117,21 +118,22 @@
|
||||
recommends = qtdeclarative
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = 6.0
|
||||
branch = 6.1
|
||||
status = addon
|
||||
[submodule "qt3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtshadertools
|
||||
recommends = qtdeclarative qtshadertools qttools
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
status = additionalLibrary
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
recommends = qttools
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
status = additionalLibrary
|
||||
[submodule "qtgraphicaleffects"]
|
||||
depends = qtdeclarative
|
||||
path = qtgraphicaleffects
|
||||
@@ -223,7 +225,7 @@
|
||||
recommends = qtimageformats qtgraphicaleffects
|
||||
path = qtquickcontrols2
|
||||
url = ../qtquickcontrols2.git
|
||||
branch = 6.0
|
||||
branch = 6.1
|
||||
status = essential
|
||||
[submodule "qtpurchasing"]
|
||||
depends = qtbase
|
||||
@@ -234,25 +236,25 @@
|
||||
status = ignore
|
||||
[submodule "qtcharts"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
recommends = qtdeclarative qtmultimedia qttools
|
||||
path = qtcharts
|
||||
url = ../qtcharts.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
status = additionalLibrary
|
||||
[submodule "qtdatavis3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
recommends = qtdeclarative qtmultimedia qttools
|
||||
path = qtdatavis3d
|
||||
url = ../qtdatavis3d.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
status = additionalLibrary
|
||||
[submodule "qtvirtualkeyboard"]
|
||||
depends = qtbase qtdeclarative qtsvg
|
||||
recommends = qtmultimedia qtquickcontrols
|
||||
recommends = qtmultimedia qtquickcontrols qttools
|
||||
path = qtvirtualkeyboard
|
||||
url = ../qtvirtualkeyboard.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
status = additionalLibrary
|
||||
[submodule "qtgamepad"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
@@ -262,10 +264,11 @@
|
||||
status = ignore
|
||||
[submodule "qtscxml"]
|
||||
depends = qtbase qtdeclarative
|
||||
recommends = qttools
|
||||
path = qtscxml
|
||||
url = ../qtscxml.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
status = additionalLibrary
|
||||
[submodule "qtspeech"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
@@ -275,10 +278,11 @@
|
||||
status = ignore
|
||||
[submodule "qtnetworkauth"]
|
||||
depends = qtbase
|
||||
recommends = qttools
|
||||
path = qtnetworkauth
|
||||
url = ../qtnetworkauth.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
status = additionalLibrary
|
||||
[submodule "qtremoteobjects"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
@@ -295,31 +299,50 @@
|
||||
status = ignore
|
||||
[submodule "qtlottie"]
|
||||
depends = qtbase qtdeclarative
|
||||
recommends = qttools
|
||||
path = qtlottie
|
||||
url = ../qtlottie.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
status = additionalLibrary
|
||||
[submodule "qtquicktimeline"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtquicktimeline
|
||||
url = ../qtquicktimeline
|
||||
branch = 6.0
|
||||
branch = 6.1
|
||||
status = addon
|
||||
[submodule "qtquick3d"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
path = qtquick3d
|
||||
url = ../qtquick3d.git
|
||||
branch = 6.0
|
||||
branch = 6.1
|
||||
status = addon
|
||||
[submodule "qtshadertools"]
|
||||
depends = qtbase
|
||||
path = qtshadertools
|
||||
url = ../qtshadertools.git
|
||||
branch = 6.0
|
||||
branch = 6.1
|
||||
status = addon
|
||||
[submodule "qt5compat"]
|
||||
depends = qtbase
|
||||
depends = qtbase qtdeclarative
|
||||
path = qt5compat
|
||||
url = ../qt5compat.git
|
||||
branch = 6.0
|
||||
branch = 6.1
|
||||
status = deprecated
|
||||
[submodule "qtcoap"]
|
||||
depends = qtbase qttools
|
||||
path = qtcoap
|
||||
url = ../qtcoap.git
|
||||
branch = dev
|
||||
status = additionalLibrary
|
||||
[submodule "qtmqtt"]
|
||||
depends = qtbase qtdeclarative qttools
|
||||
path = qtmqtt
|
||||
url = ../qtmqtt.git
|
||||
branch = dev
|
||||
status = additionalLibrary
|
||||
[submodule "qtopcua"]
|
||||
depends = qtbase qtdeclarative qtquickcontrols2 qttools
|
||||
path = qtopcua
|
||||
url = ../qtopcua.git
|
||||
branch = dev
|
||||
status = additionalLibrary
|
||||
|
||||
@@ -9,7 +9,7 @@ cmake_minimum_required(VERSION ${__qt_minimum_cmake_version})
|
||||
include("${__qt6_qtbase_src_path}/cmake/QtAutoDetect.cmake")
|
||||
|
||||
project(Qt
|
||||
VERSION 6.0.1
|
||||
VERSION 6.1.0
|
||||
DESCRIPTION "Qt Libraries"
|
||||
HOMEPAGE_URL "https://qt.io/"
|
||||
LANGUAGES CXX C ASM
|
||||
|
||||
134
README
134
README
@@ -1,134 +0,0 @@
|
||||
HOW TO BUILD QT5
|
||||
================
|
||||
|
||||
|
||||
Synopsis
|
||||
========
|
||||
|
||||
System requirements
|
||||
------------------
|
||||
|
||||
- Perl 5.8 or later
|
||||
- Python 2.7 or later
|
||||
- C++ compiler supporting the C++11 standard
|
||||
|
||||
For other platform specific requirements,
|
||||
please see section "Setting up your machine" on:
|
||||
http://wiki.qt.io/Get_The_Source
|
||||
|
||||
Licensing:
|
||||
----------
|
||||
|
||||
Opensource users:
|
||||
|
||||
<license> = -opensource
|
||||
|
||||
Commercial users:
|
||||
|
||||
<license> = -commercial
|
||||
|
||||
Linux, Mac:
|
||||
-----------
|
||||
|
||||
cd <path>/<source_package>
|
||||
./configure -prefix $PWD/qtbase <license> -nomake tests
|
||||
make -j 4
|
||||
|
||||
Windows:
|
||||
--------
|
||||
|
||||
Open a command prompt.
|
||||
Ensure that the following tools can be found in the path:
|
||||
* Supported compiler (Visual Studio 2012 or later,
|
||||
MinGW-builds gcc 4.9 or later)
|
||||
* Perl version 5.12 or later [http://www.activestate.com/activeperl/]
|
||||
* Python version 2.7 or later [http://www.activestate.com/activepython/]
|
||||
* Ruby version 1.9.3 or later [http://rubyinstaller.org/]
|
||||
|
||||
cd <path>\<source_package>
|
||||
configure -prefix %CD%\qtbase <license> -nomake tests
|
||||
nmake // jom // mingw32-make
|
||||
|
||||
To accelerate the bootstrap of qmake with MSVC, it may be useful to pass
|
||||
"-make-tool jom" on the configure command line. If you do not use jom,
|
||||
adding "/MP" to the CL environment variable is a good idea.
|
||||
|
||||
More details follow.
|
||||
|
||||
Build!
|
||||
======
|
||||
|
||||
A typical `configure; make' build process is used.
|
||||
|
||||
Some relevant configure options (see configure -help):
|
||||
|
||||
-release Compile and link Qt with debugging turned off.
|
||||
-debug Compile and link Qt with debugging turned on.
|
||||
-nomake tests Disable building of tests to speed up compilation
|
||||
-nomake examples Disable building of examples to speed up compilation
|
||||
-confirm-license Automatically acknowledge the LGPL 2.1 license.
|
||||
|
||||
Example for a release build:
|
||||
(adjust the `-jN' parameter as appropriate for your system)
|
||||
|
||||
./configure -prefix $PWD/qtbase <license>
|
||||
make -j4
|
||||
|
||||
Example for a developer build:
|
||||
(enables more autotests, builds debug version of libraries, ...)
|
||||
|
||||
./configure -developer-build <license>
|
||||
make -j4
|
||||
|
||||
See output of `./configure -help' for documentation on various options to
|
||||
configure.
|
||||
|
||||
The above examples will build whatever Qt5 modules have been enabled by
|
||||
default in the build system.
|
||||
|
||||
It is possible to build selected modules with their dependencies by doing
|
||||
a `make module-<foo>'. For example, to build only qtdeclarative,
|
||||
and the modules it depends on:
|
||||
|
||||
./configure -prefix $PWD/qtbase <license>
|
||||
make -j4 module-qtdeclarative
|
||||
|
||||
This can save a lot of time if you are only interested in a subset of Qt5.
|
||||
|
||||
|
||||
Hints
|
||||
=====
|
||||
|
||||
The submodule repository qtrepotools contains useful scripts for
|
||||
developers and release engineers. Consider adding qtrepotools/bin
|
||||
to your PATH environment variable to access them.
|
||||
|
||||
The qt5_tool in qtrepotools has some more features which may be of interest.
|
||||
Try `qt5_tool --help'.
|
||||
|
||||
|
||||
Building Qt5 from git
|
||||
=====================
|
||||
See http://wiki.qt.io/Building_Qt_5_from_Git and README.git
|
||||
for more information.
|
||||
See http://wiki.qt.io/Qt_5 for the reference platforms.
|
||||
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
After configuring and compiling Qt, building the documentation is possible by running
|
||||
"make docs".
|
||||
|
||||
After having built the documentation, you need to install it with the following
|
||||
command:
|
||||
|
||||
make install_docs
|
||||
|
||||
The documentation is installed in the path set to $QT_INSTALL_DOCS.
|
||||
Running "qmake -query" will list the value of QT_INSTALL_DOCS.
|
||||
|
||||
Information about Qt 5's documentation is located in qtbase/doc/README
|
||||
or in the following page: http://wiki.qt.io/Qt5DocumentationProject
|
||||
|
||||
Note: Building the documentation is only tested on desktop platforms.
|
||||
131
README.md
Normal file
131
README.md
Normal file
@@ -0,0 +1,131 @@
|
||||
HOW TO BUILD Qt6
|
||||
================
|
||||
|
||||
|
||||
Synopsis
|
||||
========
|
||||
|
||||
System requirements
|
||||
------------------
|
||||
|
||||
* CMake 3.18 or later
|
||||
* Perl 5.8 or later
|
||||
* Python 2.7 or later
|
||||
* C++ compiler supporting the C++17 standard
|
||||
|
||||
It's recommended to have ninja 1.8 or later installed.
|
||||
|
||||
For other platform specific requirements,
|
||||
please see section "Setting up your machine" on:
|
||||
http://wiki.qt.io/Get_The_Source
|
||||
|
||||
Linux, Mac:
|
||||
-----------
|
||||
|
||||
````
|
||||
cd <path>/<source_package>
|
||||
./configure -prefix $PWD/qtbase
|
||||
cmake --build .
|
||||
````
|
||||
|
||||
Windows:
|
||||
--------
|
||||
|
||||
1. Open a command prompt.
|
||||
2. Ensure that the following tools can be found in the path:
|
||||
* Supported compiler (Visual Studio 2019 or later, or MinGW-builds gcc 8.1 or later)
|
||||
* Perl version 5.12 or later [http://www.activestate.com/activeperl/]
|
||||
* Python version 2.7 or later [http://www.activestate.com/activepython/]
|
||||
* Ruby version 1.9.3 or later [http://rubyinstaller.org/]
|
||||
|
||||
````
|
||||
cd <path>\<source_package>
|
||||
configure -prefix %CD%\qtbase
|
||||
cmake --build .
|
||||
````
|
||||
|
||||
More details follow.
|
||||
|
||||
Build!
|
||||
======
|
||||
|
||||
Qt is built with CMake, and a typical
|
||||
`configure && cmake --build .` build process is used.
|
||||
|
||||
If ninja is installed, it is automatically chosen as CMake generator.
|
||||
|
||||
Some relevant configure options (see configure -help):
|
||||
|
||||
* `-release` Compile and link Qt with debugging turned off.
|
||||
* `-debug` Compile and link Qt with debugging turned on.
|
||||
|
||||
Example for a release build:
|
||||
|
||||
````
|
||||
./configure -prefix $PWD/qtbase
|
||||
cmake --build .
|
||||
````
|
||||
|
||||
Example for a developer build:
|
||||
(enables more autotests, builds debug version of libraries, ...)
|
||||
|
||||
````
|
||||
./configure -developer-build
|
||||
cmake --build .
|
||||
````
|
||||
|
||||
See output of `./configure -help` for documentation on various options to
|
||||
configure.
|
||||
|
||||
The above examples will build whatever Qt modules have been enabled
|
||||
by default in the build system.
|
||||
|
||||
It is possible to build selected repositories with their dependencies by doing
|
||||
a `ninja <repo-name>/all'. For example, to build only qtdeclarative,
|
||||
and the modules it depends on:
|
||||
|
||||
````
|
||||
./configure
|
||||
ninja qtdeclarative/all
|
||||
````
|
||||
|
||||
This can save a lot of time if you are only interested in a subset of Qt.
|
||||
|
||||
|
||||
Hints
|
||||
=====
|
||||
|
||||
The submodule repository `qtrepotools` contains useful scripts for
|
||||
developers and release engineers. Consider adding qtrepotools/bin
|
||||
to your `PATH` environment variable to access them.
|
||||
|
||||
|
||||
Building Qt from git
|
||||
=====================
|
||||
See http://wiki.qt.io/Building_Qt_6_from_Git and README.git
|
||||
for more information.
|
||||
See http://wiki.qt.io/Qt_6 for the reference platforms.
|
||||
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
After configuring and compiling Qt, building the documentation is possible by running
|
||||
|
||||
```
|
||||
cmake --build . --target docs
|
||||
```
|
||||
|
||||
After having built the documentation, you need to install it with the following
|
||||
command:
|
||||
|
||||
```
|
||||
cmake --build . --target install_docs
|
||||
```
|
||||
|
||||
The documentation is installed in the path specified with the
|
||||
configure argument `-docdir`.
|
||||
|
||||
Information about Qt's documentation is located in qtbase/doc/README
|
||||
|
||||
Note: Building the documentation is only tested on desktop platforms.
|
||||
@@ -131,6 +131,15 @@ function(qt_internal_checkout module revision)
|
||||
RESULT_VARIABLE git_result
|
||||
${swallow_output}
|
||||
)
|
||||
if (git_result EQUAL 128)
|
||||
message(WARNING "${git_output}, trying detached checkout")
|
||||
execute_process(
|
||||
COMMAND "git" "checkout" "--detach" "${revision}"
|
||||
WORKING_DIRECTORY "./${module}"
|
||||
RESULT_VARIABLE git_result
|
||||
${swallow_output}
|
||||
)
|
||||
endif()
|
||||
if (git_result)
|
||||
message(FATAL_ERROR "Failed to check '${module}' out to '${revision}': ${git_output}")
|
||||
endif()
|
||||
|
||||
@@ -24,13 +24,13 @@ instructions:
|
||||
- type: Group
|
||||
instructions:
|
||||
- type: ExecuteCommand
|
||||
command: "{{.Env.ENV_PREFIX}} cmake --build . --target qttools/all --parallel -v"
|
||||
command: "{{.Env.ENV_PREFIX}} cmake --build . --target qtbase/src/plugins/platforms/all qtbase/src/plugins/sqldrivers/all qttools/all --parallel -v"
|
||||
maxTimeInSeconds: 12000
|
||||
maxTimeBetweenOutput: 1200
|
||||
userMessageOnFailure: >
|
||||
Failed to build sources.
|
||||
- type: ExecuteCommand
|
||||
command: "{{.Env.ENV_PREFIX}} cmake --build . --target generate_docs -v"
|
||||
command: "{{.Env.ENV_PREFIX}} cmake --build . --target docs -v"
|
||||
maxTimeInSeconds: 12000
|
||||
maxTimeBetweenOutput: 1200
|
||||
userMessageOnFailure: >
|
||||
|
||||
@@ -3,7 +3,8 @@ Include: [
|
||||
cmake_platforms_qemu.yaml,
|
||||
cmake_platforms_target_android_host_linux.yaml,
|
||||
cmake_platforms_target_android_host_macos.yaml,
|
||||
cmake_platforms_target_android_host_windows.yaml
|
||||
cmake_platforms_target_android_host_windows.yaml,
|
||||
macos.yaml
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
@@ -21,6 +22,14 @@ Configurations:
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'DisableTests']
|
||||
Configure arguments: '-DFEATURE_developer_build=ON -DINPUT_opengl=no -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
@@ -37,9 +46,9 @@ Configurations:
|
||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-openSUSE-15.1-x86_64'
|
||||
Template: 'qtci-linux-openSUSE-15.2-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'InsignificantTests']
|
||||
Features: ['Sccache']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
@@ -50,44 +59,6 @@ Configurations:
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=OFF -DFEATURE_sql_mysql=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Id: 'macos-10.14-host'
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'Sccache']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DFEATURE_headersclean=ON -DFEATURE_framework=ON -DCMAKE_OSX_SYSROOT:PATH=/Applications/Xcode11.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/..'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
]
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['DisableTests', 'Sccache']
|
||||
Configure arguments: '-DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_framework=OFF -DQT_NAMESPACE=TestNamespace -DQT_BUILD_EXAMPLES=OFF -DCMAKE_OSX_SYSROOT:PATH=/Applications/Xcode11.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
]
|
||||
-
|
||||
Id: 'macos-10.15-host'
|
||||
Template: 'qtci-macos-10.15-x86_64-100'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'Sccache', 'InsignificantTests']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DFEATURE_headersclean=ON -DFEATURE_framework=ON -DCMAKE_OSX_SYSROOT:PATH=/Applications/Xcode12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/..'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
]
|
||||
-
|
||||
Template: 'qtci-macos-10.15-x86_64-100'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'InsignificantTests']
|
||||
Configure arguments: '-DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_WITH_PCH=OFF -DFEATURE_framework=OFF -DQT_NAMESPACE=TestNamespace -DQT_BUILD_EXAMPLES=ON -DCMAKE_OSX_SYSROOT:PATH=/Applications/Xcode12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
]
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
@@ -107,8 +78,8 @@ Configurations:
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Id: 'CentOS-8.1-host'
|
||||
Template: 'qtci-linux-CentOS-8.1-x86_64-50'
|
||||
Id: 'CentOS-8.3-host'
|
||||
Template: 'qtci-linux-CentOS-8.3-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_headersclean=ON -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 -DINPUT_bundled_xcb_xinput=yes -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DOpenGL_GL_PREFERENCE=LEGACY'
|
||||
@@ -120,7 +91,7 @@ Configurations:
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-10.14-host'
|
||||
Platform dependency: 'macos-latest-xcode-x86_64-packaging-build'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
|
||||
Environment variables: ['TARGET_CONFIGURE_ARGS=-G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="Release;Debug" -DQT_BUILD_EXAMPLES=OFF -DCMAKE_SYSTEM_NAME=iOS', 'NON_QTBASE_TARGET_CONFIGURE_ARGS=']
|
||||
-
|
||||
@@ -135,6 +106,14 @@ Configurations:
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}'
|
||||
]
|
||||
-
|
||||
Id: 'Windows10-LLVM-x64-host'
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache']
|
||||
Configure arguments: '-GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DBUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DFEATURE_system_zlib=OFF -DFEATURE_system_tiff=OFF -DFEATURE_system_freetype=OFF -DFEATURE_system_jpeg=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..'
|
||||
Environment variables: ['Path=C:\llvm-mingw\bin;{{.Env.Path}}', 'NON_QTBASE_CONFIGURE_ARGS=-DFEATURE_system_tiff=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache', 'LLVM_INSTALL_DIR=C:\llvm-mingw']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'Mingw'
|
||||
|
||||
@@ -8,11 +8,11 @@ Configurations:
|
||||
Platform dependency: 'Ubuntu-20.04-host'
|
||||
Features: ['Sccache', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_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 -DQT_QMAKE_TARGET_MKSPEC=devices/linux-imx7-g++ -DQT_QMAKE_DEVICE_OPTIONS="CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-;DISTRO_OPTS=hard-float boot2qt" -DCMAKE_STAGING_PREFIX=/home/qt/work/install/target -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_forkfd_pidfd=OFF -DWARNINGS_ARE_ERRORS=OFF',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/../../environment-setup-armv7at2hf-neon-poky-linux-gnueabi',
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=ON -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARMV7_TOOLCHAIN_FILE}} -DQT_FEATURE_system_harfbuzz=OFF -DQT_QMAKE_TARGET_MKSPEC=devices/linux-imx7-g++ -DQT_QMAKE_DEVICE_OPTIONS="CROSS_COMPILE={{.Env.QEMUARMV7_TOOLCHAIN_CROSS_COMPILE}};DISTRO_OPTS=hard-float boot2qt" -DCMAKE_STAGING_PREFIX=/home/qt/work/install/target -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_forkfd_pidfd=OFF -DWARNINGS_ARE_ERRORS=OFF',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARMV7_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.19.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',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TARGET_TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
@@ -24,11 +24,11 @@ Configurations:
|
||||
Platform dependency: 'Ubuntu-20.04-host'
|
||||
Features: ['Sccache', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/../x86_64-pokysdk-linux/usr/share/cmake/OEToolchainConfig.cmake -DQT_FEATURE_system_harfbuzz=OFF -DQT_QMAKE_TARGET_MKSPEC=devices/linux-generic-g++ -DQT_QMAKE_DEVICE_OPTIONS="CROSS_COMPILE=/opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-;DISTRO_OPTS=boot2qt" -DCMAKE_STAGING_PREFIX=/home/qt/work/install/target -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_forkfd_pidfd=OFF -DWARNINGS_ARE_ERRORS=OFF',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/../../environment-setup-aarch64-poky-linux',
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_FEATURE_system_harfbuzz=OFF -DQT_QMAKE_TARGET_MKSPEC=devices/linux-generic-g++ -DQT_QMAKE_DEVICE_OPTIONS="CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}};DISTRO_OPTS=boot2qt" -DCMAKE_STAGING_PREFIX=/home/qt/work/install/target -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_forkfd_pidfd=OFF -DWARNINGS_ARE_ERRORS=OFF',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.19.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER=/opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TARGET_TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
@@ -40,10 +40,11 @@ Configurations:
|
||||
Platform dependency: 'Ubuntu-20.04-host'
|
||||
Features: ['Sccache', 'InsignificantTests', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}/../x86_64-pokysdk-linux/usr/share/cmake/OEToolchainConfig.cmake -DQT_FEATURE_system_harfbuzz=OFF -DQT_QMAKE_TARGET_MKSPEC=devices/linux-generic-g++ -DQT_QMAKE_DEVICE_OPTIONS="CROSS_COMPILE=/opt/yocto-mips64/sysroots/x86_64-pokysdk-linux/usr/bin/mips64-poky-linux/mips64-poky-linux-;DISTRO_OPTS=boot2qt" -DCMAKE_STAGING_PREFIX=/home/qt/work/install/target -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_forkfd_pidfd=OFF -DWARNINGS_ARE_ERRORS=OFF',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}/../../environment-setup-mips64r2-poky-linux',
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUMIPS64_TOOLCHAIN_FILE}} -DQT_FEATURE_system_harfbuzz=OFF -DQT_QMAKE_TARGET_MKSPEC=devices/linux-generic-g++ -DQT_QMAKE_DEVICE_OPTIONS="CROSS_COMPILE={{.Env.QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE}};DISTRO_OPTS=boot2qt" -DCMAKE_STAGING_PREFIX=/home/qt/work/install/target -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_forkfd_pidfd=OFF -DWARNINGS_ARE_ERRORS=OFF',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUMIPS64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.19.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TARGET_TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
|
||||
@@ -1,45 +1,45 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-CentOS-8.1-x86_64-50'
|
||||
Template: 'qtci-linux-CentOS-8.3-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'CentOS-8.1-host'
|
||||
Platform dependency: 'CentOS-8.3-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_HOME}} -DANDROID_ABI=arm64-v8a -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-CentOS-8.1-x86_64-50'
|
||||
Template: 'qtci-linux-CentOS-8.3-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'CentOS-8.1-host'
|
||||
Platform dependency: 'CentOS-8.3-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_HOME}} -DANDROID_ABI=armeabi-v7a -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-CentOS-8.1-x86_64-50'
|
||||
Template: 'qtci-linux-CentOS-8.3-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'CentOS-8.1-host'
|
||||
Platform dependency: 'CentOS-8.3-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_HOME}} -DANDROID_ABI=x86 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-CentOS-8.1-x86_64-50'
|
||||
Template: 'qtci-linux-CentOS-8.3-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'CentOS-8.1-host'
|
||||
Platform dependency: 'CentOS-8.3-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_HOME}} -DANDROID_ABI=x86_64 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
|
||||
@@ -6,7 +6,7 @@ Configurations:
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-10.14-host'
|
||||
Platform dependency: 'macos-latest-xcode-x86_64-packaging-build'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_HOME}} -DANDROID_ABI=arm64-v8a -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
@@ -17,7 +17,7 @@ Configurations:
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-10.14-host'
|
||||
Platform dependency: 'macos-latest-xcode-x86_64-packaging-build'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_HOME}} -DANDROID_ABI=armeabi-v7a -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
@@ -28,7 +28,7 @@ Configurations:
|
||||
Target arch: 'x86'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-10.14-host'
|
||||
Platform dependency: 'macos-latest-xcode-x86_64-packaging-build'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_HOME}} -DANDROID_ABI=x86 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
@@ -39,7 +39,7 @@ Configurations:
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-10.14-host'
|
||||
Platform dependency: 'macos-latest-xcode-x86_64-packaging-build'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_HOME}} -DANDROID_ABI=x86_64 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
|
||||
@@ -1,88 +1,5 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -headersclean -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -qt-zlib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -force-debug-info -nomake tests -no-widgets -R . -openssl'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['UseLegacyInstructions', 'DisableTests']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -no-gui -R . -openssl'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['OutOfSourceBuild', 'Documentation', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -no-warnings-are-errors -nomake tests -R . -qtlibinfix TestInfix -qtnamespace TestNamespace -openssl'
|
||||
-
|
||||
Template: 'qtci-linux-openSUSE-15.1-x86_64'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -release -static -nomake tests -nomake examples -no-sql-mysql -no-pch -no-dbus -no-headersclean -no-ssl -no-warnings-are-errors -no-feature-thread -xplatform wasm-emscripten'
|
||||
-
|
||||
Template: 'qtci-linux-SLES-15_SP2-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -no-sql-mysql -no-pch -R . -openssl'
|
||||
-
|
||||
Template: 'qtci-linux-CentOS-8.1-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -headersclean -force-debug-info -separate-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -xcb -bundled-xcb-xinput -sysconfdir /etc/xdg -openssl -qt-pcre -qt-harfbuzz -R . QMAKE_LFLAGS_APP+=-s'
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -release -headersclean -separate-debug-info -nomake tests -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -sysconfdir /Library/Preferences/Qt -I/usr/local/opt/openssl/include'
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /Users/qt/work/install -developer-build -release -no-pch -no-framework -qtnamespace TestNamespace -nomake tests -nomake examples -I/usr/local/opt/openssl/include'
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'multi'
|
||||
Compiler: 'Clang'
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -nomake tests -no-icu -nomake examples -no-sql-mysql -no-sql-psql -plugin-sql-sqlite -static -xplatform macx-ios-clang'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Features: ['UseLegacyInstructions', 'InsignificantTests']
|
||||
Environment variables: ['GST_PLUGIN_SCANNER=/opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/libexec/gstreamer-1.0/gst-plugin-scanner', 'QT_QUICK_BACKEND=software']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -release -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib -no-feature-forkfd_pidfd -no-warnings-are-errors'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['UseLegacyInstructions', 'InsignificantTests']
|
||||
Environment variables: ['GST_PLUGIN_SCANNER=/opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/libexec/gstreamer-1.0/gst-plugin-scanner', 'QT_QUICK_BACKEND=software']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -release -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-generic-g++ -device-option CROSS_COMPILE=/opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux- -device-option DISTRO_OPTS=boot2qt -sysroot /opt/yocto-arm64/sysroots/aarch64-poky-linux -extprefix /home/qt/work/install -mysql_config /opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/bin/mysql_config -psql_config /dev/null -tslib -no-feature-forkfd_pidfd -no-warnings-are-errors'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'mips64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Environment variables: ['QT_QUICK_BACKEND=software']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-generic-g++ -device-option CROSS_COMPILE=/opt/yocto-mips64/sysroots/x86_64-pokysdk-linux/usr/bin/mips64-poky-linux/mips64-poky-linux- -device-option DISTRO_OPTS=boot2qt -sysroot /opt/yocto-mips64/sysroots/mips64r2-poky-linux -extprefix /home/qt/work/install -mysql_config /opt/yocto-mips64/sysroots/mips64r2-poky-linux/usr/bin/mysql_config -psql_config /dev/null -tslib -no-feature-forkfd_pidfd -no-warnings-are-errors'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW810\mingw64\bin;$PATH']
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -force-debug-info -separate-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++ QMAKE_LFLAGS_APP+=-s -qt-zlib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
|
||||
@@ -13,7 +13,7 @@ Configurations:
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-CentOS-8.1-x86_64-50'
|
||||
Template: 'qtci-linux-CentOS-8.3-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -openssl -qt-harfbuzz QMAKE_LFLAGS_APP+=-s -static -no-icu'
|
||||
|
||||
20
coin/platform_configs/macos-developer-build-tests.yaml
Normal file
20
coin/platform_configs/macos-developer-build-tests.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'macos-10.14-x86_64-developer-build-tests'
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'
|
||||
-
|
||||
Id: 'macos-10.15-x86_64-developer-build-tests'
|
||||
Template: 'qtci-macos-10.15-x86_64-100'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'InsignificantTests']
|
||||
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'
|
||||
-
|
||||
Id: 'macos-11-x86_64-developer-build-tests'
|
||||
Template: 'qtci-macos-11.0-x86_64-100'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'InsignificantTests']
|
||||
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'
|
||||
46
coin/platform_configs/macos.yaml
Normal file
46
coin/platform_configs/macos.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
# Build with latest Xcode
|
||||
-
|
||||
Id: 'macos-latest-xcode-x86_64-packaging-build'
|
||||
Template: 'qtci-macos-11.0-x86_64-100'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'Sccache', 'DoNotRunTests']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DFEATURE_headersclean=ON -DFEATURE_framework=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/..'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
]
|
||||
|
||||
# Then run tests on all supported deployment targets
|
||||
-
|
||||
Id: 'macos-10.14-x86_64-tests'
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'macos-latest-xcode-x86_64-packaging-build'
|
||||
-
|
||||
Id: 'macos-10.15-x86_64-tests'
|
||||
Template: 'qtci-macos-10.15-x86_64-100'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'InsignificantTests']
|
||||
Platform dependency: 'macos-latest-xcode-x86_64-packaging-build'
|
||||
-
|
||||
Id: 'macos-11-x86_64-tests'
|
||||
Template: 'qtci-macos-11.0-x86_64-100'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'InsignificantTests']
|
||||
Platform dependency: 'macos-latest-xcode-x86_64-packaging-build'
|
||||
|
||||
# Build developer builds for all modules, but only run tests for qtbase and declarative.
|
||||
# See macos-developer-build-tests.yaml for the tests
|
||||
-
|
||||
Id: 'macos-latest-xcode-x86_64-developer-build'
|
||||
Template: 'qtci-macos-11.0-x86_64-100'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'DoNotRunTests']
|
||||
Configure arguments: '-DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_WITH_PCH=OFF -DFEATURE_framework=OFF -DQT_NAMESPACE=TestNamespace -DQT_BUILD_EXAMPLES=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
]
|
||||
@@ -13,12 +13,12 @@ Configurations:
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -nomake tests -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -opengl dynamic -static -no-icu -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64%'
|
||||
-
|
||||
Template: 'qtci-linux-CentOS-8.1-x86_64-50'
|
||||
Template: 'qtci-linux-CentOS-8.3-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -openssl -qt-harfbuzz QMAKE_LFLAGS_APP+=-s -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -release -nomake tests -nomake examples -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -sysconfdir /Library/Preferences/Qt -I/usr/local/opt/openssl/include -static -no-icu'
|
||||
|
||||
3
coin/platform_configs/qtactiveqt.yaml
Normal file
3
coin/platform_configs/qtactiveqt.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,33 +1,16 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
macos-developer-build-tests.yaml
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-openSUSE-15.1-x86_64'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -developer-build -static -nomake tests -nomake examples -no-pch -no-feature-thread -no-dbus -no-headersclean -no-ssl -no-warnings-are-errors -xplatform wasm-emscripten'
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /Users/qt/work/install -developer-build -release -no-pch -no-framework -qtnamespace TestNamespace -nomake tests -nomake examples -I/usr/local/opt/openssl/include'
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache']
|
||||
Configure arguments: '-DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_WITH_PCH=OFF -DFEATURE_framework=OFF -DQT_NAMESPACE=TestNamespace -DQT_BUILD_EXAMPLES=OFF -DCMAKE_OSX_SYSROOT:PATH=/Applications/Xcode11.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
]
|
||||
-
|
||||
Template: 'qtci-linux-CentOS-8.1-x86_64-50'
|
||||
Template: 'qtci-linux-CentOS-8.3-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'CentOS-8.1-host'
|
||||
Platform dependency: 'CentOS-8.3-host'
|
||||
Features: ['Packaging', 'Sccache', 'AndroidTestRun']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DBUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_HOME}} -DANDROID_ABI=x86 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
|
||||
3
coin/platform_configs/qtcharts.yaml
Normal file
3
coin/platform_configs/qtcharts.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
3
coin/platform_configs/qtdatavis3d.yaml
Normal file
3
coin/platform_configs/qtdatavis3d.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,17 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /Users/qt/work/install -developer-build -release -no-pch -no-framework -qtnamespace TestNamespace -nomake tests -nomake examples -I/usr/local/opt/openssl/include'
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache']
|
||||
Configure arguments: '-DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_WITH_PCH=OFF -DFEATURE_framework=OFF -DQT_NAMESPACE=TestNamespace -DQT_BUILD_EXAMPLES=OFF -DCMAKE_OSX_SYSROOT:PATH=/Applications/Xcode11.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
macos-developer-build-tests.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
3
coin/platform_configs/qtlocation.yaml
Normal file
3
coin/platform_configs/qtlocation.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
3
coin/platform_configs/qtlottie.yaml
Normal file
3
coin/platform_configs/qtlottie.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -13,7 +13,7 @@ Configurations:
|
||||
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -static -nomake tests -nomake examples -no-icu -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -platform win32-g++'
|
||||
-
|
||||
Template: 'qtci-linux-CentOS-8.1-x86_64-50'
|
||||
Template: 'qtci-linux-CentOS-8.3-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -static -nomake tests -nomake examples -no-use-gold-linker -no-icu -no-fontconfig -qt-freetype -no-opengl -qpa offscreen -no-xcb -qt-libpng -no-vulkan'
|
||||
|
||||
3
coin/platform_configs/qtscxml.yaml
Normal file
3
coin/platform_configs/qtscxml.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,15 +0,0 @@
|
||||
-
|
||||
Template: 'qtci-windows-10-x86-4'
|
||||
Compiler: 'MSVC2019'
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -force-debug-info -opengl dynamic -nomake examples -nomake tests'
|
||||
Features: ['UseLegacyInstructions']
|
||||
-
|
||||
Template: 'qtci-linux-CentOS-8.1-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -force-debug-info -nomake examples -nomake tests'
|
||||
Features: ['UseLegacyInstructions']
|
||||
-
|
||||
Template: 'qtci-windows-8.1-x86'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -force-debug-info -opengl dynamic -nomake examples -nomake tests'
|
||||
3
coin/platform_configs/qtserialbus.yaml
Normal file
3
coin/platform_configs/qtserialbus.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
3
coin/platform_configs/qtserialport.yaml
Normal file
3
coin/platform_configs/qtserialport.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
3
coin/platform_configs/qtspeech.yaml
Normal file
3
coin/platform_configs/qtspeech.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -22,7 +22,7 @@ Configurations:
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -no-sql-mysql -no-pch -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
||||
-
|
||||
Template: 'qtci-linux-CentOS-8.1-x86_64-50'
|
||||
Template: 'qtci-linux-CentOS-8.3-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -headersclean -force-debug-info -separate-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -xcb -bundled-xcb-xinput -sysconfdir /etc/xdg -qt-pcre -openssl -qt-harfbuzz -R . QMAKE_LFLAGS_APP+=-s'
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Target arch: 'x86'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-CentOS-8.1-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -openssl -qt-harfbuzz QMAKE_LFLAGS_APP+=-s -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -release -nomake tests -nomake examples -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -sysconfdir /Library/Preferences/Qt -I/usr/local/opt/openssl/include -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck', 'UseLegacyInstructions']
|
||||
@@ -1,9 +1,3 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86-4'
|
||||
Compiler: 'MSVC2019'
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -force-debug-info -opengl dynamic -nomake examples -nomake tests'
|
||||
Features: ['UseLegacyInstructions']
|
||||
|
||||
Configurations: []
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
### CENTOS 8.1 ###
|
||||
### CENTOS 8.3 ###
|
||||
Hard Disk: 500G
|
||||
Network: CI
|
||||
Video Card: Total Video Memory: 64MB
|
||||
Boot options/Firmware: BIOS
|
||||
|
||||
Language: English (United States)
|
||||
Time & Date: Europe/Helsinki
|
||||
Time & Date: Etc/Coordinated Universal Time
|
||||
Software Selection: Server with GUI
|
||||
Network & Host..: Connect
|
||||
|
||||
@@ -26,20 +26,25 @@ Connect Your Online Accounts: Skip
|
||||
Devices:
|
||||
* Displays: Resolution 1280 x 800
|
||||
Details:
|
||||
* Time Zone: GMT
|
||||
* Time Zone: UTC
|
||||
* run "sudo timedatectl set-timezone Etc/UTC"
|
||||
* Users: Automatic login on
|
||||
|
||||
# Add user to sudoers
|
||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_386/coin-setup
|
||||
|
||||
run 'sudo ./coin-setup'
|
||||
|
||||
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
|
||||
grub2-mkconfig -o /etc/grub2.cfg
|
||||
grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
sudo grub2-mkconfig -o /etc/grub2.cfg
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
|
||||
# Add support for virtio driver
|
||||
su
|
||||
echo "add_drivers+=\"virtio-blk\"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
run './coin-setup'
|
||||
|
||||
Reboot
|
||||
|
||||
@@ -38,6 +38,6 @@ set -ex
|
||||
source "${BASH_SOURCE%/*}/../unix/sccache.sh"
|
||||
|
||||
targetArch=x86_64-unknown-linux-musl
|
||||
targetVersion=0.2.13-alpha-0
|
||||
sha1=0cb28f7408e5246bc71132f27d86301c30e16c74
|
||||
targetVersion=0.2.14
|
||||
sha1=281680c0fc2c09173e94d12ba45d9f1b8e62e5b3
|
||||
installSccache "$targetArch" "$targetVersion" "$sha1"
|
||||
|
||||
@@ -46,7 +46,7 @@ url=ci-files01-hki.intra.qt.io:/hdd/www/input/mac
|
||||
|
||||
echo "Mounting $targetFile"
|
||||
sudo mkdir -p /Volumes/files
|
||||
sudo mount "$url" /Volumes/files
|
||||
sudo mount -o locallocks "$url" /Volumes/files
|
||||
|
||||
sudo cp "/Volumes/files/$targetFile" /tmp
|
||||
sudo umount /Volumes/files
|
||||
|
||||
@@ -38,6 +38,6 @@ set -ex
|
||||
source "${BASH_SOURCE%/*}/../unix/sccache.sh"
|
||||
|
||||
targetArch=x86_64-apple-darwin
|
||||
targetVersion=0.2.13-alpha-0
|
||||
sha1=8fe82ddc05a25debc314ea1a8cda665cddb90f72
|
||||
targetVersion=0.2.14
|
||||
sha1=764bc1664c0ff616d9980a6d127175d0a2041781
|
||||
installSccache "$targetArch" "$targetVersion" "$sha1"
|
||||
|
||||
8
coin/provisioning/common/unix/install-conan.sh
Executable file
8
coin/provisioning/common/unix/install-conan.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This script will install Conan
|
||||
# Note! Python3 is required for Conan installation
|
||||
|
||||
# Install Conan to Python user install directory (typically ~./local/)
|
||||
pip3 install conan --user
|
||||
|
||||
@@ -78,5 +78,6 @@ fi
|
||||
sudo mv /usr/local/libclang "$destination"
|
||||
rm -rf $zip
|
||||
|
||||
|
||||
echo "export LLVM_DYNAMIC_LIBS_100=$destination" >> ~/.bash_profile
|
||||
echo "libClang for QtForPython= $version" >> ~/versions.txt
|
||||
|
||||
@@ -47,18 +47,23 @@ source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
||||
# shellcheck source=./DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||
|
||||
libclang_version=10.0
|
||||
libclang_version=11.0
|
||||
|
||||
if uname -a |grep -q Darwin; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version//\./}-based-mac.7z"
|
||||
url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version//\./}-based-mac.7z"
|
||||
sha1="6e019c428511e74c5d46d0ddca79d8e804b67f8a"
|
||||
sha1="2ea23914089df532385a527861feb010a867000b"
|
||||
elif test -f /etc/redhat-release && cat /etc/redhat-release | grep "Red Hat"; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version//\./}-based-linux-Rhel7.6-gcc5.3-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version//\./}-based-linux-Rhel7.6-gcc5.3-x86_64.7z"
|
||||
sha1="eeb9b9bed81308cc4c7a7ac177e15baec7214d5e"
|
||||
else
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version//\./}-based-linux-Ubuntu18.04-gcc9.2-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version//\./}-based-linux-Ubuntu18.04-gcc9.2-x86_64.7z"
|
||||
sha1="08f352d411e4b47c2a259c3b120d7cb2db01e41d"
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version//\./}-based-linux-Ubuntu20.04-gcc9.3-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version//\./}-based-linux-Ubuntu20.04-gcc9.3-x86_64.7z"
|
||||
sha1="57ebaac89bbe51a661f31a13c5e3829e34aa8b80"
|
||||
fi
|
||||
|
||||
zip="/tmp/libclang.7z"
|
||||
|
||||
@@ -78,7 +78,11 @@ fi
|
||||
targetFileMount="$mountFolder"/"$compressedFolder"
|
||||
|
||||
echo "Mounting $preBuildCacheUrl to $mountFolder"
|
||||
sudo mount "$preBuildCacheUrl" "$mountFolder"
|
||||
if uname -a |grep -q Darwin; then
|
||||
sudo mount -o locallocks "$preBuildCacheUrl" "$mountFolder"
|
||||
else
|
||||
sudo mount "$preBuildCacheUrl" "$mountFolder"
|
||||
fi
|
||||
echo "Create $installFolder if needed"
|
||||
if [ ! -d "$installFolder" ]; then
|
||||
sudo mkdir "$installFolder"
|
||||
|
||||
@@ -7,6 +7,6 @@ $url = "http://ci-files01-hki.intra.qt.io/input/3rdparty/Qt3DStudio-3rdparty-win
|
||||
Download $url $url $zip
|
||||
Verify-Checksum $zip "08D740D2EFB4CBCDE7D012908B89AA48DE5CD4E1"
|
||||
Extract-7Zip $zip C:\Utils\Qt3DStudio3rdparty
|
||||
Remove-Item -Path $zip
|
||||
Remove "$zip"
|
||||
|
||||
Set-EnvironmentVariable "QT3DSTUDIO_3RDPARTY_DIR" "C:/Utils/Qt3DStudio3rdparty"
|
||||
|
||||
@@ -41,7 +41,7 @@ $officialurl = "https://cmake.org/files/v" + $majorminorversion + "/cmake-" + $v
|
||||
$cachedurl = "\\ci-files01-hki.intra.qt.io\provisioning\cmake\cmake-" + $version + "-win32-x86.zip"
|
||||
|
||||
Write-Host "Removing old cmake"
|
||||
Remove-Item "C:\CMake" -Force -Recurse -ErrorAction SilentlyContinue
|
||||
Remove "C:\CMake"
|
||||
|
||||
Download $officialurl $cachedurl $zip
|
||||
Verify-Checksum $zip "5e42a287610a619c3a150376d9aaad31282cdcd4"
|
||||
|
||||
@@ -14,6 +14,6 @@ Verify-Checksum $package_path $sdkChecksumSha1 sha1
|
||||
Write-Host "Installing DirectX SDK"
|
||||
Run-Executable $package_path "/u"
|
||||
|
||||
Remove-Item -Path $package_path
|
||||
Remove "$package_path"
|
||||
|
||||
Write-Output "DirectX SDK = 9.29.1962 (Jun 10)" >> ~\versions.txt
|
||||
|
||||
@@ -67,14 +67,14 @@ try {
|
||||
Download $breakpad_tar_url $breakpad_tar_url $targetBreakpad
|
||||
Verify-Checksum $targetBreakpad $breakpad_tar_sha
|
||||
Extract-tar_gz $targetBreakpad $installFolder
|
||||
Remove-Item -Path $targetBreakpad
|
||||
Remove "$targetBreakpad"
|
||||
# linux-syscall-support
|
||||
Download $linux_syscall_support_tar_url $linux_syscall_support_tar_url $targetSyscall
|
||||
Verify-Checksum $targetSyscall $linux_syscall_support_tar_sha
|
||||
Extract-tar_gz $targetSyscall "$env:tmp\"
|
||||
New-Item -ItemType directory -Path "$installFolder\breakpad\third_party\lss"
|
||||
Get-ChildItem -Path "$env:tmp\linux-syscall-support\*" -Recurse | Move-Item -Destination "$installFolder\breakpad\third_party\lss"
|
||||
Remove-Item -Path $targetSyscall
|
||||
Remove "$targetSyscall"
|
||||
}
|
||||
catch {
|
||||
Write-Host "Cached download failed: Attempping fallback method eg git."
|
||||
|
||||
@@ -57,6 +57,6 @@ Verify-Checksum $dependsPackage $sha1
|
||||
Extract-7Zip $dependsPackage $TARGETDIR
|
||||
|
||||
Write-Host "Cleaning $dependsPackage.."
|
||||
Remove-Item -Recurse -Force -Path "$dependsPackage"
|
||||
Remove "$dependsPackage"
|
||||
|
||||
Write-Output "Dependency Walker = $version" >> ~\versions.txt
|
||||
|
||||
@@ -61,7 +61,7 @@ function InstallMinGW
|
||||
Set-EnvironmentVariable "$envvar" ("$targetdir\mingw" + $win_arch.Substring($win_arch.get_Length()-2))
|
||||
|
||||
Write-Host "Cleaning $mingwPackage.."
|
||||
Remove-Item -Recurse -Force -Path "$mingwPackage"
|
||||
Remove "$mingwPackage"
|
||||
|
||||
Write-Output "MinGW = $version $release" >> ~\versions.txt
|
||||
|
||||
|
||||
@@ -77,6 +77,6 @@ if ((Test-Path $url_cache_prebuilt)) {
|
||||
}
|
||||
|
||||
Write-Host "Cleaning $PackagePath.."
|
||||
Remove-Item -Recurse -Force -Path "$PackagePath"
|
||||
Remove "$PackagePath"
|
||||
|
||||
Write-Output "msys2 = $version" >> ~\versions.txt
|
||||
|
||||
@@ -52,7 +52,7 @@ Verify-Checksum $nppPackage $sha1
|
||||
Run-Executable "$nppPackage" "/S"
|
||||
|
||||
Write-Host "Cleaning $nppPackage.."
|
||||
Remove-Item -Recurse -Force -Path "$nppPackage"
|
||||
Remove "$nppPackage"
|
||||
|
||||
Write-Output "Notepad++ = $version" >> ~\versions.txt
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ if(![System.IO.File]::Exists("$installationFolder\bin\protoc.exe")){
|
||||
exit 1
|
||||
}
|
||||
|
||||
Remove-Item "$zip"
|
||||
Remove "$zip"
|
||||
|
||||
Add-Path "$installationFolder\bin"
|
||||
Set-EnvironmentVariable PROTOBUF_INCLUDE "$installationFolder\include"
|
||||
|
||||
@@ -52,6 +52,6 @@ Verify-Checksum $rubyPackage $sha1
|
||||
Run-Executable $rubyPackage "/dir=C:\Ruby-$version$arch /tasks=modpath /verysilent"
|
||||
|
||||
Write-Host "Cleaning $rubyPackage.."
|
||||
Remove-Item -Recurse -Force -Path "$rubyPackage"
|
||||
Remove "$rubyPackage"
|
||||
|
||||
Write-Output "Ruby = $version" >> ~\versions.txt
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
|
||||
param(
|
||||
[string]$arch="x86_64-pc-windows-msvc",
|
||||
[string]$version="0.2.13-alpha-0",
|
||||
[string]$sha1="39ee0b0b98aa20c54a75ba1cb3116ea694e83c38"
|
||||
[string]$version="0.2.14",
|
||||
[string]$sha1="bbdceb59d6fd7b6a3af02fb36f65c8bf324757b0"
|
||||
)
|
||||
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
@@ -56,7 +56,7 @@ Verify-Checksum $7zPackage $sha1
|
||||
Run-Executable $7zPackage "/S","/D=$7zTargetLocation"
|
||||
|
||||
Write-Host "Cleaning $7zPackage.."
|
||||
Remove-Item -Recurse -Force -Path "$7zPackage"
|
||||
Remove "$7zPackage"
|
||||
|
||||
Add-Path $7zTargetLocation
|
||||
|
||||
|
||||
@@ -53,6 +53,6 @@ Verify-Checksum $strawberryPackage $sha1
|
||||
Run-Executable "msiexec" "/quiet /i $strawberryPackage INSTALLDIR=C:\strawberry REBOOT=REALLYSUPPRESS"
|
||||
|
||||
Write-Host "Cleaning $strawberryPackage.."
|
||||
Remove-Item -Recurse -Force -Path "$strawberryPackage"
|
||||
Remove "$strawberryPackage"
|
||||
|
||||
Write-Output "strawberry = $version" >> ~\versions.txt
|
||||
|
||||
@@ -47,3 +47,4 @@ if ( $toolchain -eq "vs2019" ) {
|
||||
install $sha1 $baseDestination-$archVer
|
||||
|
||||
Set-EnvironmentVariable "LLVM_DYNAMIC_LIBS_100" ($baseDestination + "-_ARCH_")
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ param(
|
||||
)
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
$libclang_version="10.0"
|
||||
$libclang_version="11.0"
|
||||
Write-Output "libClang = $libclang_version" >> ~/versions.txt
|
||||
|
||||
# PySide versions following 5.6 use a C++ parser based on Clang (http://clang.org/).
|
||||
@@ -32,27 +32,27 @@ function install() {
|
||||
Verify-Checksum $zip $sha1
|
||||
Extract-7Zip $zip C:\Utils\
|
||||
Rename-Item C:\Utils\libclang $destination
|
||||
Remove-Item -Force -Path $zip
|
||||
Remove "$zip"
|
||||
}
|
||||
|
||||
$toolchainSuffix = ""
|
||||
|
||||
if ( $toolchain -eq "vs2019" ) {
|
||||
if ( $archVer -eq 64 ) {
|
||||
$sha1 = "6e1b3e6d38803a3bf088e521f4f4feb1ca44bac3"
|
||||
$sha1 = "ff0a30c881691068c14fbed9239b3583c8c45c6a"
|
||||
}
|
||||
else {
|
||||
$sha1 = "36fcdc3155eef3636d99ed591f12e73d7a9a2e0c"
|
||||
$sha1 = ""
|
||||
}
|
||||
$toolchainSuffix = "msvc"
|
||||
}
|
||||
|
||||
if ( $toolchain -eq "mingw" ) {
|
||||
if ( $archVer -eq 64 ) {
|
||||
$sha1 = "34daf2324d190de49f8e4005afeb39a7d70c5842"
|
||||
$sha1 = "40141a788b1ccb615544e18da27cd95b4986217b"
|
||||
}
|
||||
else {
|
||||
$sha1 = "3d7c809ab12c9293df8ffd9343cee68f184c8612"
|
||||
$sha1 = ""
|
||||
}
|
||||
$toolchainSuffix = "mingw"
|
||||
}
|
||||
@@ -64,7 +64,7 @@ if ( $setDefault ) {
|
||||
}
|
||||
Set-EnvironmentVariable ("LLVM_INSTALL_DIR_${toolchainSuffix}") ($baseDestination + "-$archVer")
|
||||
|
||||
if ( $libclang_version -eq "100" ) {
|
||||
if ( $libclang_version -eq "110" ) {
|
||||
# This is a hacked static build of libclang which requires special
|
||||
# handling on the qdoc side.
|
||||
Set-EnvironmentVariable "QDOC_USE_STATIC_LIBCLANG" "1"
|
||||
|
||||
@@ -53,7 +53,7 @@ function Extract-Mesa
|
||||
Verify-Checksum $package $sha1
|
||||
Extract-7Zip $package $targetFolder
|
||||
Write-Host "Removing $package"
|
||||
Remove-Item -Path $package
|
||||
Remove "$package"
|
||||
}
|
||||
|
||||
if (Is64BitWinHost) {
|
||||
|
||||
@@ -46,6 +46,6 @@ Verify-Checksum $zip $sha1
|
||||
|
||||
Write-Host "MQTT: Installing $zip..."
|
||||
Extract-7Zip $zip C:\Utils
|
||||
Remove-Item -Path $zip
|
||||
Remove "$zip"
|
||||
|
||||
Set-EnvironmentVariable "MQTT_TEST_BROKER_LOCATION" "C:\Utils\paho.mqtt.testing-$commitSHA\interoperability\startbroker.py"
|
||||
|
||||
@@ -45,6 +45,6 @@ Write-Host "Installing Update 5 for Visual Studio $version..."
|
||||
Run-Executable "$package" "/norestart /passive"
|
||||
|
||||
Write-Host "Removing $package ..."
|
||||
Remove-Item $package
|
||||
Remove "$package"
|
||||
|
||||
Write-Output "Visual Studio = $version" >> ~\versions.txt
|
||||
|
||||
@@ -11,6 +11,6 @@ $destination = "C:\msys"
|
||||
|
||||
Download $url $url $zip
|
||||
Verify-Checksum $zip $sha1
|
||||
C:\Utils\sevenzip\7z.exe x $zip -oC:\
|
||||
Extract-7Zip $zip C:\
|
||||
Set-EnvironmentVariable "MSYS_PATH" "$destination\\1.0\\bin"
|
||||
Write-Output "Msys = $version" >> ~/versions.txt
|
||||
|
||||
@@ -57,7 +57,7 @@ function DownloadAndInstall
|
||||
$zipDir = [io.path]::GetFileNameWithoutExtension($package)
|
||||
Extract-7Zip $package $installPath "$zipDir\lib $zipDir\bin $zipDir\share $zipDir\include"
|
||||
|
||||
Remove-Item -Path $package
|
||||
Remove "$package"
|
||||
}
|
||||
|
||||
if (Is64BitWinHost) {
|
||||
|
||||
@@ -6,7 +6,7 @@ Download https://github.com/ninja-build/ninja/releases/download/v1.6.0/ninja-win
|
||||
Verify-Checksum $zip "E01093F6533818425F8EFB0843CED7DCAABEA3B2"
|
||||
|
||||
Extract-7Zip $zip C:\Utils\Ninja
|
||||
Remove-Item -Path $zip
|
||||
Remove "$zip"
|
||||
|
||||
Add-Path "C:\Utils\Ninja"
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ function DownloadAndInstallUA
|
||||
|
||||
Write-Host "UACPPSDK: Extracting $zip..."
|
||||
Extract-7Zip $zip (Get-DefaultDownloadLocation)
|
||||
Remove-Item -Path $zip
|
||||
Remove "$zip"
|
||||
|
||||
$executable = (Get-DefaultDownloadLocation) + "$InstallerFileName.exe"
|
||||
# We cannot call the installer as the x86 and x64 versions of the installer are not
|
||||
@@ -65,7 +65,7 @@ function DownloadAndInstallUA
|
||||
#Remove-Item $executable
|
||||
|
||||
Extract-7Zip $executable $Destination
|
||||
Remove-Item $executable
|
||||
Remove "$executable"
|
||||
}
|
||||
|
||||
#x86 version
|
||||
|
||||
@@ -56,7 +56,7 @@ if (Is64BitWinHost) {
|
||||
Run-Executable "$packagex64" "/SP- /SILENT /LOG /SUPPRESSMSGBOXES /NORESTART /DIR=$installFolder"
|
||||
|
||||
Write-Host "Remove downloaded $packagex64 ..."
|
||||
Remove-Item -Path $packagex64
|
||||
Remove "$packagex64"
|
||||
|
||||
Set-EnvironmentVariable "OPENSSL_CONF_x64" "$installFolder\bin\openssl.cfg"
|
||||
Set-EnvironmentVariable "OPENSSL_INCLUDE_x64" "$installFolder\include"
|
||||
@@ -83,7 +83,7 @@ Write-Host "Installing $packagex86 ..."
|
||||
Run-Executable "$packagex86" "/SP- /SILENT /LOG /SUPPRESSMSGBOXES /NORESTART /DIR=$installFolder"
|
||||
|
||||
Write-Host "Remove downloaded $packagex86 ..."
|
||||
Remove-Item -Path $packagex86
|
||||
Remove "$packagex86"
|
||||
|
||||
Set-EnvironmentVariable "OPENSSL_CONF_x86" "$installFolder\bin\openssl.cfg"
|
||||
Set-EnvironmentVariable "OPENSSL_INCLUDE_x86" "$installFolder\include"
|
||||
|
||||
@@ -55,10 +55,10 @@ if (Is64BitWinHost) {
|
||||
Extract-7Zip $packagex64 $installFolder "pgsql\lib pgsql\bin pgsql\share pgsql\include"
|
||||
|
||||
Write-Host "Remove downloaded $packagex64 ..."
|
||||
Remove-Item -Path $packagex64
|
||||
Remove $packagex64
|
||||
# Remove pthread.h file so it won't be used in mingw builds (QTBUG-79555)
|
||||
Remove-item -Path "$installFolder\pgsql\include\pthread.h"
|
||||
Remove-item -Path "$installFolder\pgsql\include\unistd.h"
|
||||
Remove "$installFolder\pgsql\include\pthread.h"
|
||||
Remove "$installFolder\pgsql\include\unistd.h"
|
||||
|
||||
Set-EnvironmentVariable "POSTGRESQL_INCLUDE_x64" "$installFolder\pgsql\include"
|
||||
Set-EnvironmentVariable "POSTGRESQL_LIB_x64" "$installFolder\pgsql\lib"
|
||||
@@ -83,10 +83,10 @@ Write-Host "Installing $packagex86 ..."
|
||||
Extract-7Zip $packagex86 $installFolder "pgsql\lib pgsql\bin pgsql\share pgsql\include"
|
||||
|
||||
Write-Host "Remove downloaded $packagex86 ..."
|
||||
Remove-Item -Path $packagex86
|
||||
Remove $packagex86
|
||||
# Remove pthread.h file so it won't be used in mingw builds (QTBUG-79555)
|
||||
Remove-item -Path "$installFolder\pgsql\include\pthread.h"
|
||||
Remove-item -Path "$installFolder\pgsql\include\unistd.h"
|
||||
Remove "$installFolder\pgsql\include\pthread.h"
|
||||
Remove "$installFolder\pgsql\include\unistd.h"
|
||||
|
||||
Set-EnvironmentVariable "POSTGRESQL_INCLUDE_x86" "$installFolder\pgsql\include"
|
||||
Set-EnvironmentVariable "POSTGRESQL_LIB_x86" "$installFolder\pgsql\lib"
|
||||
|
||||
@@ -82,8 +82,7 @@ while ($stop -ne $true)
|
||||
# We need to change allowZip64 from 'False' to 'True' to be able to create ZIP files that use the ZIP64 extensions when the zipfile is larger than 2 GB
|
||||
Write-Host "Changing allowZip64 value to 'True'..."
|
||||
(Get-Content $targetDir\lib\zipfile.py) | ForEach-Object { $_ -replace "allowZip64=False", "allowZip64=True" } | Set-Content $targetDir\lib\zipfile.py
|
||||
Write-Host "Remove $package..."
|
||||
Remove-Item -Path $package
|
||||
Remove "$package"
|
||||
|
||||
# When installing 32 bit python to 64 bit host, we want to keep only default python in path
|
||||
# For cross-compilation we export some helper env variable
|
||||
|
||||
@@ -60,8 +60,7 @@ Download $externalUrl $internalUrl $package
|
||||
Verify-Checksum $package $sha1
|
||||
Write-Host "Installing $package..."
|
||||
Run-Executable "$package" "/q TargetDir=$install_path"
|
||||
Write-Host "Remove $package..."
|
||||
Remove-Item -Path $package
|
||||
Remove "$package"
|
||||
|
||||
# For cross-compilation we export some helper env variable
|
||||
if (($archVer -eq 32) -And (Is64BitWinHost)) {
|
||||
|
||||
@@ -45,4 +45,4 @@ Download $url $url $installer
|
||||
Verify-Checksum $installer $sha1
|
||||
Run-Executable $installer "/S"
|
||||
Run-Executable "C:\Program Files\squishcoco\cocolic.exe" "--license-server=Qt-SRV-33.intra.qt.io:49344"
|
||||
Remove-Item -Force -Path $installer
|
||||
Remove "$installer"
|
||||
|
||||
@@ -31,13 +31,15 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
$auth_file = "C:\Users\qt\work\influxdb\coin_vms_writer.auth"
|
||||
|
||||
# Provisioning should run even without the secrets repository
|
||||
if (Test-Path $auth_file) {
|
||||
$auth_content = Get-Content $auth_file
|
||||
$influxdb_password = $auth_content.Substring($auth_content.LastIndexOf(':') + 1)
|
||||
Remove-Item $auth_file
|
||||
Remove "$auth_file"
|
||||
} else {
|
||||
$influxdb_password = "no_password_provided"
|
||||
}
|
||||
|
||||
@@ -43,6 +43,6 @@ Copy-Item $url_cache $vulkanPackage
|
||||
Run-Executable $vulkanPackage "/S"
|
||||
|
||||
Write-Host "Cleaning $vulkanPackage.."
|
||||
Remove-Item -Recurse -Force -Path "$vulkanPackage"
|
||||
Remove "$vulkanPackage"
|
||||
|
||||
Write-Output "Vulkan SDK = $version" >> ~\versions.txt
|
||||
|
||||
@@ -45,6 +45,6 @@ Verify-Checksum $package $sha1
|
||||
Run-Executable $package "/features + /q"
|
||||
|
||||
Write-Host "Cleaning $package.."
|
||||
Remove-Item -Recurse -Force -Path "$package"
|
||||
Remove "$package"
|
||||
|
||||
Write-Output "Windows 10 SDK = 10.0.16229.91" >> ~\versions.txt
|
||||
|
||||
@@ -7,6 +7,6 @@ $url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\winrtrunner\winr
|
||||
Download $url $url_cache $zip
|
||||
Verify-Checksum $zip "93548e8c3fb8fded2474996ef5e0163f489ce8cf"
|
||||
Extract-7Zip $zip C:\Utils\winrtrunner
|
||||
Remove-Item -Path $zip
|
||||
Remove "$zip"
|
||||
|
||||
Set-EnvironmentVariable "CI_WINRTRUNNER_PATH" "C:\Utils\winrtrunner"
|
||||
|
||||
@@ -52,3 +52,8 @@ sudo timedatectl set-timezone Etc/UTC
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
# disable blank screen power saving
|
||||
gsettings set org.gnome.desktop.session idle-delay 0
|
||||
|
||||
# Set Wayland enable as false. CentOS may start using Wayland instead of x-session randomly if this is not set
|
||||
echo "Setting Wayland enable as false"
|
||||
sudo sed -i 's/#WaylandEnable=false/WaylandEnable=false/g' /etc/gdm/custom.conf
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Copyright (C) 2020 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -35,5 +35,50 @@
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/unix/python-modules.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/python-modules.sh"
|
||||
sudo rm -f /etc/yum.repos.d/*.repo
|
||||
|
||||
sudo tee "/etc/yum.repos.d/local.repo" > /dev/null <<EOC
|
||||
[BaseOS]
|
||||
name = Qt Centos-8 - Base
|
||||
metadata_expire = 86400
|
||||
baseurl = http://repo-clones.ci.qt.io/repos/centos/8/BaseOS/x86_64/os/
|
||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
|
||||
enabled = 1
|
||||
gpgcheck = 1
|
||||
|
||||
[AppStream]
|
||||
name = Qt Centos-8 - AppStream
|
||||
metadata_expire = 86400
|
||||
baseurl = http://repo-clones.ci.qt.io/repos/centos/8/AppStream/x86_64/os/
|
||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
|
||||
enabled = 1
|
||||
gpgcheck = 1
|
||||
|
||||
[PowerTools]
|
||||
name = Qt Centos-8 - PowerTools
|
||||
metadata_expire = 86400
|
||||
baseurl = http://repo-clones.ci.qt.io/repos/centos/8/PowerTools/x86_64/os/
|
||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
|
||||
enabled = 1
|
||||
gpgcheck = 1
|
||||
|
||||
[epel]
|
||||
name = Qt Centos-8 - EPEL
|
||||
metadata_expire = 86400
|
||||
baseurl = http://repo-clones.ci.qt.io/repos/centos/epel/8/Everything/x86_64/
|
||||
enabled = 1
|
||||
gpgcheck = 1
|
||||
gpgkey = http://repo-clones.ci.qt.io/repos/centos/epel/RPM-GPG-KEY-EPEL-8
|
||||
|
||||
[epel-playground]
|
||||
name = Qt Centos-8 - EPEL Playground
|
||||
metadata_expire = 86400
|
||||
baseurl = http://repo-clones.ci.qt.io/repos/centos/epel/playground/8/Everything/x86_64/os/
|
||||
enabled = 1
|
||||
gpgcheck = 1
|
||||
gpgkey = http://repo-clones.ci.qt.io/repos/centos/epel/RPM-GPG-KEY-EPEL-8
|
||||
EOC
|
||||
|
||||
sudo yum clean all
|
||||
# As well as this fetching the repository data, we also get a printout of the used repos
|
||||
sudo yum repolist
|
||||
@@ -3,4 +3,4 @@
|
||||
set -ex
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/virtualenv.sh"
|
||||
"$BASEDIR/../common/unix/install-conan.sh"
|
||||
@@ -3,5 +3,4 @@
|
||||
set -ex
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/unix/python_modules.sh"
|
||||
|
||||
"$BASEDIR/../common/unix/install-conan.sh"
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2021 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -189,6 +189,7 @@ installPackages+=(libhyphen-dev)
|
||||
installPackages+=(ssh)
|
||||
# For bitbake
|
||||
installPackages+=(diffstat)
|
||||
installPackages+=(binfmt-support)
|
||||
|
||||
echo "Running update for apt"
|
||||
waitLoop
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2021 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -34,215 +34,16 @@
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
sudo apt-get -y install automake autoconf libtool
|
||||
|
||||
DownloadAndBuiltQemu () {
|
||||
tempDir=$(mktemp -d)
|
||||
cd ${tempDir}
|
||||
|
||||
commit_sha=c7f1cf01b8245762ca5864e835d84f6677ae8b1f
|
||||
qemu_tarball="qemu_tarball.zip"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/qemu/${qemu_tarball}"
|
||||
AltUrl="https://github.com/qemu/qemu/archive/${commit_sha}.zip"
|
||||
SHA1="351289c4420f16575bff060f91ce540d7b3fa2ab"
|
||||
DownloadURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$qemu_tarball"
|
||||
unzip ${qemu_tarball}
|
||||
cd qemu-${commit_sha}
|
||||
|
||||
fixes=( 75e5b70e6b5dcc4f2219992d7cffa462aa406af0 04b33e21866412689f18b7ad6daf0a54d8f959a7 cd8133679f7e0e2c292f631f1c78b2452d2435c7 )
|
||||
fixes_sha1sums=( e53c4f567b461e7e2905636b369c4458ee8c0277 1914e5fa2f707d69d86ceb7c94957d096c8e8db4 eeca01c307d37eb362913b3f811034d5ac77cac8 )
|
||||
for i in $(seq 0 $((${#fixes[@]} - 1))); do
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/qemu/${fixes[$i]}.diff"
|
||||
AltUrl="https://github.com/qemu/qemu/commit/${fixes[$i]}.diff"
|
||||
SHA1="${fixes_sha1sums[$i]}"
|
||||
DownloadURL "$PrimaryUrl" "$AltUrl" "$SHA1" "${fixes[$i]}.diff"
|
||||
patch -p1 < ${fixes[$i]}.diff
|
||||
done
|
||||
|
||||
patch -p1 <<EOT
|
||||
From aad6a8f17dc7ad3681d2d98a01e474a8904a129b Mon Sep 17 00:00:00 2001
|
||||
From: Simon Hausmann <simon.hausmann@qt.io>
|
||||
Date: Fri, 24 Aug 2018 10:38:29 +0200
|
||||
Subject: [PATCH] linux-user: add support for MADV_DONTNEED
|
||||
|
||||
Most flags to madvise() are just hints, so typically ignoring the
|
||||
syscall and returning okay is fine. However applications exist that do
|
||||
rely on MADV_DONTNEED behavior to guarantee that upon subsequent access
|
||||
the mapping is refreshed from the backing file or zero for anonymous
|
||||
mappings.
|
||||
---
|
||||
linux-user/mmap.c | 18 ++++++++++++++++++
|
||||
linux-user/qemu.h | 1 +
|
||||
linux-user/syscall.c | 6 +-----
|
||||
3 files changed, 20 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/linux-user/mmap.c b/linux-user/mmap.c
|
||||
index 61685bf79e..cb3069f27e 100644
|
||||
--- a/linux-user/mmap.c
|
||||
+++ b/linux-user/mmap.c
|
||||
@@ -764,3 +764,16 @@ int target_msync(abi_ulong start, abi_ulong len, int flags)
|
||||
start &= qemu_host_page_mask;
|
||||
return msync(g2h(start), end - start, flags);
|
||||
}
|
||||
+
|
||||
+int target_madvise(abi_ulong start, abi_ulong len, int flags)
|
||||
+{
|
||||
+ /* A straight passthrough may not be safe because qemu sometimes
|
||||
+ turns private file-backed mappings into anonymous mappings.
|
||||
+ Most flags are hints, except for MADV_DONTNEED that applications
|
||||
+ may rely on to zero out pages, so we pass that through.
|
||||
+ Otherwise returning success is ok. */
|
||||
+ if (flags & MADV_DONTNEED) {
|
||||
+ return madvise(g2h(start), len, MADV_DONTNEED);
|
||||
+ }
|
||||
+ return 0;
|
||||
+}
|
||||
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
|
||||
index 4edd7d0c08..3c975909a1 100644
|
||||
--- a/linux-user/qemu.h
|
||||
+++ b/linux-user/qemu.h
|
||||
@@ -429,6 +429,7 @@ int target_munmap(abi_ulong start, abi_ulong len);
|
||||
abi_long target_mremap(abi_ulong old_addr, abi_ulong old_size,
|
||||
abi_ulong new_size, unsigned long flags,
|
||||
abi_ulong new_addr);
|
||||
+int target_madvise(abi_ulong start, abi_ulong len, int flags);
|
||||
int target_msync(abi_ulong start, abi_ulong len, int flags);
|
||||
extern unsigned long last_brk;
|
||||
extern abi_ulong mmap_next_start;
|
||||
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
|
||||
index 11a311f9db..94d8abc745 100644
|
||||
--- a/linux-user/syscall.c
|
||||
+++ b/linux-user/syscall.c
|
||||
@@ -11148,11 +11148,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
|
||||
|
||||
#ifdef TARGET_NR_madvise
|
||||
case TARGET_NR_madvise:
|
||||
- /* A straight passthrough may not be safe because qemu sometimes
|
||||
- turns private file-backed mappings into anonymous mappings.
|
||||
- This will break MADV_DONTNEED.
|
||||
- This is a hint, so ignoring and returning success is ok. */
|
||||
- ret = get_errno(0);
|
||||
+ ret = get_errno(target_madvise(arg1, arg2, arg3));
|
||||
break;
|
||||
#endif
|
||||
#if TARGET_ABI_BITS == 32
|
||||
--
|
||||
2.17.1
|
||||
EOT
|
||||
|
||||
patch -p1 <<EOT
|
||||
From fb4f0fa319e757c083f0b3674f575a09c323f5aa Mon Sep 17 00:00:00 2001
|
||||
From: Assam Boudjelthia <assam.boudjelthia@qt.io>
|
||||
Date: Tue, 20 Aug 2019 09:46:46 +0300
|
||||
Subject: [PATCH] Suppress unsupported syscall and ioctl debug messages
|
||||
|
||||
Those messages were spamming the CI tests output, thus they can
|
||||
only be shown by defining environment variable QEMU_SYSCALL_DEBUG=true
|
||||
|
||||
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
|
||||
index 94d8abc745..e72cfb0cb5 100644
|
||||
--- a/linux-user/syscall.c
|
||||
+++ b/linux-user/syscall.c
|
||||
@@ -5479,7 +5479,8 @@ static abi_long do_ioctl(int fd, int cmd, abi_long arg)
|
||||
ie = ioctl_entries;
|
||||
for(;;) {
|
||||
if (ie->target_cmd == 0) {
|
||||
- gemu_log("Unsupported ioctl: cmd=0x%04lx\n", (long)cmd);
|
||||
+ if (getenv("QEMU_SYSCALL_DEBUG"))
|
||||
+ gemu_log("Unsupported ioctl: cmd=0x%04lx\n", (long)cmd);
|
||||
return -TARGET_ENOSYS;
|
||||
}
|
||||
if (ie->target_cmd == cmd)
|
||||
@@ -12172,7 +12173,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
|
||||
|
||||
default:
|
||||
unimplemented:
|
||||
- gemu_log("qemu: Unsupported syscall: %d\n", num);
|
||||
+ if (getenv("QEMU_SYSCALL_DEBUG"))
|
||||
+ gemu_log("qemu: Unsupported syscall: %d\n", num);
|
||||
#if defined(TARGET_NR_setxattr) || defined(TARGET_NR_get_thread_area) || defined(TARGET_NR_getdomainname) || defined(TARGET_NR_set_robust_list)
|
||||
unimplemented_nowarn:
|
||||
#endif
|
||||
--
|
||||
2.17.1
|
||||
EOT
|
||||
|
||||
./configure --disable-bsd-user --disable-guest-agent --disable-strip --disable-werror --disable-gcrypt --disable-debug-info --disable-debug-tcg --disable-tcg-interpreter --enable-attr --disable-brlapi --disable-linux-aio --disable-bzip2 --disable-bluez --disable-cap-ng --disable-curl --disable-fdt --disable-glusterfs --disable-gnutls --disable-nettle --disable-gtk --disable-rdma --disable-libiscsi --disable-vnc-jpeg --disable-kvm --disable-lzo --disable-curses --disable-libnfs --disable-numa --disable-opengl --disable-vnc-png --disable-rbd --disable-vnc-sasl --disable-sdl --disable-seccomp --disable-smartcard --disable-snappy --disable-spice --disable-libusb --disable-usb-redir --disable-vde --disable-vhost-net --disable-virglrenderer --disable-virtfs --disable-vnc --disable-vte --disable-xen --disable-xen-pci-passthrough --disable-xfsctl --enable-linux-user --disable-system --disable-blobs --disable-tools --target-list=arm-linux-user,aarch64-linux-user --static --disable-pie --disable-docs
|
||||
make
|
||||
sudo make install
|
||||
|
||||
# To create a new qemu.deb file add "--prefix=${tempDir}/qemu_prebuilt/usr/local/" to ./configure
|
||||
# Then add the following commands, make sure to change the version number.
|
||||
# mkdir ${tempDir}/qemu_prebuilt/DEBIAN
|
||||
# echo -n "Package: QEMU
|
||||
# Version: 2.8.0-833-g09cc6b1ab7-dirty
|
||||
# Section: misc
|
||||
# Priority: important
|
||||
# Architecture: i386
|
||||
# Maintainer: Fabrice Bellard and the QEMU Project developers
|
||||
# Description: QEMU for arm and arm64" > ${tempDir}/qemu_prebuilt/DEBIAN/control
|
||||
#
|
||||
# dpkg-deb --build ${tempDir}/qemu_prebuilt/
|
||||
rm -rf ${tempDir}
|
||||
}
|
||||
|
||||
qemu_prebuilt="/tmp/qemu_prebuilt.deb"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/qemu/qemu_prebuilt.deb"
|
||||
AltUrl=${PrimaryUrl}
|
||||
SHA1="a50bea7ee79ca7b7b6eebe55f02853997d445ea4"
|
||||
DownloadURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$qemu_prebuilt" 2>&1 && success=$? || success=$?
|
||||
if [ $success -eq 0 ]; then
|
||||
sudo dpkg -i ${qemu_prebuilt}
|
||||
else
|
||||
DownloadAndBuiltQemu
|
||||
fi
|
||||
|
||||
# Enable binfmt support
|
||||
sudo apt-get -y install binfmt-support
|
||||
|
||||
# Install qemu binfmt for 32bit and 64bit arm architectures
|
||||
sudo update-binfmts --package qemu-arm --install arm /usr/local/bin/qemu-arm \
|
||||
--magic "\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00" \
|
||||
--mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff"
|
||||
sudo update-binfmts --package qemu-aarch64 --install aarch64 /usr/local/bin/qemu-aarch64 \
|
||||
--magic "\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00" \
|
||||
--mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff"
|
||||
|
||||
# First test using QFont fails if fonts-noto-cjk is installed. This happens because
|
||||
# running fontcache for that font takes > 5 mins when run on QEMU. Running fc-cache
|
||||
# doesn't help since host version creates cache for a wrong architecture and running
|
||||
# armv7 fc-cache segfaults on QEMU.
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y remove fonts-noto-cjk
|
||||
|
||||
# If normal fontconfig paths are used, qemu parses what ever files it finds from
|
||||
# the toolchain sysroot and the rest from the system fonts.
|
||||
QEMU_FONTCONFPATH=~/qemu_fonts
|
||||
QEMU_FONTCONFFILE=$QEMU_FONTCONFPATH/fonts.qemu.conf
|
||||
mkdir -p $QEMU_FONTCONFPATH
|
||||
|
||||
# Copy system font configuration files from system to a location with prefix that can't be found from
|
||||
# the toolchain sysroot
|
||||
cp -Lr /etc/fonts/* $QEMU_FONTCONFPATH
|
||||
|
||||
# Create links to the actual system font files
|
||||
ln -s /usr/share/fonts $QEMU_FONTCONFPATH/fonts
|
||||
ln -s /usr/local/share/fonts $QEMU_FONTCONFPATH/local_fonts
|
||||
|
||||
# Change font configuration file to point to files that can't be found from the toolchain sysroot
|
||||
sed $QEMU_FONTCONFPATH/fonts.conf -e "s:conf.d:$QEMU_FONTCONFPATH/conf.d:" > $QEMU_FONTCONFFILE
|
||||
sed $QEMU_FONTCONFFILE -e "s:/usr/share/fonts:$QEMU_FONTCONFPATH/fonts:" -i
|
||||
sed $QEMU_FONTCONFFILE -e "s:/usr/local/share/fonts:$QEMU_FONTCONFPATH/local_fonts:" -i
|
||||
|
||||
# Set QEMU font configuration variables
|
||||
qemu_env="FONTCONFIG_FILE=$QEMU_FONTCONFFILE"
|
||||
qemu_env="${qemu_env},FONTCONFIG_PATH=$QEMU_FONTCONFPATH"
|
||||
|
||||
# Disable QtWayland window decorations, as they cause flakiness when used inside qemu (QTBUG-66173)
|
||||
qemu_env="${qemu_env},QT_WAYLAND_DISABLE_WINDOWDECORATION=1"
|
||||
qemu_env="QT_WAYLAND_DISABLE_WINDOWDECORATION=1"
|
||||
|
||||
SetEnvVar "QEMU_SET_ENV" "\"${qemu_env}\""
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Copyright (C) 2021 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -44,15 +44,17 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
echo "Installing Yocto toolchain for 32-bit b2qt ARMV7..."
|
||||
|
||||
versionARM="2.7.2"
|
||||
package="b2qt-x86_64-meta-toolchain-b2qt-embedded-sdk-qemuarmv7-60f80be.sh"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/boot2qt/warrior/$package"
|
||||
AltUrl="http://download.qt.io/development_releases/prebuilt/boot2qt/warrior/$package"
|
||||
SHA1="b4a090f85268bed076451584cd48e27e17a6ae48"
|
||||
versionARM="3.2"
|
||||
package="b2qt-x86_64-meta-toolchain-b2qt-ci-sdk-qemuarm-7031f145.sh"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/boot2qt/gatesgarth/$package"
|
||||
AltUrl="http://download.qt.io/development_releases/prebuilt/boot2qt/gatesgarth/$package"
|
||||
SHA1="167071eb1a02fdffe1d12576dcad6497fc996776"
|
||||
yoctoInstaller="/tmp/yocto-toolchain-ARMv7.sh"
|
||||
yoctoLocationARMv7="/opt/yocto-armv7"
|
||||
sysrootARMv7="sysroots/armv7at2hf-neon-poky-linux-gnueabi"
|
||||
yoctoLocationARMv7="/opt/b2qt/$versionARM"
|
||||
sysrootARMv7="armv7vet2hf-neon-poky-linux-gnueabi"
|
||||
crosscompileARMv7="sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-"
|
||||
envSetupARMv7="environment-setup-$sysrootARMv7"
|
||||
toolchainFileARMv7="sysroots/x86_64-pokysdk-linux/usr/share/cmake/OEToolchainConfig.cmake"
|
||||
|
||||
DownloadURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$yoctoInstaller"
|
||||
chmod +x "$yoctoInstaller"
|
||||
@@ -62,15 +64,17 @@ rm -rf "$yoctoInstaller"
|
||||
|
||||
echo "Installing Yocto toolchain for 64-bit b2qt ARM64..."
|
||||
|
||||
versionARM64="2.7.2"
|
||||
package="b2qt-x86_64-meta-toolchain-b2qt-embedded-sdk-qemuarm64-60f80be.sh"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/boot2qt/warrior/$package"
|
||||
AltUrl="http://download.qt.io/development_releases/prebuilt/boot2qt/warrior/$package"
|
||||
SHA1="9ba48d4d80a09908dd75090f94662c8192f0b19f"
|
||||
versionARM64="3.2"
|
||||
package="b2qt-x86_64-meta-toolchain-b2qt-ci-sdk-qemuarm64-7031f145.sh"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/boot2qt/gatesgarth/$package"
|
||||
AltUrl="http://download.qt.io/development_releases/prebuilt/boot2qt/gatesgarth/$package"
|
||||
SHA1="518afdecc4e2883d4ba1f4c43a628ce06df4e39a"
|
||||
yoctoInstaller="/tmp/yocto-toolchain-ARM64.sh"
|
||||
yoctoLocationARM64="/opt/yocto-arm64"
|
||||
sysrootARM64="sysroots/aarch64-poky-linux"
|
||||
yoctoLocationARM64="/opt/b2qt/$versionARM64"
|
||||
sysrootARM64="cortexa57-poky-linux"
|
||||
crosscompileARM64="sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-"
|
||||
envSetupARM64="environment-setup-$sysrootARM64"
|
||||
toolchainFileARM64="sysroots/x86_64-pokysdk-linux/usr/share/cmake/OEToolchainConfig.cmake"
|
||||
|
||||
DownloadURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$yoctoInstaller"
|
||||
chmod +x "$yoctoInstaller"
|
||||
@@ -80,15 +84,17 @@ rm -rf "$yoctoInstaller"
|
||||
|
||||
echo "Installing Yocto toolchain for 64-bit b2qt MIPS64..."
|
||||
|
||||
versionMIPS64="2.7.2"
|
||||
package="b2qt-x86_64-meta-toolchain-b2qt-embedded-sdk-qemumips64-60f80be.sh"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/boot2qt/warrior/$package"
|
||||
AltUrl="http://download.qt.io/development_releases/prebuilt/boot2qt/warrior/$package"
|
||||
SHA1="b3a922b7501123464454c9a49f32b23fe1fd25b4"
|
||||
versionMIPS64="3.2"
|
||||
package="b2qt-x86_64-meta-toolchain-b2qt-ci-sdk-qemumips64-7031f145.sh"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/boot2qt/gatesgarth/$package"
|
||||
AltUrl="http://download.qt.io/development_releases/prebuilt/boot2qt/gatesgarth/$package"
|
||||
SHA1="ba076bdc44d0fdce5d628f0d930943aa108d616d"
|
||||
yoctoInstaller="/tmp/yocto-toolchain-mips64.sh"
|
||||
yoctoLocationMIPS64="/opt/yocto-mips64"
|
||||
sysrootMIPS64="sysroots/mips64r2-poky-linux"
|
||||
yoctoLocationMIPS64="/opt/b2qt/$versionMIPS64"
|
||||
sysrootMIPS64="mips64r2-poky-linux"
|
||||
crosscompileMIPS64="sysroots/x86_64-pokysdk-linux/usr/bin/mips64-poky-linux/mips64-poky-linux-"
|
||||
envSetupMIPS64="environment-setup-$sysrootMIPS64"
|
||||
toolchainFileMIPS64="sysroots/x86_64-pokysdk-linux/usr/share/cmake/OEToolchainConfig.cmake"
|
||||
|
||||
DownloadURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$yoctoInstaller"
|
||||
chmod +x "$yoctoInstaller"
|
||||
@@ -98,13 +104,24 @@ rm -rf "$yoctoInstaller"
|
||||
|
||||
|
||||
|
||||
if [ -e "$yoctoLocationARMv7/$sysrootARMv7" ] && [ -e "$yoctoLocationARMv7/${crosscompileARMv7}g++" ] && [ -e "$yoctoLocationARM64/$sysrootARM64" ] && [ -e "$yoctoLocationARM64/${crosscompileARM64}g++" ] && [ -e "$yoctoLocationMIPS64/$sysrootMIPS64" ] && [ -e "$yoctoLocationMIPS64/${crosscompileMIPS64}g++" ]; then
|
||||
SetEnvVar "QEMUARMV7_TOOLCHAIN_SYSROOT" "$yoctoLocationARMv7/$sysrootARMv7"
|
||||
if [ -e "$yoctoLocationARMv7/sysroots/$sysrootARMv7" ] && [ -e "$yoctoLocationARMv7/${crosscompileARMv7}g++" ] && \
|
||||
[ -e "$yoctoLocationARMv7/$envSetupARMv7" ] && [ -e "$yoctoLocationARMv7/$toolchainFileARMv7" ] && \
|
||||
[ -e "$yoctoLocationARM64/sysroots/$sysrootARM64" ] && [ -e "$yoctoLocationARM64/${crosscompileARM64}g++" ] && \
|
||||
[ -e "$yoctoLocationARM64/$envSetupARM64" ] && [ -e "$yoctoLocationARM64/$toolchainFileARM64" ] && \
|
||||
[ -e "$yoctoLocationMIPS64/sysroots/$sysrootMIPS64" ] && [ -e "$yoctoLocationMIPS64/${crosscompileMIPS64}g++" ] && \
|
||||
[ -e "$yoctoLocationMIPS64/$envSetupMIPS64" ] && [ -e "$yoctoLocationMIPS64/$toolchainFileMIPS64" ]; then
|
||||
SetEnvVar "QEMUARMV7_TOOLCHAIN_SYSROOT" "$yoctoLocationARMv7/sysroots/$sysrootARMv7"
|
||||
SetEnvVar "QEMUARMV7_TOOLCHAIN_CROSS_COMPILE" "$yoctoLocationARMv7/$crosscompileARMv7"
|
||||
SetEnvVar "QEMUARM64_TOOLCHAIN_SYSROOT" "$yoctoLocationARM64/$sysrootARM64"
|
||||
SetEnvVar "QEMUARMV7_TOOLCHAIN_ENVSETUP" "$yoctoLocationARMv7/$envSetupARMv7"
|
||||
SetEnvVar "QEMUARMV7_TOOLCHAIN_FILE" "$yoctoLocationARMv7/$toolchainFileARMv7"
|
||||
SetEnvVar "QEMUARM64_TOOLCHAIN_SYSROOT" "$yoctoLocationARM64/sysroots/$sysrootARM64"
|
||||
SetEnvVar "QEMUARM64_TOOLCHAIN_CROSS_COMPILE" "$yoctoLocationARM64/$crosscompileARM64"
|
||||
SetEnvVar "QEMUMIPS64_TOOLCHAIN_SYSROOT" "$yoctoLocationMIPS64/$sysrootMIPS64"
|
||||
SetEnvVar "QEMUARM64_TOOLCHAIN_ENVSETUP" "$yoctoLocationARM64/$envSetupARM64"
|
||||
SetEnvVar "QEMUARM64_TOOLCHAIN_FILE" "$yoctoLocationARM64/$toolchainFileARM64"
|
||||
SetEnvVar "QEMUMIPS64_TOOLCHAIN_SYSROOT" "$yoctoLocationMIPS64/sysroots/$sysrootMIPS64"
|
||||
SetEnvVar "QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE" "$yoctoLocationMIPS64/$crosscompileMIPS64"
|
||||
SetEnvVar "QEMUMIPS64_TOOLCHAIN_ENVSETUP" "$yoctoLocationMIPS64/$envSetupMIPS64"
|
||||
SetEnvVar "QEMUMIPS64_TOOLCHAIN_FILE" "$yoctoLocationMIPS64/$toolchainFileMIPS64"
|
||||
else
|
||||
echo "Error! Couldn't find installation paths for Yocto toolchain. Aborting provisioning." 1>&2
|
||||
exit 1
|
||||
@@ -115,7 +132,15 @@ echo "Yocto ARM64 toolchain = $versionARM64" >> ~/versions.txt
|
||||
echo "Yocto MIPS64 toolchain = $versionMIPS64" >> ~/versions.txt
|
||||
|
||||
# List qt user in qemu toolchain sysroots
|
||||
sudo sh -c "grep ^qt /etc/passwd >> /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/etc/passwd"
|
||||
sudo sh -c "grep ^qt /etc/group >> /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/etc/group"
|
||||
sudo sh -c "grep ^qt /etc/passwd >> /opt/yocto-arm64/sysroots/aarch64-poky-linux/etc/passwd"
|
||||
sudo sh -c "grep ^qt /etc/group >> /opt/yocto-arm64/sysroots/aarch64-poky-linux/etc/group"
|
||||
sudo sh -c "grep ^qt /etc/passwd >> $yoctoLocationARMv7/sysroots/$sysrootARMv7/etc/passwd"
|
||||
sudo sh -c "grep ^qt /etc/group >> $yoctoLocationARMv7/sysroots/$sysrootARMv7/etc/group"
|
||||
sudo sh -c "grep ^qt /etc/passwd >> $yoctoLocationARM64/sysroots/$sysrootARM64/etc/passwd"
|
||||
sudo sh -c "grep ^qt /etc/group >> $yoctoLocationARM64/sysroots/$sysrootARM64/etc/group"
|
||||
|
||||
# Install qemu binfmt for 32bit and 64bit arm architectures
|
||||
sudo update-binfmts --package qemu-arm --install arm $yoctoLocationARMv7/sysroots/x86_64-pokysdk-linux/usr/bin/qemu-arm \
|
||||
--magic "\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00" \
|
||||
--mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff"
|
||||
sudo update-binfmts --package qemu-aarch64 --install aarch64 $yoctoLocationARM64/sysroots/x86_64-pokysdk-linux/usr/bin/qemu-aarch64 \
|
||||
--magic "\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00" \
|
||||
--mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user