PSTL contains many pragmas that request loop vectorization, which would
produce a warning when the compiler is unable to fulfill the request (if
`-Wpass-failed` is enabled). This is normal and expected in some cases,
and we don't want `-Werror` to turn that into a compilation failure.
Differential Revision: https://reviews.llvm.org/
D157145
(cherry picked from commit
1d340250a894b6ec956e2145b2fc7babbf83e61b)
# Disable warnings for extensions used in C++03
"-Wno-local-type-template-args",
"-Wno-c++11-extensions",
+
+ # Don't fail compilation in case the compiler fails to perform the requested
+ # loop vectorization.
+ "-Wno-pass-failed",
]
_allStandards = ["c++03", "c++11", "c++14", "c++17", "c++20", "c++23", "c++26"]