We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0394205 commit c62e0a2Copy full SHA for c62e0a2
test/build_size_test.sh
@@ -13,7 +13,9 @@ source "$(dirname "${BASH_SOURCE[0]}")/../.ci/scripts/utils.sh"
13
14
EXTRA_BUILD_ARGS="${@:-}"
15
# TODO(#8357): Remove -Wno-int-in-bool-context
16
-COMMON_CXXFLAGS="-fno-exceptions -fno-rtti -Wall -Werror -Wno-int-in-bool-context"
+# 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"
19
20
cmake_install_executorch_lib() {
21
echo "Installing libexecutorch.a"
0 commit comments