OSDN Git Service

[Chore] clangでのccache用のキャッシュ生成にlibc++を使用する
authorHabu <habu1010+github@gmail.com>
Wed, 20 Dec 2023 14:10:49 +0000 (23:10 +0900)
committerHabu <habu1010+github@gmail.com>
Wed, 20 Dec 2023 14:15:11 +0000 (23:15 +0900)
PR #3689 にて clang++-14 と libstdc++ の組み合わせでのコンパイルエラーに
対処したが、その時にccache用のキャッシュ生成のWorkflowに同じ修正を行う
ことを忘れていた。

.github/workflows/create-cache-for-ccache.yml

index d2cbd71..3c446a7 100644 (file)
@@ -14,7 +14,7 @@ jobs:
     uses: ./.github/workflows/build-with-autotools.yml
     with:
       cxx: clang++-14
-      cxx-flags: "-pipe -O3 -Werror -Wall -Wextra -Wno-unused-const-variable -Wno-invalid-source-encoding"
+      cxx-flags: "-pipe -O3 -Werror -Wall -Wextra -Wno-unused-const-variable -Wno-invalid-source-encoding -stdlib=libc++"
       configure-opts: "--disable-pch"
       use-ccache: true