aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning
Commit message (Collapse)AuthorAgeFilesLines
* Fix cmake and python installation on RHEL 7.2 and OpenSuSE 42.1Simon Hausmann2017-08-293-0/+111
| | | | | | | | | | | | The merge commit 74eb853384473dbe18123f9731b6f9529d68d2cf accidentally brought forward the removal of files from commit 49ccf716dca2a14d21ce6869cdcd64b861c53834 that were not supposed to propagate. Change-Id: Ia5d6b2205c75f0856c3fed104149980c75a55840 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com> Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Enable developer mode on macOS platformsAlexandru Croitor2017-08-241-0/+8
| | | | | | | | | | | | | | | | | | | Previously when a VM user tried to attach lldb to a process via ssh, lldb would fail with the following error message: "error: process exited with status -1 (unable to attach)". If this were done over VNC rather than ssh, the user would instead get a UI popup to enter a password to allow debugging the process. When trying to debug an application using Xcode for the first time, Xcode will offer to enable the so called "Developer Mode" which allows attaching a debugger without specifying a password every time. This change enables "Developer Mode", so that every VM user doesn't have to. Change-Id: Ie4e473a982c908afd456ac1773bbdaf4ce778094 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Provisioning: Install libclang and its dependencies to macos 10.12Simo Fält2017-08-233-0/+13
| | | | | | | | | Libs and llvm-config is required by pyside. In order to extract libclang package, we need to install 7zip. 7zip is installed with homebrew. Change-Id: I35367dca1f79dbc9e2f1513480f6fc9bb69730d3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Merge remote-tracking branch 'origin/5.6' into 5.9Liang Qi2017-08-2273-259/+804
|\ | | | | | | | | | | | | | | | | | | | | | | Move the Documentation feature to the corresponding Ubuntu 16.04, where the CI would have used it by magic. Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt Done-with: Frederik Gladhorn<frederik.gladhorn@qt.io> Change-Id: I885ce572710480cd15ecdc8cfac7edb52957f92a
| * Provisioning: Disable system updatesHeikki Halmet2017-08-165-0/+56
| | | | | | | | | | | | | | | | This change will disable system updates from App Store to prevent unnecessary network load Change-Id: I7915ec6ffce681a850abef59d58f953effd6deb0 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * Make CI use a new win 8.1 provisioning instead of win 8Joni Jäntti2017-08-1157-200/+804
| | | | | | | | | | | | | | | | | | | | | | | | | | Added all the provisioning scripts that install required programs and make changes to certain settings. These are needed to build qt5. This replaces the old Windows 8 template. Made all the Windows platforms use the scripts under provisioning/common/ instead of duplicate files. Task-number: QTQAINFRA-1357 Change-Id: Ic3f0b50079b212437fff711379f243753ab84872 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * Update provisioning scripts with new intra.qt.io addressTony Sarajärvi2017-08-0814-20/+20
| | | | | | | | | | Change-Id: I9b4c5e9d0fe8e0e84596ad9086f563d11e97930b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * Remove unused provisioning scriptsSimon Hausmann2017-08-047-167/+0
| | | | | | | | | | | | | | | | | | RHEL 7.2, Ubuntu 15.04, 16.04 and OpenSuSE 42.1 are not used in the Qt 5.6 branch. Let's remove the scripts to avoid confusion. Change-Id: I3829ea320ad77ebd25c9cf5bebfeed89f37f44dc Reviewed-by: Simo Fält <simo.falt@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* | Use libusb compiled with MSVC 2015Kari Oikarinen2017-08-214-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | QDB has to change to using Windows 10 for releases, because Windows 8.1 is no longer available for non-qt5 builds as a packaging platform in 5.9 branch. Don't provision libusb on earlier Windows versions, since they don't have a compatible compiler. Change-Id: I771a24fcf208c4961483a39e51cb7d95f004ed55 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Do not use font files from boot2qt toolchainSami Nurmenniemi2017-08-211-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously font configuration files were used from the host system. Updating the toolchain to Morty introduces Cantarell font which causes toolchain fonts to be used by Qemu. This change forces also the actual font files to be used from the host system regardless of what is in the toolchain. Task-number: QTBUG-62528 Change-Id: I00de0baa952c9b898edc6b9da8d1d8814f6c722b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Remove outdated provisioning scriptsFrederik Gladhorn2017-08-196-120/+0
| | | | | | | | | | | | | | | | Ubuntu 14.04 and OS X 10.8 are no longer relevant Change-Id: Ib18dda605501fbbf2a6cac578a1b34d82102fae4 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Provisioning: Install libclang to OpenSUSESimo Fält2017-08-171-0/+9
| | | | | | | | | | | | | | | | The script will install custom package, which is known to match with pyside requirements. Change-Id: I28ff7877ef1bba50f8d32007af87e70c0ddc398a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Provisioning: Install pip for macOS 10.12Simo Fält2017-08-172-0/+9
| | | | | | | | | | | | | | Pip is required to provision python packages. Change-Id: I73ab7556bb6b9ccc57ef078f422bfbba4bfed6a7 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provisioning: Update CMake on osx 10.10Simo Fält2017-08-173-50/+58
| | | | | | | | | | | | | | Pyside requires cmake 3.1.0 or more recent. Change-Id: Ic376d5e5af9f9b0692a2de7c4ec35e6c8bfa9465 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provisioning: move installing Android NDK and SDK back in lineTony Sarajärvi2017-08-171-0/+0
| | | | | | | | | | | | | | | | | | | | Installing the NDK and SDK takes a lot of time and finding potential other problems require us to first download the entire Android SDK. By moving it back in line, we first make sure the other stuff work before taking care of this. Change-Id: Ibae82dca247c8ae063548dbafa5a348102bf8ddb Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provisioning: Reduce verbosity of uncompressing XcodeTony Sarajärvi2017-08-171-1/+1
| | | | | | | | | | Change-Id: Id09ace3fcdf53c3b6921ed277c9fe571b5c43e3b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provisioning: Install virtualenv for macOS 10.12Simo Fält2017-08-172-0/+7
| | | | | | | | | | | | | | | | | | Python virtualenv command is used when building pyside modules, which installs additional Python modules during build time and requires access to installation directories. Change-Id: Id34ac8b36710ba04d8db263acdaf2bd31e314de8 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Adapt comments to qdb repository moveKari Oikarinen2017-08-161-2/+2
| | | | | | | | | | Change-Id: I3ecdc952d1323a14471cdc87b6854b857d4297a7 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Update libusb versionKari Oikarinen2017-08-161-3/+3
| | | | | | | | | | | | | | | | | | Use an unreleased version that does not have a crash on Windows 7, since there is not yet an official release that would include the fix. Task-number: QTBUG-62430 Change-Id: I14d83d01fe3d4b0bfebe7514fbec7d25e99af731 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Update Xcode to 8.3.3 in macOS 10.12Tony Sarajärvi2017-07-311-1/+1
| | | | | | | | | | | | Change-Id: I990d2ac89044a5afc6170da9f5c22bc144021036 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* | Merge remote-tracking branch 'origin/5.6' into 5.9Simon Hausmann2017-07-197-11/+68
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt This also reverts c9d5341307e02cc71d4d99342e6915621f7d18f3 as on macOS 10.11 in 5.9 we're using a fresh virtual machine template that doesn't have stale virtualenv/python installations. Change-Id: Iab50fde0388c97967ada7c40374345ce4327613a
| * Provisioning: Fix virtualenv in macOS 10.11Simo Fält2017-07-191-0/+17
| | | | | | | | | | | | | | | | | | | | There are multiple Python installations in our macOS 10.11 Tier1 template. Most of them are pretty old and not even working properly. One of the affected Python tool is virtualenv, which atm is creating Python 2.6 env by default even if Python 2.7 is the default Python. Change-Id: I8bc0900976a9dc79637539802345175c85b7b433 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * Centralize Mesa LLVMPipe installation on WindowsSimon Hausmann2017-06-207-11/+68
| | | | | | | | | | | | | | | | | | | | | | Install the DLL for general availability on all Windows systems. Due to its distinct name it will not be picked up by anyone unless Qt explicitly selects it. This gives us the ability to choose the GLES backend to use in Qt. Change-Id: Ie36f202ead7080a8f7690734d305bd27f0c9f56b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Conan: update ICU to 59.1, added VS2017 packagesKonstantin Tokarev2017-07-0921-381/+982
| | | | | | | | | | | | | | | | MinGW packages will be upgraded in another patch. Task-number: QTBUG-61728 Change-Id: Ie6a1996b7850282a7cdcbe5ceba61f1ce473cf69 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provisioning: install x86 conan packages on MSVC2015-x86_64 Win 10 hostKonstantin Tokarev2017-07-092-1/+9
| | | | | | | | | | | | | | | | Also upgrade to Conan 0.24.0. Task-number: QTBUG-61829 Change-Id: Ia01609e5f2d8121eb216b03bc8e95bca7225042e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provisioning: move Conan manifests to common directoryKonstantin Tokarev2017-07-0921-7/+2
| | | | | | | | | | | | | | | | | | We need to use x86 packages from qtci-windows-10-x86_64 configuration, so splitting Conan manifests by configuration is not a good idea anymore. Task-number: QTBUG-61829 Change-Id: I8b2fc00865cce372ca6b5ec75b4775d345d0d18f Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provision homebrewSimo Fält2017-07-082-0/+7
| | | | | | | | | | | | | | | | | | Some of the macOS templates are cleaner than others and are mising some basic tools like 7z. Homebrew provides easy way to install wide range of tools via command line. Change-Id: I5a8528bb4a13ef9a72e2467c51a8b5d45f9a3d84 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provision libclangSimo Fält2017-07-0813-0/+148
| | | | | | | | | | | | | | | | | | PySide versions following 5.6 use a C++ parser based on Clang. The Clang library (C-bindings), version 3.9 or higher is required for building. Change-Id: Ia7bcad46e3214d6d8b688354c9abdc83a513573c Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provision 7zSimo Fält2017-07-081-0/+4
| | | | | | | | | | | | | | macOS 10.11 tier1 template is missing 7z. Change-Id: I9e1ade8605b5e6f389a2cd76340070070a7c637b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provisioning: Install Ninja on windows hosts used to build cmake-based QtWebKitKonstantin Tokarev2017-07-034-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | Makefile-based generators of CMake are much less efficient than Ninja. They generate bloated Makefiles that call back to cmake often. Main offender on Windows is cmake_depends command which seems to do lots of disk reads. QtWebKit can now switch to ninja automatically if it's present in PATH. This should help to reduce build times. Change-Id: I33d3f4d766a630f8ca4fb64b719fe2e8a5c2e00c Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Remove provisioning scripts for platforms not supported anymoreTony Sarajärvi2017-06-145-94/+0
| | | | | | | | | | Change-Id: I8c3685aaf51005f58ba84f695879f82e32a4f689 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Merge remote-tracking branch 'origin/5.6' into 5.9Simon Hausmann2017-06-1219-108/+147
|\| | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt Change-Id: I1709ddd14bf27186a8968ce073cf22e7903ff798
| * Fix Postgresql and Mysql environment variablesSimon Hausmann2017-06-122-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The correct paths to the headers are c:\utils\postgresql[x86]\pgsql\include not c:\utils\postgresql[x86]\pgsql\pgsql\include Same for libs. Regression introduced by commit ce47238ed94f3a989c13fef93b037904589910cf but only noticed in the 5.9 branch. Change-Id: Ib16072c0cc1c52f743f5500bc9732c8b04e962c7 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
| * Clean up windows cleanup scriptSimon Hausmann2017-06-066-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * There's no need to have a numbered prefix in the common directory * Instead of deleting directories trees worth several gigabytes of data, just rename the directory. The underlying storage system is copy-on-write and so deleting the files produces more data than just moving the directory out of the way. Deleting the files does not actually free up any physical disk space. Change-Id: I6de02d56f3485651726ea11183ce7571d5b61520 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Speed up Windows installation of cmake, python, opengl, mysys and AndroidSimon Hausmann2017-06-067-10/+10
| | | | | | | | | | | | | | | | | | We're better off copying off the internal server using CIFS than using PowerShell's incredibly slow Invoke-WebRequest. Change-Id: Ic39cf08be70335e9309575d543155bffaceb0db0 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Speed up Visual Studio update installationSimon Hausmann2017-06-063-34/+62
| | | | | | | | | | | | | | | | | | | | We have a prepared package on the internal server that has everything necessary included. This way we do not have to download the actual update content from the internet. Change-Id: Ie4cb3116a4f91a47df5be1c2b2e473d7ddec9a78 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
| * Improve Postgresql installation on WindowsSimon Hausmann2017-06-063-23/+44
| | | | | | | | | | | | | | | | | | Similar to the mysql change (parent commit) it's faster to rename any older artifacts and install only what we need. This also generalizes the zip archive extraction code for "dev" packages. Change-Id: I3ad1f23efaed80fab3e0778a3e8c46317138f1ad Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
| * Improve mysql installationSimon Hausmann2017-06-061-44/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Instead of deleting the files from a previous installation, which will not actually release any disk space but just make the qcow2 file larger, let's just rename the directory the old files are in. That is a significantly faster operation. * When extracting the zip archive, only extract what we need for Qt: Libraries, binaries and headers. We can skip the installation of several thousand documentation files for example, which takes a long time. * Instead of downloading the zip archive via PowerShell's Invoke-WebRequest we can get the data much faster using CopyItem off the CIFS share. As a bonus this is also more robust against download failures. Change-Id: I9128bd70e5f4a4ebcdbf046765e76b63bad033a5 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | Provision macOS disable screensaver in current sessionTony Sarajärvi2017-06-052-0/+8
| | | | | | | | | | | | | | Task-number: QTQAINFRA-1244 Change-Id: I3a27d8cdee8cd7b22d86116d58009e952ab536ea Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Merge remote-tracking branch 'origin/5.6' into 5.9.0Liang Qi2017-05-082-0/+86
|\| | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt Change-Id: Id82a13a6b2fe6db60c286e470396298c08e363b8
| * MSVC 2017 updated and missing component for winrt armHeikki Halmet2017-05-032-0/+86
| | | | | | | | | | | | | | | | | | | | | | MSVC 2017 and Build Tools updated to version 15.1. Also missing component 'Visual C++ compilers and libraries for ARM' installed for winrt arm Also script added to storage msvc version numbers to versions.txt Change-Id: I015e15d5d613b178c1266a2aecee5c3270780486 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provisioning: disable screensaver passwordTony Sarajärvi2017-05-042-0/+14
| | | | | | | | | | | | | | | | | | | | | | Previously provisioning disabled screensaver on startup but didn't affect current session. Thus the screensaver hits the VMs while provisioning and without this commit the screen gets locked. This prevents the lock and we get to the desktop on the VMs. Change-Id: Icd783127e898ece6bebb5598ab86f12d5062eeb5 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provision toolchains and take QNX 7 SDP into use with 64 bit Win10Simo Fält2017-04-302-0/+94
| | | | | | | | | | | | Task-number: QTQAINFRA-1113 Change-Id: I7151dc89c6813ad6c37fde20b8aa641578c54d4c Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provision and take QNX 7 SDP into use with RHEL 7.2Simo Fält2017-04-271-0/+64
| | | | | | | | | | | | | | | | | | After enabling QNX 7, we are moving some QNX 6.6 config to be ran with qt5 integration only. Task-number: QTQAINFRA-1111 Change-Id: I230b5f8b8631558ccfa156ae4f949ed045c40972 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Add preparing of qemu fontconfig to Ubuntu 16.04 provisioningSami Nurmenniemi2017-04-271-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | If normal fontconfig paths are used, qemu parses what ever files it finds from the toolchain sysroot and the rest from the system fonts. Fix by copying the system font configurations to a location which prefix that can't be found from the toolchain sysroot. Links must also be dereferenced or their targets remain pointing to the toolchain sysroot. Task-number: QTBUG-59966 Change-Id: I9710c9fdebe81114080f47f1f59b2a049f87c070 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provision environment variables for SSL autotestsTony Sarajärvi2017-04-272-0/+6
| | | | | | | | | | | | | | Task-number: QTBUG-56102 Change-Id: I7f14fbebcc459b4610ca9469b4335ef5b18ba5b4 Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* | Provision: Remove excess export that wasn't read in UbuntusTony Sarajärvi2017-04-271-7/+0
| | | | | | | | | | | | | | | | | | | | | | Default shell for 'qt' user is Dash. It doesn't read .bashrc at all. Coin uses bash, but uses it non-interactively which in .bashrc means that it bails out immediately. So same result, .bashrc isn't read in Ubuntus. Change-Id: Id466c86f8cc813aacd5f41c4b267b44e93759377 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Add provisioning for qt3dstudio 3rdparty toolsMiikka Heikkinen2017-04-272-0/+11
| | | | | | | | | | Change-Id: I8060b6fd89e4c188d17219f43c8789aa25713068 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Merge remote-tracking branch 'origin/5.6' into 5.9Simon Hausmann2017-04-252-120/+5
|\| | | | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt coin/provisioning/qtci-osx-10.10-x86_64/android.sh coin/provisioning/qtci-osx-10.11-x86_64/android.sh Change-Id: I2c3ae694d05ffe502967595fc7c7cfc6ddae4d4d
| * Improve Android SDK/NDK installation on macOSSimon Hausmann2017-04-242-123/+10
| | | | | | | | | | | | | | | | | | | | | | | | * Remove unused installation on macOS 10.10 as we only build packages on 10.11. * Replace the use of the ~1GB downloads of the zip files with a direct extraction via NFS. This is more resilient to flakyness in the network connection. Change-Id: I1bfe5bbf00a6614233b517801daf130069094ec9 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>