File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -101,17 +101,13 @@ jobs:
101101 echo "PATH=$(brew --prefix llvm)/bin:$(brew --prefix gcc)/bin:$PATH" >> $GITHUB_ENV
102102 echo "PYTHONPATH=$(brew --prefix llvm)/lib/python3.13/site-packages" >> $GITHUB_ENV
103103 echo "SDKROOT=$(xcrun --show-sdk-path)" >> $GITHUB_ENV
104+ echo "LDFLAGS=-L$(brew --prefix llvm)/lib/c++ -L$(brew --prefix llvm)/lib/unwind" >> $GITHUB_ENV
104105
105106 - name : Add clang CXXFLAGS
106107 if : ${{ matrix.cxx == 'clang++' }}
107108 run : |
108109 echo "CXXFLAGS=-stdlib=libc++" >> $GITHUB_ENV
109110
110- - name : Add clang LDFLAGS for macos to link against brew's libc++
111- if : ${{ contains(matrix.os, 'macos') && contains(matrix.cxx, 'clang') }}
112- run : |
113- echo "LDFLAGS=-L$(brew --prefix llvm)/lib/c++ -L$(brew --prefix llvm)/lib/unwind -lunwind" >> $GITHUB_ENV
114-
115111 - name : Build h5
116112 run : |
117113 cmake -S . -B build -G Ninja -DCMAKE_INSTALL_PREFIX=$HOME/install -DBuild_Documentation=${{ matrix.doc }}
You can’t perform that action at this time.
0 commit comments