Skip to content

Commit 918a0cc

Browse files
authored
Fix missing -c option in AVX512 test
1 parent 0db9c03 commit 918a0cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c_check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ if (($architecture eq "x86") || ($architecture eq "x86_64")) {
232232
($fh,$tmpf) = tempfile( UNLINK => 1 );
233233
$code = '"vbroadcastss -4 * 4(%rsi), %zmm2"';
234234
print $tmpf "#include <immintrin.h>\n\nint main(void){ __asm__ volatile($code); }\n";
235-
$args = " -march=skylake-avx512 -o $tmpf.o -x c $tmpf";
235+
$args = " -march=skylake-avx512 -c -o $tmpf.o -x c $tmpf";
236236
my @cmd = ("$compiler_name $args >/dev/null 2>/dev/null");
237237
system(@cmd) == 0;
238238
if ($? != 0) {

0 commit comments

Comments
 (0)