Skip to content

Commit 3aefd01

Browse files
committed
zephyr: stop suppressing double-promotion warnings
The vendored C10 rsqrt helper now performs its calculation in float precision, so Zephyr builds no longer need to disable this warning. AI-assisted by Codex. Change-Id: Ie4bfce34167645f8f330298678ee8b0b565d181d Signed-off-by: Per Held <per.held@arm.com>
1 parent 65aacaa commit 3aefd01

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎zephyr/samples/hello-executorch/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ find_package(
6262
)
6363

6464
set(CMAKE_CXX_FLAGS
65-
"${CMAKE_CXX_FLAGS} -Wall -Wno-switch -Wno-float-conversion -Wno-double-promotion -ffunction-sections -fdata-sections"
65+
"${CMAKE_CXX_FLAGS} -Wall -Wno-switch -Wno-float-conversion -ffunction-sections -fdata-sections"
6666
)
6767

6868
# Always use selective build since embedded devices are resource constrained

‎zephyr/samples/mv2-ethosu/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ endif()
109109
project(executorch_mv2_ethosu)
110110

111111
set(CMAKE_CXX_FLAGS
112-
"${CMAKE_CXX_FLAGS} -Wall -Wno-switch -Wno-float-conversion -Wno-double-promotion -ffunction-sections -fdata-sections"
112+
"${CMAKE_CXX_FLAGS} -Wall -Wno-switch -Wno-float-conversion -ffunction-sections -fdata-sections"
113113
)
114114

115115
if(NOT DEFINED EXECUTORCH_DIR)

0 commit comments

Comments
 (0)