Skip to content

Commit 86670af

Browse files
committed
Update clang to 14.0.0 (sadly 14.0.1 darwin binaries are not yet up)
1 parent 6b0cba2 commit 86670af

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,14 +330,14 @@ jobs:
330330
run: rustup target install aarch64-apple-darwin
331331
- name: Fetch upstream LLVM/clang snapshot
332332
run: |
333-
wget -O clang+llvm-13.0.1-x86_64-apple-darwin.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.1/clang+llvm-13.0.1-x86_64-apple-darwin.tar.xz
334-
if [ "$(shasum -a 256 clang+llvm-13.0.1-x86_64-apple-darwin.tar.xz | awk '{ print $1 }')" != "dec02d17698514d0fc7ace8869c38937851c542b02adf102c4e898f027145a4d" ]; then
333+
wget -O clang+llvm-14.0.0-x86_64-apple-darwin.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.0/clang+llvm-14.0.0-x86_64-apple-darwin.tar.xz
334+
if [ "$(shasum -a 256 clang+llvm-14.0.0-x86_64-apple-darwin.tar.xz | awk '{ print $1 }')" != "cf5af0f32d78dcf4413ef6966abbfd5b1445fe80bba57f2ff8a08f77e672b9b3" ]; then
335335
echo "Bad hash"
336336
exit 1
337337
fi
338338
- name: Unpack upstream LLVM+clang and use it by default
339339
run: |
340-
tar xvvf clang+llvm-13.0.1-x86_64-apple-darwin.tar.xz
340+
tar xvvf clang+llvm-14.0.0-x86_64-apple-darwin.tar.xz
341341
- name: Checkout source code
342342
uses: actions/checkout@v2
343343
with:
@@ -359,7 +359,7 @@ jobs:
359359
- name: Rebuild C bindings with upstream clang, and check the sample app builds + links
360360
run: |
361361
cd ldk-c-bindings
362-
export PATH=`pwd`/clang+llvm-13.0.1-x86_64-apple-darwin/bin:$PATH
362+
export PATH=`pwd`/clang+llvm-14.0.0-x86_64-apple-darwin/bin:$PATH
363363
CC=clang ./genbindings.sh ../rust-lightning true
364364
cd ..
365365
- name: Fetch OpenJDK 16
@@ -389,7 +389,7 @@ jobs:
389389
export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)"
390390
export JAVA_HOME=`pwd`/jdk-16.0.1.jdk/Contents/Home
391391
export PATH=$JAVA_HOME/bin:$PATH
392-
export PATH=`pwd`/clang+llvm-13.0.1-x86_64-apple-darwin/bin:$PATH
392+
export PATH=`pwd`/clang+llvm-14.0.0-x86_64-apple-darwin/bin:$PATH
393393
./genbindings.sh ./ldk-c-bindings/ "-I$JAVA_HOME/include/ -I$JAVA_HOME/include/darwin -isysroot$(xcrun --show-sdk-path)" false false
394394
if [ "${{ matrix.platform }}" = "macos-11" ]; then
395395
export CC="clang --target=aarch64-apple-darwin"

0 commit comments

Comments
 (0)