Skip to content

Commit c923854

Browse files
committed
[libspirv] Re-enable warning suppression
This was fixed upstream but libspirv still has examples of code which trigger the warning. Re-suppress the warning for now until the offending code is fixed.
1 parent 450b238 commit c923854

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libclc/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,8 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
569569
list( APPEND spirv_build_flags
570570
-I${CMAKE_CURRENT_SOURCE_DIR}/generic/include
571571
-I${CMAKE_CURRENT_SOURCE_DIR}/libspirv/include/
572+
# FIXME: Fix libspirv to not require disabling this noisy warning
573+
-Wno-bitwise-conditional-parentheses
572574
)
573575

574576
add_libclc_builtin_set(

0 commit comments

Comments
 (0)