summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Fält <simo.falt@qt.io>2017-08-22 09:02:16 +0300
committerLiang Qi <liang.qi@qt.io>2017-08-23 05:50:26 +0000
commit9d65cd5ca52ce14af239f019a486604792917770 (patch)
tree414869aa9f8bad84dc76e4a8cfa659846df42b54
parent74eb853384473dbe18123f9731b6f9529d68d2cf (diff)
Provisioning: Install libclang and its dependencies to macos 10.12
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>
-rwxr-xr-xcoin/provisioning/qtci-macos-10.12-x86_64/025-homebrew.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-10.12-x86_64/026-p7zip.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-10.12-x86_64/027-libclang.sh5
3 files changed, 13 insertions, 0 deletions
diff --git a/coin/provisioning/qtci-macos-10.12-x86_64/025-homebrew.sh b/coin/provisioning/qtci-macos-10.12-x86_64/025-homebrew.sh
new file mode 100755
index 00000000..63ec9b69
--- /dev/null
+++ b/coin/provisioning/qtci-macos-10.12-x86_64/025-homebrew.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+BASEDIR=$(dirname "$0")
+$BASEDIR/../common/homebrew.sh
diff --git a/coin/provisioning/qtci-macos-10.12-x86_64/026-p7zip.sh b/coin/provisioning/qtci-macos-10.12-x86_64/026-p7zip.sh
new file mode 100755
index 00000000..4fb9ddbc
--- /dev/null
+++ b/coin/provisioning/qtci-macos-10.12-x86_64/026-p7zip.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+# Install 7z to be used from command line
+brew update
+brew install p7zip
diff --git a/coin/provisioning/qtci-macos-10.12-x86_64/027-libclang.sh b/coin/provisioning/qtci-macos-10.12-x86_64/027-libclang.sh
new file mode 100755
index 00000000..d257ffa1
--- /dev/null
+++ b/coin/provisioning/qtci-macos-10.12-x86_64/027-libclang.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+BASEDIR=$(dirname "$0")
+# There is only one mac package and common script uses it as a default
+$BASEDIR/../common/libclang.sh