Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
openblas.32522
Fix-checks-for-AVX512-and-atomics.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Fix-checks-for-AVX512-and-atomics.patch of Package openblas.32522
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> Date: Wed Mar 23 15:48:58 2022 +0100 Subject: Fix checks for AVX512 and atomics Patch-mainline: Not yet Git-repo: https://github.com/xianyi/OpenBLAS Git-commit: c87a4dbf35c809ebe6bc88c7d8dce8f2e7b135ea References: Signed-off-by: Egbert Eich <eich@suse.de> --- c_check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c_check b/c_check index 999f5a7a..e10ddfeb 100644 --- a/c_check +++ b/c_check @@ -254,7 +254,7 @@ if (($architecture eq "x86") || ($architecture eq "x86_64")) { # $tmpf = new File::Temp( UNLINK => 1 ); ($fh,$tmpf) = tempfile( SUFFIX => '.c' , UNLINK => 1 ); $code = '"vbroadcastss -4 * 4(%rsi), %zmm2"'; - print $tmpf "#include <immintrin.h>\n\nint main(void){ __asm__ volatile($code); }\n"; + print $fh "#include <immintrin.h>\n\nint main(void){ __asm__ volatile($code); }\n"; $args = " -march=skylake-avx512 -c -o $tmpf.o $tmpf"; if ($compiler eq "PGI") { $args = " -tp skylake -c -o $tmpf.o $tmpf"; @@ -278,7 +278,7 @@ if ($data =~ /HAVE_C11/) { $c11_atomics = 0; } else { ($fh,$tmpf) = tempfile( SUFFIX => '.c' , UNLINK => 1 ); - print $tmpf "#include <stdatomic.h>\nint main(void){}\n"; + print $fh "#include <stdatomic.h>\nint main(void){}\n"; $args = " -c -o $tmpf.o $tmpf"; my @cmd = ("$compiler_name $flags $args >/dev/null 2>/dev/null"); system(@cmd) == 0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor