Skip to content

Commit 9d3dc91

Browse files
committed
fix: use correct lld@19 config for macos, see also #215
1 parent 0cf7af9 commit 9d3dc91

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,10 @@ jobs:
153153
if: matrix.config.os == 'macos'
154154
run: |
155155
brew update
156-
# TODO annotate with lld@19, after that is accepted, we don't want to use lld@20 without manually updating it !
157-
brew install llvm@19 lld
158-
echo "$(brew --prefix)/opt/llvm/bin" >> $GITHUB_PATH
159-
echo "LDFLAGS=-L$(brew --prefix)/opt/llvm/lib -L$(brew --prefix)/opt/llvm/lib/c++ -Wl,-rpath,$(brew --prefix)/opt/llvm/lib/c++" >> "$GITHUB_ENV"
160-
echo "CPPFLAGS=-I$(brew --prefix)/opt/llvm/include" >> "$GITHUB_ENV"
156+
brew install llvm@19 lld@19
157+
echo "$(brew --prefix)/opt/llvm@19/bin:$(brew --prefix)/opt/lld@19/bin" >> $GITHUB_PATH
158+
echo "LDFLAGS=-L$(brew --prefix)/opt/llvm@19/lib -L$(brew --prefix)/opt/llvm@19/lib/c++ -Wl,-rpath,$(brew --prefix)/opt/llvm@19/lib/c++ -L$(brew --prefix)/opt/lld@19/lib" >> "$GITHUB_ENV"
159+
echo "CPPFLAGS=-I$(brew --prefix)/opt/llvm@19/include -I$(brew --prefix)/opt/lld@19/include" >> "$GITHUB_ENV"
161160
echo "CC=clang" >> "$GITHUB_ENV"
162161
echo "CXX=clang++" >> "$GITHUB_ENV"
163162
echo "OBJC=clang" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)