Skip to content

Commit d7a38a5

Browse files
authored
ROCm: Remove -Wno-interference-size compiler flag (microsoft#24326)
hipClang does not support -Wno-interference-size. Hence remove the option to avoid build error.
1 parent 0acb048 commit d7a38a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,6 +1267,7 @@ function(onnxruntime_set_compile_flags target_name)
12671267
# Unsupported by Clang 18 yet.
12681268
list(REMOVE_ITEM ORT_HIP_WARNING_FLAGS -Wno-dangling-reference)
12691269

1270+
list(REMOVE_ITEM ORT_HIP_WARNING_FLAGS -Wno-interference-size)
12701271
# float16.h:90:12: error: ‘tmp’ is used uninitialized
12711272
list(APPEND ORT_HIP_WARNING_FLAGS -Wno-uninitialized)
12721273
list(APPEND ORT_HIP_WARNING_FLAGS -Wno-deprecated-copy)

0 commit comments

Comments
 (0)