Skip to content

Commit

Permalink
Try to fix MacOS x64 build failure
Browse files Browse the repository at this point in the history
Ref #36
  • Loading branch information
animetosho committed Nov 13, 2024
1 parent cafca0d commit f94ea31
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,17 @@ jobs:
steps:
- uses: ConorMacBride/install-package@v1
with:
brew: automake llvm
# LLVM 18 introduced incompatible change with stock libc++ [https://github.com/Homebrew/homebrew-core/issues/178435#issuecomment-2270106398]
brew: automake llvm@17
# force past "The `brew link` step did not complete successfully"
continue-on-error: true
- run: |
if [ -f "`brew --prefix llvm`/bin/clang" ]; then
echo "CC=`brew --prefix llvm`/bin/clang" >> $GITHUB_ENV
echo "CXX=`brew --prefix llvm`/bin/clang++" >> $GITHUB_ENV
echo "LDFLAGS=-L`brew --prefix llvm`/lib -Wl,-rpath,`brew --prefix llvm`/lib" >> $GITHUB_ENV
echo "CFLAGS=-I`brew --prefix llvm`/include" >> $GITHUB_ENV
echo "CXXFLAGS=-I`brew --prefix llvm`/include" >> $GITHUB_ENV
fi
- uses: actions/checkout@v3
- run: aclocal && automake --warnings=all --add-missing && autoconf --warnings=all
Expand Down

0 comments on commit f94ea31

Please sign in to comment.