Skip to content

Commit a81c2d8

Browse files
committed
[OSX] Update LLVM/clang to 15.0.3 (the latest x86_64 version)
1 parent 5d16c19 commit a81c2d8

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
@@ -347,14 +347,14 @@ jobs:
347347
run: rustup target install aarch64-apple-darwin
348348
- name: Fetch upstream LLVM/clang snapshot
349349
run: |
350-
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
351-
if [ "$(shasum -a 256 clang+llvm-14.0.5-x86_64-apple-darwin.tar.xz | awk '{ print $1 }')" != "66cf1b8e00289a567b2f5f740f068b7682e27ccf048647b836d3624376a64705" ]; then
350+
wget -O clang+llvm-15.0.3-x86_64-apple-darwin.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.3/clang+llvm-15.0.3-x86_64-apple-darwin.tar.xz
351+
if [ "$(shasum -a 256 clang+llvm-15.0.3-x86_64-apple-darwin.tar.xz | awk '{ print $1 }')" != "ac668586b2b3d068f1e43520a3ef0b1592e5dc3eff1a4a4b772e29803b428a69" ]; then
352352
echo "Bad hash"
353353
exit 1
354354
fi
355355
- name: Unpack upstream LLVM+clang and use it by default
356356
run: |
357-
tar xvvf clang+llvm-14.0.5-x86_64-apple-darwin.tar.xz
357+
tar xvvf clang+llvm-15.0.3-x86_64-apple-darwin.tar.xz
358358
- name: Checkout source code
359359
uses: actions/checkout@v2
360360
with:
@@ -375,7 +375,7 @@ jobs:
375375
git checkout 0.0.113
376376
- name: Rebuild C bindings with upstream clang, and check the sample app builds + links
377377
run: |
378-
export PATH=`pwd`/clang+llvm-14.0.5-x86_64-apple-darwin/bin:$PATH
378+
export PATH=`pwd`/clang+llvm-15.0.3-x86_64-apple-darwin/bin:$PATH
379379
cd ldk-c-bindings
380380
CC=clang ./genbindings.sh ../rust-lightning true
381381
- name: Fetch OpenJDK 18
@@ -414,7 +414,7 @@ jobs:
414414
export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)"
415415
export JAVA_HOME=`pwd`/jdk-18.0.1.1.jdk/Contents/Home
416416
export PATH=$JAVA_HOME/bin:$PATH
417-
export PATH=`pwd`/clang+llvm-14.0.5-x86_64-apple-darwin/bin:$PATH
417+
export PATH=`pwd`/clang+llvm-15.0.3-x86_64-apple-darwin/bin:$PATH
418418
./genbindings.sh ./ldk-c-bindings/ "-I$JAVA_HOME/include/ -I$JAVA_HOME/include/darwin -isysroot$(xcrun --show-sdk-path)" false false
419419
420420
if [ "${{ matrix.platform }}" = "macos-11" ]; then

0 commit comments

Comments
 (0)