aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common
Commit message (Collapse)AuthorAgeFilesLines
* Use libusb compiled with MSVC 2015Kari Oikarinen2017-08-211-3/+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>
* Provisioning: Install pip for macOS 10.12Simo Fält2017-08-171-0/+5
| | | | | | | 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-171-0/+51
| | | | | | | Pyside requires cmake 3.1.0 or more recent. Change-Id: Ic376d5e5af9f9b0692a2de7c4ec35e6c8bfa9465 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-171-0/+3
| | | | | | | | | 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>
* Merge remote-tracking branch 'origin/5.6' into 5.9Simon Hausmann2017-07-191-0/+63
|\ | | | | | | | | | | | | | | | | | | | | 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
| * Centralize Mesa LLVMPipe installation on WindowsSimon Hausmann2017-06-201-0/+63
| | | | | | | | | | | | | | | | | | | | | | 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-0917-379/+956
| | | | | | | | | | | | | | | | 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-091-1/+1
| | | | | | | | | | | | | | | | 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-0918-1/+1333
| | | | | | | | | | | | | | | | | | 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-081-0/+3
| | | | | | | | | | | | | | | | | | 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-083-0/+106
| | | | | | | | | | | | | | | | | | 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>
* | Provisioning: Install Ninja on windows hosts used to build cmake-based QtWebKitKonstantin Tokarev2017-07-031-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'origin/5.6' into 5.9Simon Hausmann2017-06-125-5/+95
|\| | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt Change-Id: I1709ddd14bf27186a8968ce073cf22e7903ff798
| * Clean up windows cleanup scriptSimon Hausmann2017-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-062-3/+3
| | | | | | | | | | | | | | | | | | 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-061-0/+60
| | | | | | | | | | | | | | | | | | | | 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-061-1/+31
| | | | | | | | | | | | | | | | | | 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>
* | Add provisioning for qt3dstudio 3rdparty toolsMiikka Heikkinen2017-04-271-0/+10
| | | | | | | | | | Change-Id: I8060b6fd89e4c188d17219f43c8789aa25713068 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Improve reliability of automated xcode installationSimon Hausmann2017-04-211-0/+83
| | | | | | | | | | | | | | | | | | | | | | Instead of downloading a 4+GB archive and uncompressing it in /tmp, let's uncompress the archive via NFS and feed the data straight into cpio. This should be faster and avoids curl's error handling that's happy to abort instead of re-trying. Change-Id: Ifa5d842c50111ccdbd56e795b270ee6433a63adf Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Fix provision script to create sub folders if neededTony Sarajärvi2017-04-201-1/+1
| | | | | | | | | | Change-Id: I6bec5e3adb66d0e88f611a83d05a52e6b8858b7a Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* | Merge remote-tracking branch 'origin/5.6' into 5.9Simon Hausmann2017-04-131-0/+4
|\| | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt Change-Id: Icee114ea6bd025a54db7ce34d6a0bd0dc16e767c
| * Fix provision help script DownloadURL.shTony Sarajärvi2017-04-101-0/+4
| | | | | | | | | | | | | | | | The script neglected the result of the sha1 after download. Even with a failure it exited nicely. Change-Id: I6c0e25c2b764a0ad54acbe317eddf395a56d7f1c Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Merge remote-tracking branch 'origin/5.6' into 5.9v5.9.0-beta1Liang Qi2017-04-034-73/+11
|\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt This also fixes the 7Z extraction code to work on the windows 7 x86 installation where 7z is not in the PATH anymore with revision 2. The fallback code was 64-bit only and needs the null check for ProgramFiles(x86) along with the fall back to ProgramFiles to locate the 7z executable. Change-Id: Ifcf014c3a99685c427a62898e1fa83910a4a7247
| * Coin provisioning: Use arg instead of autodetecting architectureSimo Fält2017-03-302-14/+10
| | | | | | | | | | | | | | | | | | When provisioning windows machine, it seems that detecting architecture by checking [System.Environment]::Is64BitProcess doesn't work properly. Instead pass 32 or 64 as an argument when calling powershell script. Change-Id: I890ad141b8ef194275848d0e656431753463cd2b Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Provisioning: Move Visual Studio installation to pre-provisioningHeikki Halmet2017-03-221-58/+0
| | | | | | | | | | | | | | | | | | | | | | Visual Studios will be pre-provisioned to tier1/vanilla os when visual studio update is needed. Even if using pre-configured offline installer with specific workload and components the installation is still taking too long. This way we'll reduce provisioning time significantly Change-Id: I1f831aef648716dc640ce9cbfb4e63aa54e7afd0 Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
* | Merge remote-tracking branch 'origin/5.8' into 5.9Liang Qi2017-03-042-1/+59
|\ \ | | | | | | | | | Change-Id: I415772838a8434d00ad4ccebc8b1c4180e85880b
| * | Provisioning: Upgrade conan version from 0.16.0 to 0.20.2Akseli Salovaara2017-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conan provisioning fails on private Coin instance due to error message Could not find a version that satisfies the requirement conan==0.16.0 (from versions: 0.15.0, 0.16.1, 0.17.2, 0.18.1, 0.19.3, 0.20.0, 0.20.1, 0.20.2) No matching distribution found for conan==0.16.0 Upgrading to 0.16.1 resulted warning "Your conan's client version is deprecated for the current remote (v0.20.2). Upgrade conan client." and provisioning failed with "ERROR: All remotes failed" After upgrade to 0.20.2 conan provisioning script is working again. Change-Id: I2fe9d65460954c929abb4822d206dde42909d5b3 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
| * | Merge remote-tracking branch 'origin/5.6' into 5.8Liang Qi2017-02-171-0/+58
| |\| | | | | | | | | | Change-Id: I0203dea8e441e58400d6c44697588a44b97a522b
| | * Provisioning: Visual Studio 2015 with update 3Heikki Halmet2017-02-071-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | Common install script for Visual Studio installation and updates. Latest Visual Studio 2015 update is required for releases Change-Id: I5b41625ca7f161b4ba2d417797f8839ef175cdbc Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| | * Upgrade CMake to 3.6.2Konstantin Tokarev2017-02-071-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QtWebKit requires CMake >= 2.8.12, while only 2.8.11 is available on Windows 10 machines. Task-number: QTQAINFRA-996 Change-Id: I734be4cc36f64dd5aeb243b0fbe4395c75c523b3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> (cherry picked from commit 77eeee64a43c5c448321b8f5ac7b64c872e14489)
* | | Add provisioning PKG install helper script for bashTony Sarajarvi2017-02-091-0/+103
| | | | | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-1087 Change-Id: I93f33e2e93371f68f31a9ed8b4d9c89ee091b629 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
* | | Add provisioning helper script for installing compressed filesTony Sarajarvi2017-02-091-0/+127
|/ / | | | | | | | | | | | | | | | | This script downloads a file from a given URL, uncompresses it and installs it to a desired location. Task-number: QTQAINFRA-1087 Change-Id: I466cb81ec6c96bb0d46329ec98dcc4f31be173ec Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
* | Merge remote-tracking branch 'origin/5.6' into 5.8Simon Hausmann2017-02-033-3/+95
|\| | | | | | | | | | | | | Conflicts: coin/provisioning/qtci-linux-RHEL-6.6-x86_64/android_linux.sh Change-Id: I10fcdfc0af68741d931f4732783bafdad2fffc4a
| * Provision: Script to print sw versions to provision logHeikki Halmet2017-02-031-0/+43
| | | | | | | | | | | | | | | | This script is the last script that is run by provisioning. It will print all storaged sw information to provision log Change-Id: I2c76d5f7cccf9c116cb660ffcb67d3bece473da8 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Update jom to 1.1.2Joerg Bornemann2017-02-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The most important changes that affect the CI are: - Fixed bogus path in error message for failed targets. - Fixed error "JobClient destroyed while still acquiring." that could be yielded for failed builds. - Fixed /k option (QTCREATORBUG-17131). - Added the special .NOTPARALLEL target that disables parallel build for the containing makefile. (This one is needed to build QtWebEngine in debug-and-release properly.) - Introduced the JOMFLAGS environment variable. This is a MAKEFLAGS pendant. JOMFLAGS is useful to set up separate flags for nmake and jom. Change-Id: Icb2462d06b000a3fe29e1e9290b294cb1e900409 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * Provision: Script for linux to remove preinstalled softwareHeikki Halmet2017-02-031-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Script to remove tier1's preinstalled software. Script itself includes all information about the software that needs to be removed from tier2 before provision starts to run installations. When this script is run for certain platform that platform needs to provision all removed software back to tier2 template. So user needs to make sure that all needed provision script are available when calling this removal-script. Goal is to have vanilla os when provision don't need to remove any software before installations. When this goal is reached this script and script calls can be removed from provision. Change-Id: I048909800807fabb1dc599e768a90e7457fbc2cf Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provision libusb-1.0 for WindowsKari Oikarinen2017-01-311-0/+47
| | | | | | | | | | | | | | It's needed by tqtc-boot2qt/qdb. Change-Id: Id5b8b18a2090c040c3eec1bd3c4c521456245381 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Add PS provisioning helper for 7-Zip filesKari Oikarinen2017-01-311-0/+23
| | | | | | | | | | Change-Id: Ice10e54137da8a0d2372019a195a63121fd00a8a Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Merge remote-tracking branch 'origin/5.6' into 5.8Liang Qi2017-01-283-0/+57
|\| | | | | | | | | Task-number: QTBUG-58371 Change-Id: Ic3ec10a04ec9fcfea38324f6052b2d082c6ece58
| * Android sdk and ndk to provisioning for Windows 7Heikki Halmet2017-01-282-0/+8
| | | | | | | | | | | | | | | | | | | | Installs latest Android sdk and ndk. It also runs update for SDK API level 18, latest SDK- and platform- tools and build-tools version 23.0.3. Task-number: QTBUG-58369 Change-Id: Ib42f5149243fc5d262f6542e26726d1c8cbb2e8c Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * Add Android NDK/SDK to provision for macOS 10.10 and 10.11Heikki Halmet2017-01-241-0/+49
| | | | | | | | | | | | | | | | | | Install latest Android sdk and ndk. It also runs update for SDK API level 18 Task-number: QTBUG-58370 Change-Id: I1bf8cb42dd3e753be27fa9fcd2c1ac8ccbdb87c3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * Add provision helper file to install compressed packagesTony Sarajärvi2017-01-111-0/+120
| | | | | | | | | | Change-Id: I6a7e1af7c91bd11a0cc6379f8bb7762acf42eae5 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Add DownloadURL.sh provisioning helper scriptTony Sarajarvi2017-01-111-0/+85
| | | | | | | | | | Change-Id: I64bef8470555e33772b72847aa76e0e9b4720696 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Add provisioning try-catch helper script for bashTony Sarajarvi2017-01-111-0/+64
| | | | | | | | | | Change-Id: Ia61e503ed5315546421fdeb2f4b8b1be37dab3e9 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Add provision helper file to install compressed packagesTony Sarajärvi2017-01-081-0/+120
| | | | | | | | | | Change-Id: I6a7e1af7c91bd11a0cc6379f8bb7762acf42eae5 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Add DownloadURL.sh provisioning helper scriptTony Sarajarvi2017-01-081-0/+85
| | | | | | | | | | Change-Id: I64bef8470555e33772b72847aa76e0e9b4720696 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Add provisioning try-catch helper script for bashTony Sarajarvi2017-01-081-0/+64
| | | | | | | | | | Change-Id: Ia61e503ed5315546421fdeb2f4b8b1be37dab3e9 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>