From b5c7eb45efd0aa363c06a60e31a834c231b3aeb6 Mon Sep 17 00:00:00 2001 From: Chris Simons Date: Tue, 5 May 2020 19:57:05 -0700 Subject: [PATCH] Change MacOS Build Steps The Azure Pipelines MacOS vmImage has an old version of OpenSSL (1.0.2t) installed at /usr/local/opt/openssl. Normally with Homebrew this directory would be linked to the currenly installed version of OpenSSL (1.1.x) in /usr/local/Cellar, but since it has been installed manually here it interferes with linking libssl.a and libcrypto.a static libraries which causes the build to fail. --- azure-pipelines.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bd773d33..e12cdd60 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -82,11 +82,16 @@ jobs: Release: B_BUILD_TYPE: Release BARRIER_VERSION_STAGE: Release + variables: + VERBOSE: 1 + TERM: xterm-256color steps: - - script: brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/aac86fc018c48d7b6f23a2e7535276899774567a/Formula/qt.rb - displayName: Installed Pinned Qt - - script: brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/aac86fc018c48d7b6f23a2e7535276899774567a/Formula/openssl.rb - displayName: Installed Pinned OpenSSL + - script: rm -rf /usr/local/opt/openssl + displayName: Remove incompatible OpenSSL 1.0.2t from macOS-10.14 vmImage + - script: brew reinstall openssl + displayName: Installed newer OpenSSL 1.1.x + - script: brew install pkg-config qt5 + displayName: Install Qt5 and pkg-config prereqs - script: sh -x ./clean_build.sh displayName: Clean Build - task: PublishBuildArtifacts@1