From 4140303ec9d8246d648c766a84e6a92982206861 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Mon, 9 Apr 2018 19:26:35 -0400 Subject: [build, qt] Work around for chown'ing /usr/local macOS 10.13 no longer allows wholesale chown'ing of /usr/local (and this approach also works in 10.12). --- circle.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/circle.yml b/circle.yml index 0419d305c1..5f06791cd6 100644 --- a/circle.yml +++ b/circle.yml @@ -151,8 +151,7 @@ step-library: run: name: Install macOS dependencies command: | - brew install cmake - brew install ccache + brew install cmake ccache - &install-macos-node4-dependencies run: @@ -172,14 +171,12 @@ step-library: run: name: Install macOS Qt dependencies command: | - sudo chown -R $USER /usr/local brew install qt brew link qt --force - brew linkapps qt export HOMEBREW_QT5_CELLAR=$(brew --cellar qt) export HOMEBREW_QT5_VERSION=$(brew list --versions qt | rev | cut -d' ' -f1 | rev) - ln -s $HOMEBREW_QT5_CELLAR/$HOMEBREW_QT5_VERSION/mkspecs /usr/local/mkspecs - ln -s $HOMEBREW_QT5_CELLAR/$HOMEBREW_QT5_VERSION/plugins /usr/local/plugins + sudo ln -s $HOMEBREW_QT5_CELLAR/$HOMEBREW_QT5_VERSION/mkspecs /usr/local/mkspecs + sudo ln -s $HOMEBREW_QT5_CELLAR/$HOMEBREW_QT5_VERSION/plugins /usr/local/plugins - &run-node-macos-tests run: -- cgit v1.2.1