@@ -345,14 +345,14 @@ jobs:
345345 run : rustup target install aarch64-apple-darwin
346346 - name : Fetch upstream LLVM/clang snapshot
347347 run : |
348- wget -O clang+llvm-14.0.1 -x86_64-apple-darwin.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.1 /clang+llvm-14.0.1 -x86_64-apple-darwin.tar.xz
349- if [ "$(shasum -a 256 clang+llvm-14.0.1 -x86_64-apple-darwin.tar.xz | awk '{ print $1 }')" != "43149390e95b1cdbf1d4ef2e9d214bbb6d35858ceb2df27245868e06bc4fc44c " ]; then
348+ wget -O clang+llvm-14.0.5 -x86_64-apple-darwin.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.5 /clang+llvm-14.0.5 -x86_64-apple-darwin.tar.xz
349+ if [ "$(shasum -a 256 clang+llvm-14.0.5 -x86_64-apple-darwin.tar.xz | awk '{ print $1 }')" != "66cf1b8e00289a567b2f5f740f068b7682e27ccf048647b836d3624376a64705 " ]; then
350350 echo "Bad hash"
351351 exit 1
352352 fi
353353 - name : Unpack upstream LLVM+clang and use it by default
354354 run : |
355- tar xvvf clang+llvm-14.0.1 -x86_64-apple-darwin.tar.xz
355+ tar xvvf clang+llvm-14.0.5 -x86_64-apple-darwin.tar.xz
356356 - name : Checkout source code
357357 uses : actions/checkout@v2
358358 with :
@@ -373,7 +373,7 @@ jobs:
373373 git checkout 0.0.108
374374 - name : Rebuild C bindings with upstream clang, and check the sample app builds + links
375375 run : |
376- export PATH=`pwd`/clang+llvm-14.0.1 -x86_64-apple-darwin/bin:$PATH
376+ export PATH=`pwd`/clang+llvm-14.0.5 -x86_64-apple-darwin/bin:$PATH
377377 cd ldk-c-bindings
378378 CC=clang ./genbindings.sh ../rust-lightning true
379379 - name : Fetch OpenJDK 18
@@ -412,7 +412,7 @@ jobs:
412412 export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)"
413413 export JAVA_HOME=`pwd`/jdk-18.0.1.1.jdk/Contents/Home
414414 export PATH=$JAVA_HOME/bin:$PATH
415- export PATH=`pwd`/clang+llvm-14.0.1 -x86_64-apple-darwin/bin:$PATH
415+ export PATH=`pwd`/clang+llvm-14.0.5 -x86_64-apple-darwin/bin:$PATH
416416 ./genbindings.sh ./ldk-c-bindings/ "-I$JAVA_HOME/include/ -I$JAVA_HOME/include/darwin -isysroot$(xcrun --show-sdk-path)" false false
417417
418418 if [ "${{ matrix.platform }}" = "macos-11" ]; then
0 commit comments