mirror of
https://github.com/Xahau/xahaud.git
synced 2026-06-04 01:06:37 +00:00
ci(deps): apply Wno-missing-template-arg-list workaround to Linux clang
grpc 1.50.1 hits -Werror=missing-template-arg-list-after-template-kw on clang-19+. macOS clang already had this workaround in the conan profile; mirror it to the Linux branch, gated on compiler==clang.
This commit is contained in:
@@ -116,6 +116,14 @@ runs:
|
||||
[conf]
|
||||
tools.build:compiler_executables={"c": "/usr/bin/${{ inputs.cc }}", "cpp": "/usr/bin/${{ inputs.cxx }}"}
|
||||
EOF
|
||||
|
||||
# gRPC 1.50.1 trips clang-19+ -Werror=missing-template-arg-list-after-template-kw.
|
||||
# Same workaround as the macOS branch below, but only for clang where the flag exists.
|
||||
if [ "${{ inputs.compiler }}" = "clang" ]; then
|
||||
cat >> ~/.conan2/profiles/default <<EOF
|
||||
tools.build:cxxflags=["-Wno-missing-template-arg-list-after-template-kw"]
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
|
||||
# Add macOS-specific conf if needed
|
||||
|
||||
Reference in New Issue
Block a user