diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 6839a67a3..cae7da9ae 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -58,6 +58,10 @@ jobs: -DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DREQUIRED_LLVM_TOOLING_VERSION=16 \ + -DLLVM_ENABLE_RUNTIMES=libunwind \ + -DLIBCXXABI_USE_LLVM_UNWINDER=YES \ + -DLIBCXX_USE_COMPILER_RT=YES \ + -DLIBCXXABI_USE_COMPILER_RT=YES \ ../ytsaurus-cpp-sdk export CCACHE_BASEDIR="$(realpath ..)" diff --git a/clang.toolchain b/clang.toolchain index 946fadfd1..0cc02ba4e 100644 --- a/clang.toolchain +++ b/clang.toolchain @@ -12,4 +12,4 @@ set(CMAKE_SHARED_LINKER_FLAGS -fuse-ld=lld-16) set(CMAKE_POSITION_INDEPENDENT_CODE On) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++20 -stdlib=libc++ -lpthread") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++20 -stdlib=libc++ -lpthread -rtlib=compiler-rt")