Skip to content

Commit 6de0e5f

Browse files
achernyamcy
authored andcommitted
Enable SIMD flags on clang
1 parent de79842 commit 6de0e5f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

copts.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ CWISS_LLVM_TEST_FLAGS = [
130130
"-Wno-used-but-marked-unused",
131131
"-Wno-zero-as-null-pointer-constant",
132132
"-Wno-gnu-zero-variadic-macro-arguments",
133+
# Make sure we get all the SIMD features on tests with Clang.
134+
"-march=native",
133135
]
134136

135137
CWISS_MSVC_FLAGS = [

0 commit comments

Comments
 (0)