From: gxw Date: Mon, 10 Feb 2020 11:11:45 +0000 (+0800) Subject: Avoid printing the following information on mips and mips64 when check msa: X-Git-Tag: upstream/0.3.21~29^2~30^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=754433f4208832d14119b398e8dd46fbc448a828;p=platform%2Fupstream%2Fopenblas.git Avoid printing the following information on mips and mips64 when check msa: "unrecognized command line option ‘-mmsa’" --- diff --git a/c_check b/c_check index fbd1838..555b2ec 100644 --- a/c_check +++ b/c_check @@ -195,7 +195,7 @@ if (($architecture eq "mips") || ($architecture eq "mips64")) { print $tmpf "void main(void){ __asm__ volatile($code); }\n"; $args = "$msa_flags -o $tmpf.o $tmpf"; - my @cmd = ("$compiler_name $args"); + my @cmd = ("$compiler_name $args >/dev/null 2>/dev/null"); system(@cmd) == 0; if ($? != 0) { $have_msa = 0;