We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b90a5a9 + 8782fb2 commit fbd0685Copy full SHA for fbd0685
1 file changed
test/build_size_test.sh
@@ -15,7 +15,10 @@ EXTRA_BUILD_ARGS="${@:-}"
15
# TODO(#8357): Remove -Wno-int-in-bool-context
16
# TODO: Replace -ET_HAVE_PREAD=0 with a CMake option.
17
# FileDataLoader used in the size_test breaks baremetal builds with pread when missing.
18
-COMMON_CXXFLAGS="-fno-exceptions -fno-rtti -Wall -Werror -Wno-int-in-bool-context -DET_HAVE_PREAD=0"
+# -Werror=maybe-uninitialized causes failures with GCC 9.5, which we
19
+# -currently use in CI. There were known issues with this warning and
20
+# -std::optional: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635
21
+COMMON_CXXFLAGS="-fno-exceptions -fno-rtti -Wall -Werror -Wno-int-in-bool-context -Wno-maybe-uninitialized -DET_HAVE_PREAD=0"
22
23
cmake_install_executorch_lib() {
24
echo "Installing libexecutorch.a"
0 commit comments