diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de1da82..a4482dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -91,12 +91,6 @@ jobs: echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV echo "PATH=$PATH" >> $GITHUB_ENV - - name: add clang cxxflags - if: ${{ contains(matrix.cxx, 'clang') }} - run: | - echo "PATH=/usr/local/opt/llvm/bin:$PATH" >> $GITHUB_ENV - echo "CXXFLAGS=-stdlib=libc++" >> $GITHUB_ENV - - name: Build doxygen if: matrix.doc == 'ON' env: @@ -110,10 +104,16 @@ jobs: git checkout Release_1_10_0 mkdir build cd build - cmake .. -Duse_libclang=ON + cmake .. -Duse_libclang=ON -Dstatic_libclang=ON -Duse_libc++=OFF -DLLVM_ROOT=/usr/lib/llvm-15/lib/cmake/llvm -DClang_ROOT=/usr/lib/llvm-15/lib/cmake/clang make -j 2 VERBOSE=1 make install + - name: add clang cxxflags + if: ${{ contains(matrix.cxx, 'clang') }} + run: | + echo "PATH=/usr/local/opt/llvm/bin:$PATH" >> $GITHUB_ENV + echo "CXXFLAGS=-stdlib=libc++" >> $GITHUB_ENV + - name: Build itertools env: CC: ${{ matrix.cc }}