aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/macos
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.12' into devLiang Qi2019-01-232-2/+83
|\ | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt Change-Id: Ie21baa51738ce0761fb45fba3819b1894cc808b6
| * Fix provisioning ODBC environmetal variables had : at endJuha Karjalainen2019-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | CPLUS_INCLUDE_PATH and LIBRARY_PATH environmental variables had --> : <-- at end of variable. As this adds current dir to search path this is undesirable and causes bugs. Change-Id: Ia36c3f3f791f5d506eea15aba6be6d665049a922 Reviewed-by: Juha Karjalainen <juha.karjalainen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Provisioning: Unify duplicated openssl provisioning scriptJuha Karjalainen2019-01-031-0/+81
| | | | | | | | | | | | | | | | MacOS(10.12 and 10.13) had two identical provisioning scripts for openssl. Now unified under common. Change-Id: If469a56d431e72b291a810fa9c1b701873fe382d Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
* | Fix .ci.local to .intra.qt.io in docker provisioningTony Sarajärvi2019-01-071-1/+1
| | | | | | | | | | Change-Id: I9de241e70a5dd15568619da6e4a19d54e76e5a4c Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into devLiang Qi2019-01-022-21/+63
|\| | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules coin/provisioning/common/linux/docker_testserver.sh coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-apt.sh Done-With: Ryan Chu <ryan.chu@qt.io> Change-Id: I9bc3afcb50783a9f0f7718731d237de4be287cae
| * Provisioning: Install ODBC for macOS 10.12 10.13Juha Karjalainen2018-12-311-0/+54
| | | | | | | | | | | | | | | | | | | | This script installs libiodbc from brew and adds it to CPLUS_INCLUDE_PATH and LIBRARY_PATH thus enabling configure to find it and thus enabling odbc support for qt build on macOS. Task-number: QTBUG-58956 Change-Id: I7f865800b580a87afcc480534da57ee546c74406 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
| * Provisioning: Fix path for fbx filesHeikki Halmet2018-11-131-21/+9
| | | | | | | | | | | | | | | | | | | | Currently Qt3d Studio build don't recognize fbx path because of space in folder name. This change will fix it by taken use the packages which don't have space in the folder name. Task-number: QT3DS-2440 Change-Id: I502bb04489a03a5a81e164f8a86f3200f4ec3910 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | Assert the provisioning process in macOS if VMX is not enabledRyan Chu2018-12-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | The Docker-machine requires VT-x/AMD-v to build up boot2docker virtual machine. The VMX flag should be enabled when deploying the VM into Virtualbox. In the CI framework, it relies on Coin to expose the VMX flag to the CPU feature. To well handle the case that the VMX could be removed due to some CI updates, the provisioning script will assert the process with the related debug message if VMX is not found. Change-Id: I9f3f123d33629df1655a5b55d776d5361878d1f5 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Docker Provisioning: Install Docker-based test servers on macOSRyan Chu2018-10-302-0/+127
|/ | | | | | | | | | Build and cache docker images based on the configurations in testserver. 1. Move the shared Docker files to common/shared/testserver 2. Deploy boot2docker image into VirtualBox via docker-machine commands. 3. Build and tag the docker images by the SHA-1 of server context. Change-Id: Ic5a588e5cc5e753ec4c4e2e1bc79917bbd03f95d Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Version Xcode application bundle when provisioning macOS imagesTor Arne Vestbø2018-09-041-0/+8
| | | | | | | | | | | | | | | | By versioning the Xcode installation we open up for having multiple Xcode versions installed on the same image in the future, which allows for e.g. choosing the Xcode version in the build config. By running xcode-select to choose the bundle, we ensure that build steps that do not know that Xcode has been versioned will still pick up the right compiler and SDK paths when e.g. running xcrun -find clang. Done-with: Jędrzej Nowacki <jedrzej.nowacki@qt.io> Change-Id: I0bd877bd344cebdd1fbf3a3035b00069f75c4c96 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Change 'test suite' in license headers of prov scriptsTony Sarajärvi2018-09-041-1/+1
| | | | | Change-Id: I9687bcb15b26287ea6eeb2098079137d6e3fc288 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: need to install packages in XcodeLiang Qi2018-08-281-0/+4
| | | | | | Task-number: QTBUG-70180 Change-Id: I23134b887bf7fa05e29bd16769fdb9c7f025764e Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Provisioning: Disable spotlight in macOSSimo Fält2018-08-241-0/+38
| | | | | | | | | While the VM we launch is a clean image the spotlight starts indexing right after the boot. That seems to require quite a lot of resources. Build machine doesn't need the feature, so we are disabling it. Change-Id: I2c5f0030d7a687cfbded4e9bd4da70302cb0a933 Reviewed-by: Liang Qi <liang.qi@qt.io>
* Download and cache needed python wheels during provisioningDominik Holland2018-07-311-1/+5
| | | | | | | | | Instead of downloading the packages during the compile/configure step setup a wheel cache folder during the provisioning phase Task-number: AUTOSUITE-195 Change-Id: I465f1be7cdd351e7680dcd8ae22d5e97ddf8cb2d Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* Provisioning: Update cmake to 3.11.3 on macosSimo Fält2018-07-231-5/+5
| | | | | | | | | | It seems that cmake 3.6 had issues with more recent XCode. Since XCode 8 the sysroot folder might have been unversioned (MacOSX10.12.sdk -> MacOSX.sdk). In that case older cmake can't detect correct SDK version. This is causing issues when building Pyside2. Change-Id: I09f0ed4fe6d15ba3d60aa3a6e9a9b3b9091996c8 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Add macOS 10.13 to the CITony Sarajärvi2018-06-011-1/+5
| | | | | | | | | | | Includes provisioning scripts and modifications to default.txt enabling the build. Builds are disabled while fixing or blacklisting autotests. Task-number: QTQAINFRA-1299 Task-number: QTQAINFRA-1300 Change-Id: I0fde33c8028c7ded9d07e8d9cb0dcfb03d5db188 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Fix shellcheck complaints in common macos provisioning scriptsTony Sarajärvi2018-04-297-11/+11
| | | | | | Change-Id: I9d6891a2956f66ebf2ca759c4085acad30a84618 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: Upgrade pip to latest versionHeikki Halmet2018-04-153-4/+24
| | | | | | | | | | | | Latest pip version is not installed during python installation. Pip need to be reinstalled after python installation because older version of pip seems to cause installation problems randomly at least with python 2.7 Task-number: QTQAINFRA-1902 Change-Id: If3d74130ecee6e410c64cad309feff9edc0e5db0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Make unzip less verbose in macOSTony Sarajärvi2018-03-221-1/+1
| | | | | Change-Id: I83249f724ecbfeeb4fd5c1cd33a9c6195c590c4b Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Provisioning: Fix java installation for macHeikki Halmet2018-03-191-19/+10
| | | | | Change-Id: I3b6672e671720416af71631c2f9ce814f07e596a Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Remove try_catch codes from common macOS scriptsTony Sarajärvi2018-03-196-321/+106
| | | | | Change-Id: I66291e2da5514499387b61e01ad85a652cd24d7b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Disable update download in backgroundTony Sarajärvi2018-03-181-0/+3
| | | | | | | Task-number: QTQAINFRA-1852 Change-Id: I6d8e433fa40dd080fe84efcf3d0c655d14f86010 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Create symbolic for shasum tool on macOS for compatibilityRainer Keller2018-03-101-0/+49
| | | | | | | | | | | On macOS the sha1 tool is named 'shasum' while on all other unix systems it is called 'sha1sum'. In order to make all unix provisioning scripts run on macOS without special case handling a symbolic link is created. Change-Id: Ib1365cbb0dcb31e68a22959ce939fb450ec7e3f7 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: osx-10.11 - JavaMatti Paaso2018-02-231-0/+132
| | | | | | | This is needed for running RTA jobs in Coin. Change-Id: Iff855dae54babef00c055a2c8b938871101305e3 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provision: Use specific Python2 version in macOSSimo Fält2018-02-131-0/+52
| | | | | | | | Make sure we use some specific Python2 version on macOS instead of the one pre-installed along with system. Change-Id: Ifee07a8cf003e282ec3cb67535818f9fe39c8679 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Use SetEnvVar helper function in scriptsJoni Jantti2018-01-263-4/+12
| | | | | | | | | | | Currently when adding an environment variable in provisioning we have to check if the system is Ubuntu and use .profile instead of .bashrc. This check should be done in a function so we don't have to duplicate it for every provisioning script separately. Change-Id: I2fa128032123e17d20dfb39cd3668e22e4bb0d55 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Split Common folder based on operating system familiesHeikki Halmet2018-01-1011-0/+652
This change will split common folder to four different folders: Linux, Unix, Windows and MacOS. Each of these folders includes scripts which are common for their operating system familes Task-number: QTQAINFRA-1451 Change-Id: Ic93b2183052335dee875d1452b21e38d268b6474 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>