- - name: Fetch upstream LLVM/clang snapshot
- run: |
- git config --global safe.directory '*'
- wget -O clang+llvm-15.0.7-x86_64-apple-darwin21.0.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/clang+llvm-15.0.7-x86_64-apple-darwin21.0.tar.xz
- if [ "$(shasum -a 256 clang+llvm-15.0.7-x86_64-apple-darwin21.0.tar.xz | awk '{ print $1 }')" != "d16b6d536364c5bec6583d12dd7e6cf841b9f508c4430d9ee886726bd9983f1c" ]; then
- echo "Bad hash"
- exit 1
- fi
- - name: Unpack upstream LLVM+clang and use it by default
- run: |
- tar xvvf clang+llvm-15.0.7-x86_64-apple-darwin21.0.tar.xz