aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/macos
Commit message (Collapse)AuthorAgeFilesLines
* Fix shellcheck problemsTony Sarajärvi6 days1-2/+2
| | | | | Change-Id: I277fd923f62aa5888d7e18c89471909732da30e5 Reviewed-by: Liang Qi <liang.qi@qt.io>
* Fix shellcheck warnings in set_tcc_permissions.shTor Arne Vestbø2024-04-031-1/+2
| | | | | | Pick-to: 6.7 Change-Id: I6b4de6e02e92d4c85fbb58cb1573a0ab3a178b24 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Implement dynamical ffmpeg linking on macOSArtem Dyomin2024-03-131-0/+25
| | | | | | | | | | | | | * fix dependencies and install names (absolute => relative) * fix compilation build of dylib on xcode 15. * add matching build instructions to yaml. * old macos versions don't have 'realpath', workaround is used. Task-number: QTBUG-120989 Pick-to: 6.7 6.6 6.5 Change-Id: I22e413d8f6d05c8c7d6d09a5926691216e781fd3 Reviewed-by: Artem Dyomin <artem.dyomin@qt.io> Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
* coin: Give bootstrap-agent permission to use microphone on macOSTor Arne Vestbø2024-03-111-0/+30
| | | | | | | | | | | | | | The bootstrap-agent is the 'responsible process' in TCC terms when it comes to whether a test should be allowed to access the microphone. https://www.qt.io/blog/the-curious-case-of-the-responsible-process By giving this process the permission explicitly, by modifying the TCC database, we ensure that all tests run as child processes also get this permission. Change-Id: Ia03084ac89f0717ac6457b0035769f4a9863495b Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
* Fix ci-files01-hki.intra.qt.io -> ci.qt.io in provision scriptsTony Sarajärvi2024-02-181-1/+1
| | | | | | | Change-Id: I4d0a129c170583d79dd6a0c8c38aa3db95e08c31 Reviewed-by: Casimir Saastamoinen <casimir.saastamoinen@qt.io> Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io> Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
* Retain symlinks upon making universal macOS binariesArtem Dyomin2024-02-121-2/+8
| | | | | | | | | | Saving symlinks is important when we build dynamic libs, it will be needed for building QtMM + dynamic ffmpeg. Task-number: QTBUG-120989 Pick-to: 6.7 6.6 6.5 Change-Id: I58c040a81f1fa6a3b316ace864fda0687415fd0a Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* COIN: Move arm Mac brew and pyenv install script under common directorySimo Fält2024-02-021-0/+30
| | | | | | Pick-to: 6.7 Change-Id: I83c6b017d81bc98431f0d0421167890466e5b855 Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
* Revert "Retain symlinks upon making universal macos binaries"Artem Dyomin2023-12-281-9/+3
| | | | | | | | | | This reverts commit a3c489b272c63994d5b74a2b6caa24e0f5472ff0. Reason for revert: Mistakenly replaced 'set -e' => 'set -x' just hides the problem on macOS 11 and 12. The patch needs to be investigated again Pick-to: 6.7 Change-Id: I238395fd2ae1fc362a0c9af02e2d48acce22e0dc Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
* Retain symlinks upon making universal macos binariesArtem Dyomin2023-12-241-3/+9
| | | | | | | | | Saving symlinks is important when we build dynamic libs, it will be needed for building QtMM + dynamic ffmpeg. Pick-to: 6.7 6.6 6.5 Change-Id: Ic356a9c3df727a1afe14e8553728952d3b106ba3 Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
* Update Android NDK to version r26bElias Toivola2023-12-221-1/+2
| | | | | | | | | | Revision 26.1.10909125. Also prebuilt OpenSSL 3.0.7 with it. Task-number: QTQAINFRA-5771 Pick-to: 6.7 Change-Id: I0dbe1f2d38f277bcb805f5b7ac1f30e25aabd1f8 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
* CMake: Update provisioned CMake to version 3.27.7Alexandru Croitor2023-11-151-3/+3
| | | | | | | | | | We want access to the debugger, and also to be in sync with the CMake shipped with the Qt SDK. Task-number: QTBUG-118138 Change-Id: I4b43b9543e8e6ef23c9608a8e1c623ee16edfbd5 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Configure pip for internal cacheCasimir Saastamoinen2023-11-052-0/+8
| | | | | | Task-number: QTQAINFRA-5531 Change-Id: I89c5502f62b2777a06b8f301a9fbaca1a3f8859d Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
* Provisioning: Mount Vcpkg Cache Drive on macOSAmir Masoud Abdol2023-11-051-0/+28
| | | | | Change-Id: I3038467c98a7c2a5f3b05d7b370d9ec0ea95156d Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Remove unused variable from mimersql.shTony Sarajärvi2023-11-051-1/+0
| | | | | | Change-Id: I1f77dfcac4988c0e377b68b9d6b85cf265869aea Reviewed-by: Fredrik Ålund <fredrik.alund@mimer.com> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Mimer SQL: Do not unpack directly to /usr/local and use sudoFredrik Ålund2023-10-201-3/+18
| | | | | | | | | | | Unpacking the Mimer SQL universal binary package fails on macOS 14-arm. Do not unpack directly to /usr/local and use sudo. Verify that all directories exist. Fixes: QTBUG-111219 Pick-to: 6.6 Change-Id: I5f1bf3413103c07a94a47b5421c41b8b1234ca22 Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
* Add universal binary for Mimer SQL on macOSFredrik Ålund2023-10-131-9/+13
| | | | | | | | | | | Do not use the Mimer SQL installer on macOS since it is not universal. Instead, use an archive with the needed library and include files. Use a universal binary on all macOS version from 11 and up. Fixes: QTBUG-111219 Pick-to: 6.6 Change-Id: I4a3716b1207ee966f36e977fe5f9d1016fb9efcb Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Provisioning: A better fix for enabling zsh historyVille-Pekka Karhu2023-10-091-2/+9
| | | | | Change-Id: I089ae9ea42b51b66009c1e2c50910ea689500aa1 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Install Mimer SQL on macOSFredrik Ålund2023-10-071-0/+38
| | | | | | | | Mimer SQL is needed to build the QtSql Mimer SQL plugin. Fixes: QTBUG-111219 Change-Id: I678c095068fd096f8632f9cdbb00b1bdf96bbe45 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Provisioning: Fix for enabling zsh historyVille-Pekka Karhu2023-10-031-2/+2
| | | | | Change-Id: I9b1af1f99181a7b1c0a4acded4022a26fbf5a641 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: Bump sdkApiLevel and sdkBuildToolsVersion to 34.0.0Elias Toivola2023-09-141-2/+2
| | | | | | | | Task-number: QTQAINFRA-5691 Change-Id: I4c0f92a53165f316da4b69161f0ec7cb6f889167 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Fix shellcheck complaints about provisioning scriptsTony Sarajärvi2023-09-1317-63/+64
| | | | | | | | Also adds executable attributes to shell scripts that were missing it. Change-Id: Id52ef495147fdbfb5cb1a1f711fac530e0e85f3b Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Add license header to provisioning scripts missing oneLucie Gérard2023-08-315-0/+10
| | | | | | | Task-number: QTBUG-108364 Pick-to: 6.5 6.6 Change-Id: I5b1d53aad917ed38f9e26e1fcc1b97b921c0603a Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Give qt user access to zsh history and transfer .viminfo under qt userCasimir Saastamoinen2023-08-291-0/+5
| | | | | | Task-number: COIN-723 Change-Id: I093ba09ffc3b7500ace71b4752f17015859989c7 Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
* Provisioning: macOS 14 x86_64 supportAku Pietikäinen2023-08-162-9/+10
| | | | | Change-Id: I369beb7a790fbb94bf2c1e9a823734434ea3b3da Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
* Provisioning: Add macOS 14 ARM supportVille-Pekka Karhu2023-07-281-0/+1
| | | | | | Task-number: QTQAINFRA-5643 Change-Id: Ie98a77063c59033ccffa397aca4dbc349e624450 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: Remove the special wheel cache for python3 packagesDominik Holland2023-07-251-4/+0
| | | | | | | | | | | It should be replaced with a global pip cache in the long run. Removing it should make the maintenance of the required packages easier as it can be done within the modules instead of in the global provisioing scripts. Pick-to: 6.6 Change-Id: Ief9832a8a640ce98325cda015d0a9e89d6cb16af Reviewed-by: Simo Fält <simo.falt@qt.io>
* Update node.js on Linux/macOSAllan Sandfeld Jensen2023-06-201-3/+3
| | | | | | | | Qt WebEngine 6.6 need 14.19+ Pick-to: 6.6 Change-Id: Idf2d54fcdc55762cd9d8cfe5248858bd00afe89c Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Use SPDX license identifiersLucie Gérard2023-06-1231-1210/+64
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.5 6.6 Task-number: QTBUG-67283 Task-number: QTBUG-108364 Change-Id: If26e4d35c780db4a7982bb84872b251dad24716e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Correct the domain of ci-files01-hkiTony Sarajärvi2023-06-1213-15/+15
| | | | | | | | | It's hasn't been .intra.qt.io for quite some time, it has worked through an alias we have on the DNS server. Change-Id: I0bc17668dacfea64c276bb553e75e4be16e97659 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Matti Paaso <matti.paaso@qt.io>
* Provisioning: Use Docker registry when pulling images in macOSHeikki Halmet2023-02-261-0/+11
| | | | | | | Task-number: QTQAINFRA-5428 Pick-to: 6.4 Change-Id: I0034922dd7cc42b55b3c1e852070df29a54c529b Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Coin: bump Android platform sdk and build tools version to 33Assam Boudjelthia2023-01-201-2/+2
| | | | | | | | | Use latest platform and build tools to be able to build for Android 13. Pick-to: 6.5 Change-Id: I00bd9948f528d398d471e91de1d22954d786be29 Reviewed-by: Juha Vuolle <juha.vuolle@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Provisioning: Add Docker for macOSHeikki Halmet2023-01-121-0/+63
| | | | | | | | | Needed by RTA tests Pick-to: 6.5 6.4 Task-number: QTQAINFRA-5171 Change-Id: I26ac10421ba32d68ffdef523fd97f710cd6bcaab Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* CMake: Update provisioned CMake to version 3.24.2Alexandru Croitor2022-11-261-3/+3
| | | | | | | | | | | | | | | | | | | | Needed to fix iOS Xcode generator builds when using Xcode 14. Otherwise compiler identification fails due to a code-signing error. We hit it in our iOS MinimalStaticTests configuration. error: Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. (in target 'CompilerIdCXX' from project 'CompilerIdCXX') See https://gitlab.kitware.com/cmake/cmake/-/issues/23719 Amends eee152ca704d501189905122a904255f581b3256 Fixes: QTQAINFRA-5044 Change-Id: Idabd78e6e28816a8fc4dd7e627de82f2c622c54e Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Add universal libusb binaries to macOSSamuli Piippo2022-11-241-0/+22
| | | | | | | | | | | | | | | | Brew does not support universal binaries, but provides separate amd64 and arm64 packages. We need to add arm64 binaries for libus, so that the universal builds work also for QDB. Use brew to fetch both architecture packages and use them to create universal libs for the libusb. Remove from macOS 10.14, add to macOS 12 arm. Task-number: QTBUG-107457 Pick-to: 6.2 Change-Id: If19fd6d303a20d8742c88ea11d5b30cc55f45d6b Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Update Android NDK to version r25bMatti Paaso2022-10-171-1/+1
| | | | | | | | | | Update NDK to version r25b and prebuilt openssl 1.1.1m built with it. Change log: https://github.com/android/ndk/wiki/Changelog-r25 Task-number: QTBUG-105397 Change-Id: I501f43066e7ba8af8a57efdbee6c4a625bb80852 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Support multiple Android NDK versionsHeikki Halmet2022-09-201-0/+112
| | | | | | | | | | | | | | | We need to verify latest Android NDK version in all Qt6 branches and we need to retain the NDK version we had when the specific branch was released at the first time. Verification of the latest NDK will be done during integrations in 'dev' branch and with older brances it will be done using nightly build targets Task-number: QTQAINFRA-4990 Change-Id: I2a96e419d403820f55f4244230c28ad09dc9095b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Provisioning: Disable application reopen after rebootSimo Fält2022-09-061-0/+49
| | | | | | | | This is required with physical Mac machines. Task-number: QTQAINFRA-5094 Change-Id: Ic1fad436d76d04e1dbce778f57bb69d8124548e7 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* coin: Install local Homebrew formulas explicitly as formulaTor Arne Vestbø2022-08-291-1/+1
| | | | | | | | | | | | Otherwise we end up with scary warnings like: Error: Failed to load cask: ./coin/provisioning/common/macos/libiodbc.rb Cask 'libiodbc' is unreadable: wrong constant name #<Class:0x00007fb4f589d2d8> Warning: Treating ./coin/provisioning/common/macos/libiodbc.rb as a formula. Pick-to: 6.4 6.3 6.2 Change-Id: Ief1b78c70367c740ce7eeca9110c3cf41372f53a Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Add provisioning for ARM macOS 13 betaVille-Pekka Karhu2022-08-231-1/+1
| | | | | | Task-number: QTQAINFRA-5066 Change-Id: I0ff36bea066b51e086b10b817769ca3f22190201 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Disable Software Updates for macOSHeikki Halmet2022-05-031-1/+4
| | | | | | Pick-to: 6.3 6.2 5.15 Change-Id: Id80d66cfebaa17311d7bfd927f3ce33ba0b81661 Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
* Provisioning: Update cmake to 3.21.3 to enable Android buildSimo Fält2022-04-041-2/+2
| | | | | | | | To avoid https://gitlab.kitware.com/cmake/cmake/-/issues/22634. Pick-to: 6.2 6.3 Change-Id: I1227218514174843353b5bd5d831d89ed1ca89b4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update gitToni Saario2022-02-221-0/+5
| | | | | | | | | Older git version does not allow fetching single specific sha1. Pick-to: 6.2 6.3 Change-Id: Ib795659a597042876a5c7b6fab3875fe1e39873d Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Replace LGPL2.1 only header with LGPL3 oneKai Köhne2021-12-1928-364/+532
| | | | | | | | | This is in line with e.g. qtbase. Also remove outdated/unreferenced license files. Pick-to: 6.3 Change-Id: I5d3370ab453610f9c8165ff9e57db7ad4a785370 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Provisioning: Install emsdk using emsdk.gitHeikki Halmet2021-12-041-1/+3
| | | | | | | | | | This will reduce the manual work when updating emsdk version This requires also python certificates to be installed Pick-to: 6.2 Change-Id: Id33d73f67f3312a27e9660522e7ca7ce17a89dbc Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Add python3 html5libAllan Sandfeld Jensen2021-11-201-1/+1
| | | | | | | Needed for qtwebengine in 6.3 Change-Id: I6dc941fabe4e28e3dce19db8f7812be034be8586 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Build iODBC library as universal binary on macOS 11+Tor Arne Vestbø2021-11-172-4/+14
| | | | | | | | | | | As per instructions here: https://github.com/openlink/iODBC/blob/develop/README_MACOSX.md Task-number: QTBUG-93204 Pick-to: 6.2 6.2.2 Change-Id: Ica8d0f8c8d1d497bf0172a5762ae2d419b0ffc95 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* coin: Add PostgreSQL 14 to macOS 11 imagesTor Arne Vestbø2021-11-121-0/+73
| | | | | | | | | Needed for universal build of the psql plugin. Task-number: QTBUG-93204 Pick-to: 6.2 5.15 Change-Id: I2c2d4d0f5f019a0eb4069d7642a901db4cc69473 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Provisioning: Change cache url suffix ci.local to intra.qt.ioHeikki Halmet2021-10-292-3/+3
| | | | | | | Pick-to: 6.2 Pick-to: 5.15 Change-Id: Ifaa84ddb6b8b3bdbada2a7af26df92e151792532 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: Update Python in macOS to 3.9.6Simo Fält2021-10-201-9/+9
| | | | | | Pick-to: 6.2 Change-Id: I092513727642b34cc71034dab96c78eaecfe72f1 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Provisioning: Upgrade Java JDK to version 11Heikki Halmet2021-10-151-7/+7
| | | | | | | | Pick-to: 6.2 Task-number: QTQAINFRA-4596 Change-Id: I5c67f220b5a1f3115032eb509d1d391cf1e520a6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>