File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,14 @@ jobs:
3939 echo "CXX=$(brew --prefix llvm@20)/bin/clang++" >> $GITHUB_ENV
4040 if : ${{ matrix.compiler == 'llvm-20' && (matrix.os == 'macos-14' || matrix.os == 'macos-15') }}
4141
42- - name : Use LLVM and Clang
42+ - name : Install LLVM and Clang (Ubuntu)
4343 run : |
44+ wget https://apt.llvm.org/llvm.sh
45+ chmod +x llvm.sh
46+ sudo ./llvm.sh 20
4447 echo "CC=clang-20" >> $GITHUB_ENV
4548 echo "CXX=clang++-20" >> $GITHUB_ENV
46- if : ${{ matrix.compiler == 'llvm-20' && ( matrix.os != 'macos-14' && matrix.os ! = 'macos-15') }}
49+ if : ${{ matrix.compiler == 'llvm-20' && matrix.os = = 'ubuntu-latest' }}
4750
4851 - name : Use GCC
4952 run : |
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
4444 target_compile_options (c++spec INTERFACE -Wno-missing-template-arg-list-after-template-kw -Wno-dollar-in-identifier-extension )
4545endif ()
4646
47+ if (APPLE )
48+ target_compile_definitions (c++spec INTERFACE _LIBCPP_DISABLE_AVAILABILITY_ANNOTATIONS=1 )
49+ endif ()
50+
4751FILE (GLOB_RECURSE c++spec_headers ${CMAKE_CURRENT_LIST_DIR} /include/*.hpp )
4852
4953option (CPPSPEC_PRECOMPILE_HEADERS "Precompile the C++Spec headers" )
You can’t perform that action at this time.
0 commit comments