Skip to content

Commit 00b16bd

Browse files
committed
ci: try to silent some warnings for hip build
Signed-off-by: Molly Sophia <mollysophia379@gmail.com>
1 parent a97aa19 commit 00b16bd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ if (RWKV_ALL_WARNINGS)
9999
-Wstrict-prototypes
100100
-Wpointer-arith
101101
-Wno-unused-function
102+
-Wno-ignored-attributes
102103
)
103104
set(cxx_flags
104105
-Wall
@@ -108,6 +109,7 @@ if (RWKV_ALL_WARNINGS)
108109
-Wno-unused-function
109110
-Wno-multichar
110111
-Wno-nonnull
112+
-Wno-ignored-attributes
111113
)
112114
else()
113115
set(c_flags

0 commit comments

Comments
 (0)