m87: Uninstall LLVM on the macOS images so that we can build arm64e targets on Azure
@@ -81,11 +81,12 @@ jobs:
container: ${{ parameters.container }}
steps:
- # - ${{ if eq(parameters.platform, 'macOS') }}:
- # # macOS
- # - bash: |
- # echo "##vso[task.setvariable variable=PATH;]/usr/local/opt/llvm/bin:$PATH"
- # displayName: Set path to clang / llvm-config
+ - ${{ if eq(parameters.platform, 'macOS') }}:
+ # macOS preinstall LLVM conflicts with clang's LLVM,
+ # which we require now to build iOS/arm64e targets
+ - bash: |
+ brew uninstall llvm
+ displayName: 'Uninstall LLVM'
- ${{ if eq(parameters.platform, 'Windows') }}:
# Windows.
